NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
what a coincidence! (Score:1)
It took me some time to get familiar with Trac internals and relearning how to do the most simple things in Python (as I have not used that language for a very long time), but in the end I was able to write a plugin to support POD.
Behind the scenes, it just fed the POD text to pod2wiki and retrofitted the output into the Trac wiki engine. Unfortunately, the result was not too good, some things (i.e. lists) did not render as expected and the document structure went broken.
As I couldn't commit a lot of time to this task at the moment, I went for a different approach, calling pod2html and inserting the generated HTML into the Trac envelop. This respects the document structure but is uglier as the generated HTML doesn't follow Trac style.
I hope I would be able to put some more time in the pod2wiki approach at some point in the near future... until then, the plugin version using pod2html is here [trac-hacks.org].
Reply to This
Re: (Score:1)
If you'd like I can have a look at creating a pod2trac filter based on Pod::Simple::Wiki.
John.
--