|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: man2html and postlink
Subject: Re: man2html and postlink
From: Wietse Venema (wietse
porcupine.org)
Date: Mon Jan 03 2000 - 09:16:13 CST
- Next message: Wietse Venema: "Re: LDAP lookup & virtual domains"
- Previous message: Stephane Cottin: "Re: LDAP lookup & virtual domains"
- In reply to: Matthias Andree: "Re: man2html and postlink"
- Next in thread: Matthias Andree: "Re: man2html and postlink"
- Reply: Wietse Venema: "Re: man2html and postlink"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
I can remove the empty head section. I wasn't aware that title is
required.
I won't make other changes. What is this DOCTYPE stuff anyway, I
thought this is HTML not SGML.
Wietse
Matthias Andree:
> wietse
porcupine.org (Wietse Venema) writes:
>
> > man2html and postlink are ad-hoc scripts that aren't in a form for
> > public distribution. Although it is cute to see how it creates
> > hyperlinks even when words are hyphenated.
> >
> > What is there to fix? weblint is way too pedantic to my taste.
>
> $ weblint *.[1-9].html | cut -f2 -d: | sort | uniq
> empty container element <HEAD>.
> no <TITLE> in HEAD element.
>
> $ echo *.[1-9].html | xargs -n 1 nsgmls -s -m /usr/X11R6/lib/xemacs-20.4/etc/sgml//CATALOG /usr/X11R6/lib/xemacs-20.4/etc/sgml/html.decl 2>&1 | cut -d: -f6- | sort | uniq
> end tag for "HEAD" which is not finished
> no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"
>
> Your man2html should therefore at least reflect the title in a <title>
> tag. A proper <!DOCTYPE> would be nice as well.
>
> --
> Matthias Andree
>
> Hi! I'm the infamous .signature virus!
> Copy me into your ~/.signature to help me spread!
>
>
>
- Next message: Wietse Venema: "Re: LDAP lookup & virtual domains"
- Previous message: Stephane Cottin: "Re: LDAP lookup & virtual domains"
- In reply to: Matthias Andree: "Re: man2html and postlink"
- Next in thread: Matthias Andree: "Re: man2html and postlink"
- Reply: Wietse Venema: "Re: man2html and postlink"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Mon Jan 03 2000 - 09:18:56 CST