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

Re: Debian WWW standards version 2.0



[ Please don't Cc: me when replying to my message on a mailing list. ]

Andy Guy:
> man2html does a good job of this, it parses the source and also adds
> in extra links for various things - why don't you intergrate man2html
> with dwww?

I want something simpler that I can trust. I don't trust
programs that return random exit codes. (man2html uses "void
main", which means the exit code is random, and usually not
0.) The code is too big for me to review it properly, which
means I can't modify it with any degree of comfort. It's more
efficient for me to write a small filter to do most of the job:
dwww-txt2html.c is 230 lines, about 50 of which are specific
to manual pages. The rest is needed for plain text files anyway.

man2html also doesn't support non-English manual pages,
but that's not really a problem, since dwww looks for the
page with man anyway.  It outputs a reply to an HTTP request,
making it unusable as a dwww filter, but that could be fixed
(though not by me).

dwww has an easy way to override my simpler program, because
except for minor stupidities, man2html isn't not a bad program.

-- 
Please read <http://www.iki.fi/liw/mail-to-lasu.html> before mailing me.
Please don't Cc: me when replying to my message on a mailing list.


Attachment: pgpgikk1I1yfh.pgp
Description: PGP signature


Reply to: