FW: generated hypertext (HTML) version of RFC2616 [yet again]
Mike Spreitzer (spreitze@parc.xerox.com)
Thu, 12 Aug 1999 13:21:05 PDT
This is a multi-part message in MIME format.
------=_NextPart_000_0060_01BEE4C5.87FFEFA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Attached is that message from Dan Connolly that mysteriously failed to
reach the list.
------=_NextPart_000_0060_01BEE4C5.87FFEFA0
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment
From: "Dan Connolly" <connolly@w3.org>
To: <frystyk@w3.org>
Cc: <http-wg@hplb.hpl.hp.com>,
<gerald@w3.org>,
<eric@w3.org>
Subject: generated hypertext (HTML) version of RFC2616
Date: Sat, 31 Jul 1999 10:06:22 -0700
Message-ID: <37A32D0E.35C1F6DE@w3.org>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.51 [en] (WinNT; U)
X-Accept-Language: en
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Henrik and anybody who's interested...
I'm doing some writing about the HTTP 1.1, and I was frustrated
that I can't make hypertext links to specific sections, and
in general, it's sort of a pain to navigate. So I scratched
the itch with a little perl script.
I just updated
http://www.w3.org/Protocols/
$Id: Overview.html,v 1.169 1999/07/31 16:24:46 connolly Exp $
to point to a hypertext version of the HTTP 1.1 draft standard:
Hypertext Transfer Protocol -- HTTP/1.1
derived from RFC2616 by way of
rfc2html.pl $Revision: 1.5 $ $Date: 1999/07/31 16:45:29 $ by
Dan Connolly
http://www.w3.org/Protocols/rfc2616/rfc2616.html
The generated HTML is split into sections:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec1.html
http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html
...
About the perl script:
==============
http://www.w3.org/Protocols/rfc2616/rfc2html.pl
#!/usr/bin/perl
# $Id: rfc2html.pl,v 1.6 1999/07/31 17:03:21 connolly Exp $
#
# Usage:
# perl rfc2html.pl rfc2616.txt >rfc2616.html
# also creates rfc2616-secN.html for each section N
#
# Features
# splits by section
# marks up paragraphs and definition lists
# marks up section headings with anchors
# marks up TOC with hypertext links
# marks up indendet sections as <pre>
# creates well-formed XML output
#
#
# TODO
# update XML namespace declaration per XHTML spec
# add link types (e.g. rel='bibref')
# markup ul, ol in body text as such rather than as <pre>
# markup references section with links to other RFCs and docs
# generalize &convert() params: title, short title, basename,
bibsection
# for other RFCs
#
# BY
# Dan Connolly <connolly@w3.org>
# http://www.w3.org/People/Connolly/
#
# LICENSE
#
# Copyright (c) 1999 World Wide Web Consortium (W3C,
http://www.w3.org/),
# (Massachusetts Institute of Technology, Institut National de
# Recherche en Informatique et en Automatique, Keio University). All
# Rights Reserved.
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee or
# royalty is hereby granted, per the terms and conditions in
#
# W3C Intellectual Property Notice and Legal Disclaimers
# http://www.w3.org/COPYRIGHT
# 1999/07/28 13:54:29
==============
--
Dan Connolly, W3C
http://www.w3.org/People/Connolly/
------=_NextPart_000_0060_01BEE4C5.87FFEFA0--