Revision [16230]

This is an old revision of FileexportActionInfo made by DomBonj on 2007-02-27 17:36:47.

 

Fileexport Action Documentation

Not included in official Wikka version

This is the documentation page for the Fileexport action.
 

Documentation


Short description
Exports a selection of wiki pages to an HTML or XML file.

Parameters
nametyperequired?defaultdescription
typestringoptionalhtmlAllowed values are 'html' and 'xml'
sortstringoptionaltagSort order of selected pages. Allowed values are 'tag' (sort on page tag), 'title' (sort on page title) and 'time' (sort on timestamp of last update)
optsstringoptionalOptions: any combination of 'o' (others=include pages owned by others) and 'p' (public=include public (i.e. system) pages)
catsstringoptionalSelect only pages belonging to any of the specified categories, passed as a list of Cat1, Cat2...

Long description
This action displays on the page an hyperlink for downloading a one-file collection of selected wiki pages. The format and the content of the exported file can be controlled as follows:

The XML file format complies with the following DTD:

<!ELEMENT wikka (page*)>
<!ELEMENT page (owner, category*, title, raw_content, rendered_content)>
<!ATTLIST page tag ID #REQUIRED>
<!ATTLIST page lastchange CDATA #REQUIRED>
<!-- ISO-8601 YYYY-MM-DDThh:mm:ss format-->
<!ELEMENT owner (#PCDATA)>
<!ELEMENT category (#PCDATA)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT raw_content (#PCDATA)>
<!ELEMENT rendered_content (#PCDATA)>


Usage

{{fileexport [type="html"] [sort="tag"] [opts="[o][p]"] [cats="CategoryWiki, CategoryUsers"]}}


To-do, bugs and limitations


Author
DomBonj


CategoryDocumentation
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki