[Dovecot] Wiki to doc/ in tarball
So I finally started building a script that does it. Anyone interested in helping with it so that it produces readable output?
First step is getting raw wiki pages. I'll do this directly by getting them from the filesystem. You can get them from here: http://dovecot.org/tmp/wikipages.tar.gz
Next there's http://dovecot.org/tmp/wiki2txt.pl which is my horrible Perl script that kind of works now to produce almost readable text files. Its current output is in http://dovecot.org/tmp/wikitxt.tar.gz
One thing I'm wondering about is how to make the directory layout work. For example there is "UserDatabase" and "UserDatabase/Static" pages. Currently I'm placing the latter into "_UserDatabase/Static" but I don't think that's the best solution.
I was thinking about adding some "include" and "exclude" lists. If a page is in excluce list it's skipped. If it's in neither list it prints a warning but still includes it. So this makes it easy to find out the new pages and figure out if they should be included in the documentation.
So I finally started building a script that does it. Anyone interested in helping with it so that it produces readable output?
I've looked a little at this problem, did you see:
It's GPL licensed.
j
On Thu, 2007-02-15 at 18:37 +0200, Timo Sirainen wrote:
Next there's http://dovecot.org/tmp/wiki2txt.pl which is my horrible Perl script that kind of works now to produce almost readable text files. Its current output is in http://dovecot.org/tmp/wikitxt.tar.gz
Why don't you use MoinMoin's text/plain formatter?
Try http://wiki.dovecot.org/SomePage?action=format;mimetype=text/plain
to see how the output looks like. If that doesn't suit you it can be modified quite easily. And then there's the moinmoin command line interface that should allow dumping.
johannes
participants (3)
-
Johannes Berg
-
John Gateley
-
Timo Sirainen