|
Cookbook /
XMLPageStoreSummary: Store pages as XML files
Version: 2011-09-15
Prerequisites:
Status: Beta
Maintainer: Anomen
Categories: Administration, CustomPageStore
Discussion: XMLPageStore-Talk?
Questions answered by this recipeStore pages as XML. Advantages:
DescriptionThe XMLPageStore.phpΔ script stores pmwiki pages into xml files in the wiki.d/ directory. InstallationTo use this script, simply place it in your cookbook directory and add the following lines to local/config.php:
$EnablePageStoreXML = 1;
include_once('cookbook/XMLPageStore.php');
$WikiDir = new XMLPageStore('wiki.d/{$FullName}');
There's no need to convert or modify your existing pages; xmlpagestore.php can read existing pages without any difficulty. As pages are edited and saved, they will be then saved as XML files in wiki.d/. Please make sure the above cookbook script is loaded before other scripts. ConfigurationUse UsageNotesChange log / Release notes
See alsoContributors
CommentsSee discussion at XMLPageStore-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. |