Strong support for the wonderful Wiki software MoinMoin has always been important to 4Suite, and we have even more significant plans for Amara/Akara. To put it briefly, Wikis are a well known tool for user-generated content, and rather than reinventing too many UGC wheels in Akara, we should rely on a vehicle that already works very well.
Status
Uche has done some exploratory work in using Amara 2.x with MoinMoin 1.8.x. Docbook output ("Render as Docbook") seems to work fine, and has been developed such as to continue to support 4Suite. Simplified Docbook Parsing has been implemented in a way that breaks 4Suite support, and unfortunately does not yet work with Amara.
Trying it out
amara-moinmoin.hgbundle - a patch in the form of a bundled Mercurial changeset against Moin 1.8.
$ hg status M MoinMoin/formatter/text_docbook.py M MoinMoin/parser/text_xslt.py A MoinMoin/formatter/text_docbook_4suite.py A MoinMoin/formatter/text_docbook_akara.py A MoinMoin/parser/sdocbook.py
To use just the best-working code ("Render as Docbook"), only use the following files:
M MoinMoin/formatter/text_docbook.py A MoinMoin/formatter/text_docbook_4suite.py A MoinMoin/formatter/text_docbook_akara.py
The rest will require fixes to Amara's basic XSLT support, and some work to enable that without breaking the 4Suite plug-in.
Render as Docbook
You don't need to do anything, except maybe restart the server. Just go to a page and select the "Render as Docbook" option, or something like: curl "http://localhost:8080/FrontPage?mimetype=text/docbook" .
Parse sdocbook
You'll need to update your wikiconfig as follows:
allow_xslt = True
sdocbook_html_dir = r"/usr/share/amara2/demo/data/"Create a page on your wiki, say http://localhost:8080/DocbookTest. You can use the sdocbook example that comes with Amara:
