[pmwiki-users] Creating the html output
Patrick R. Michaud
pmichaud at pobox.com
Mon Nov 21 10:06:22 CST 2005
On Mon, Nov 21, 2005 at 07:57:24AM +0000, Anno wrote:
> I would like to couple the wiki editing with an exisiting custom cms. As this
> would only be for a couple of coduments, I am aiming for a simple aproach.
> For this I would like to whea a wiki page is saved, to convert the wiki content
> of the page into html and insert it into a database.
> I cover the database part, but the conversion from wiki to html is what bugs me.
> What is the code to do this?
Conversion from wiki to html is handled by the MarkupToHTML() function.
Take a look at PmWiki's HandleBrowse() and PrintWikiPage() functions
for examples of how markup text is converted into HTML output.
To add a custom save routine, add a function to the end of the
More information about the pmwiki-users