OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: man2html and postlink

Re: man2html and postlink


Subject: Re: man2html and postlink
From: Matthias Andree (madt.e-technik.uni-dortmund.de)
Date: Mon Jan 03 2000 - 11:10:19 CST


wietseporcupine.org (Wietse Venema) writes:

> man2html is an 8-line SED script that performs simple character
> substitutions. It maintains no state and therefore does not extract
> titles from man pages.

Oh, I did not know it was that lightweight :-) I could look into it and
do a sed or perl program which can extract the title as well if you
wanted me to, without actually revealing the script.

> I can remove the empty head section. I wasn't aware that title is
> required.

I'm not sure if HTML is still valid without <head>...</head>.
 
> I won't make other changes. What is this DOCTYPE stuff anyway, I
> thought this is HTML not SGML.

Sure, but it helps automatic validators and text processing utilities,
amongst others. While I have no idea of SGML either, specifying the
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML whateverversion//EN"> is
recommended by Stefan Münz's "SelfHTML 7.0" which is a German-language
tutorial on HTML, CSS, JavaScript, DHTML, CGI/Perl. Browsing through the
tags used in the faq, I found faq.html to be 3.2 and stated it there.

The reason I actually came up with this fuzz was that my html2ps
converter choked on faq.html and left me with several sections in "all
bold" and a hosed table of contents.

-- 
Matthias Andree

Hi! I'm the infamous .signature virus! Copy me into your ~/.signature to help me spread!



This archive was generated by hypermail 2b27 : Mon Jan 03 2000 - 21:23:24 CST