Extension:XML2Wiki
From MediaWiki.org
|
XML2Wiki Release status: beta |
|||
|---|---|---|---|
| Implementation | Tag, Ajax | ||
| Description | Allows to import xml inside an article. | ||
| Author(s) | Alejandro Darío Simi (DaemonracoTalk) | ||
| Last version | 0.3 (2010-09-04) | ||
| MediaWiki | Tested on 1.15.x and 1.16.x | ||
| License | GPL | ||
| Download | Project page Download snapshot Subversion [Help] |
||
| Example | DAEMonRaco's Wiki | ||
|
|||
|
Check usage (experimental) |
|||
This MediaWiki extension allows a user import a XML file inside an article from a path of the server, or from an uploaded file.
Contents |
[edit] Usage
Using XML2Wiki is quite simple: for example, if you uploaded a xml file called something.xml to your wiki you can show it by adding this code to an article:
<xml2wiki>
file = File:Something.xml
</xml2wiki>
[edit] Options
| Option | Description |
|---|---|
| class | This option specifies one or more CSS classes to be used. This option is related to style table. |
| debug | This option enables debug information[1]. Available values are:
|
| editable | This option enables dynamic edition for style table[2]. Available values are:
|
| file | It's the XML file to be opened, it could be a internal file (this means something like File:somefile.xml) or a full path (it must be an allowed path). |
| showattrs | Allows to show attributes for style list. Available values are:
|
| style | This selects an style to be applied to the XML. This option supports this values:
|
| translator | This is the XML file containing tags translations (it must be an allowed path). |
[edit] Downloads
- Downloads:
- Browse all:
[edit] Installation
- First, download the extension from here. This will give you a tar.gz file.
- Second, extract the tar.gz file inside you mediawiki extensions directory. This will create a folder called xml2wiki-dr.
- Third, add this line at the end of you LocalSettings.php file:
require_once("extensions/xml2wiki-dr/xml2wiki-dr.php");
- Then, enjoy!.
[edit] See also
- Official Site: http://wiki.daemonraco.com/wiki/Xml2wiki-dr
- GoogleCode Project Site: http://code.google.com/p/xml2wiki-dr/
[edit] References
- ↑ Since version 0.3
- ↑ Since version 0.3
- ↑ For SyntaxHighlight Extension visit MediaWiki.org
