On 26 Feb 2008, at 20:33, Jacob Steenhagen wrote:
So, based on my incomplete understanding of the DokuWiki codebase, IMHO the better option (even though it's more work) is to create a plain text renderer and create snippets from that.
I think you would be surprised how little work there would be to create a plain text renderer. I'd hazard a guess you could copy the xhtml renderer strip all the code from just about every method except cdata and you'd pretty well be there. Add in a quick check and probable redo of the link and header methods and you could take the rest of the morning off ;)
- Chris -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist