wicked cli script and patches
Vijay Mahrra <[email protected]> Wed, 17 Nov 2004 17:21:20 +0100
| Newsgroups | gmane.comp.horde.wicked |
|---|---|
| Message-ID | <[email protected]> |
this is a script to add the following: 1) a "create page" button for when search results are displayed for PageSearch or TitleSearch 2) a patch to Page::getPage() to tidy up the the empty() calls at the end of the function 3) a new method getPage() in the driver to get a single page only (return value same as getAllPages) 4) a cli script for wicked which currently does the following: a) list all page titles b) retrieve a single page or all pages (pages only, not attachments) AND c) output the results in (html entitities) escaped xml like this for each page: <wicked:wikipage> <wicked:page_name>SandBox</wicked:page_name> <wicked:page_text> This is the sandbox. You can try out Wiki in here, and no one will care :) For reference, you might want to visit HowToUseWiki, WickedTextFormat or AddingPages. </wicked:page_text> <wicked:page_hits>30</wicked:page_hits> <wicked:page_locked>0</wicked:page_locked> <wicked:page_majorversion>1</wicked:page_majorversion> <wicked:page_minorversion>4</wicked:page_minorversion> <wicked:version_created>1100622478</wicked:version_created> <wicked:change_author>[email protected]</wicked:change_author> <wicked:change_log></wicked:change_log> <wicked:locked></wicked:locked> </wicked:wikipage> if this is ok, other features will need to be added, such as import xml :) perhaps outputting each wiki page as an email with attachments is a better idea vijay -- wicked mailing list - Join the hunt: http://horde.org/bounties/#wicked Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]