XmlExport

Summary: Simple xml export recipe for pmwiki
Version: 20110329Δ
Prerequisites: pmwiki 2.2.xx
Status: mantained
Maintainer: CarlosAB
Categories: Xml, Export
Users: (view? / edit)
Discussion: XmlExport-Talk?

Questions answered by this recipe

How can I export information and markup from a pmwiki page in xml?

Description

A simple wiki page xml exporter.

Installation

Put the file inside PmWiki's root directory and unzip the contents of the zip. The file named xmlexport.php should reside inside The /cookbook folder

Configuration

Very little configuration is needed, you just have to include xmlexport.php from your config.php file with a line like this:

include_once('cookbook/xmlexport.php');

You can use it on a farm, but the xml scheme file will be recorded in './pub/schema/', could not find a solution yet, as the scheme file has to reside within the same hostname as the extracted xml export.

Usage

To activate the xmlexport just use :

PageUrl?action=xmlexport

To record the schema file in your pub folder (don't forget to fix folder authorizations first), the 'action=xmlexportschema' puts a file inside the folder 'pub/schema/' with the name 'xmlexport.xsd' that will be showed to you as a result of the action used.

Notes

No notes for now

Change log / Release notes

20110329Δ - Removed firstedit and firstcontributor fields as it is not natural to pmwiki.
20110221Δ - first release

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See also

Contributors

CarlosAB

Comments

See discussion at XmlExport-Talk?

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.