Questions regarding my man/info summer project
Andy Shevchenko
andy at smile.org.ua
Wed Jun 20 18:07:40 UTC 2007
Hi Tom Lynema!
On Tue, Jun 19, 2007 at 06:07:51PM -0500, Tom Lynema wrote next:
> Oddly enough, I just started working on a site with similar
> requirements. The bash command I used to convert the man pages to
> WikiMedia markup looked something like this:
> for i in `ls /usr/share/man/man3/*.bz2` ; do bunzip2 -c $i | man2html
> | html2wiki --dialect MediaWiki --encoding iso-8859-1
> --base-uri http://wikux.org --wiki-uri http://wikux.org/
> > /home/lyz/Programming/Web/Wikux.org/man3bz2/$i.wiki ; done
>
> As you can see, the main tools used were man2html and html2wiki.
>
> I never considered going the other way around, but did keep the markup
> results handy so they could be diffed to check for updated pages.
FYI:
The wiki2man project is developing on the
http://wiki2man.sourceforge.net/
P.S. I'm maintaing the man-pages-uk package that core was created by the
wiki2man script.
--
With best regards,
Andy Shevchenko. mailto: andy at smile.org.ua
More information about the fedora-devel-list
mailing list