Re: [xml2rfc] RfcMarkup not authoritative, HTML is gone?

Henrik Levkowetz <henrik@levkowetz.com> Mon, 16 September 2019 18:18 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1CF68120818 for <xml2rfc@ietfa.amsl.com>; Mon, 16 Sep 2019 11:18:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yfXoW5NaLjoj for <xml2rfc@ietfa.amsl.com>; Mon, 16 Sep 2019 11:18:20 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C956120047 for <xml2rfc@ietf.org>; Mon, 16 Sep 2019 11:18:20 -0700 (PDT)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:56494 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1i9vZq-0002xD-3r; Mon, 16 Sep 2019 11:18:19 -0700
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, Anders Rundgren <anders.rundgren.net@gmail.com>, xml2rfc@ietf.org
References: <94358f7d-3465-4161-1597-f1dbfba73b3f@gmail.com> <d44ac5f1-e4c2-1239-4bea-714a721115b8@levkowetz.com> <9ceb0697-c3ae-4f14-606c-4e089f04e2f2@gmail.com> <a4874a50-ffc3-80f5-cb42-09f82072644c@gmx.de> <04713f10-5c19-2ad5-2fa6-2db5f1ed5599@gmail.com> <f5554cd0-9c74-3a8c-5af9-25b947d499d8@gmx.de> <7bb2a5fb-262d-39b5-3bb0-72e068923ea7@gmail.com> <c3c8db0e-e719-32e6-ca3c-736e25ce8936@gmx.de> <f2f49552-091d-50e4-e2e2-2fdd30cbb7ae@gmail.com> <bd07ad5a-a0a7-f821-54ec-c09ee5614e2a@gmx.de> <d9883584-1d5e-4d34-9bde-00d32dc49435@gmail.com> <599cb714-89e8-271c-4d5e-ba294fa7d3cf@alum.mit.edu> <ee1a1699-a5e3-3c2b-ad53-ff80a120f7eb@gmail.com> <19509146-279f-4fb7-4b44-3feea81e87f9@alum.mit.edu>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <503b3bc4-daf0-cc9b-6fe3-948706db3a76@levkowetz.com>
Date: Mon, 16 Sep 2019 20:18:10 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <19509146-279f-4fb7-4b44-3feea81e87f9@alum.mit.edu>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="upMkNwQ0AdputAXPSOftXknqsrKTkN6o7"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: xml2rfc@ietf.org, anders.rundgren.net@gmail.com, pkyzivat@alum.mit.edu
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/08OC1xNuHc-I4M2qFyFn7JfPktA>
Subject: Re: [xml2rfc] RfcMarkup not authoritative, HTML is gone?
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Sep 2019 18:18:27 -0000

Hi Paul,

On 2019-09-16 17:32, Paul Kyzivat wrote:
> On 9/16/19 10:46 AM, Anders Rundgren wrote:
>> On 2019-09-16 16:27, Paul Kyzivat wrote:
>>> On 9/16/19 1:22 AM, Anders Rundgren wrote:
>>>> On 2019-09-14 11:41, Julian Reschke wrote:
>>>> <snip>
>>>>>
>>>>> RfcMarkup has no official standing (and yes, I like it as well, and it
>>>>> has served us well for a very long time). It apparently generates 
>>>>> XHTML,
>>>>> but the content is served as text/html on tools.ietf.org. It might be
>>>>> good to change it to produce valid HTML5.
>>>>
>>>> This in interesting and but also rather confusing since this is the by
>>>> far most used method for communicating RFCs by developers.
>>>
>>> Do you have any data to backup this claim?
>> 
>> No, OTOH, since I mostly work with JSON-based stuff, the documents are 
>> fairly recent.
> 
> I don't recall every having seen a reference to an RfcMarkup.

rfcmarkup is the script that does the htmlization of text drafts and
rfcs.  I've pulled the interesting bits out as a python lib,
https://pypi.org/project/rfc2html/ .

>> What I'm sure that I have newer seen in wild are references to PDF RFCs 
> 
> Nor have I.
> 
> The most common references I see are to either the "HTMLized" form, the 
> plain text, or the datatracker page.
> 
> Personally I much prefer to work with the HTMLized form. It gives easy 
> ability to jump around in the document, the extra info in the header 
> including links to related tools, etc. and yet the text is almost 
> identical to the plain text form which makes it easy to jump back and 
> forth between a diff and the full document. It is also convenient to cut 
> and paste bits of the document into email. I much prefer this format to 
> the HTML format generated directly from xml.
> 
> When a new version of a document is published, I first pull up the 
> HTMLized format. Then from there I follow the link to open a diff in 
> another tab. That way I can skim the changes and easily refer back to 
> the full document when I need more context.
> 
> I hope that the HTMLized format will continue to be available.

That is my plan, yes.  I see no reason to stop the scripts that does that
job.

> It could 
> however be directly generated from the XML rather than from the 
> plaintext. Generating it from the plaintext sometimes results in defects 
> regarding references.

Yes.  When I can find the time, I thought I'd at least try to do a CSS
stylesheet that applies a style to the v3 html that makes it come out
very close to the htmlized version.

Generating html which has *exactly* the same line breaks as the text output
will require writing a almost completely new formatter that does the text
format line breaking, but inserts the proper links everywhere the regular
HTML v3 renderer does so.  I don't know when, if ever, I'd have that much
time to spare.


Best regards,

	Henrik