[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Questions regarding my man/info summer project



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 smile org ua



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]