Re: [Tools-discuss] Alternate bibxml servers

Carsten Bormann <cabo@tzi.org> Sat, 13 February 2021 19:18 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96CA13A0B54 for <tools-discuss@ietfa.amsl.com>; Sat, 13 Feb 2021 11:18:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 dhBKHDldj7Or for <tools-discuss@ietfa.amsl.com>; Sat, 13 Feb 2021 11:18:08 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 861093A0AF8 for <tools-discuss@ietf.org>; Sat, 13 Feb 2021 11:18:08 -0800 (PST)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4DdKrs43XjzyQp; Sat, 13 Feb 2021 20:18:05 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <5539.1613240250@localhost>
Date: Sat, 13 Feb 2021 20:18:05 +0100
Cc: tools-discuss <tools-discuss@ietf.org>
X-Mao-Original-Outgoing-Id: 634936684.994048-f9ee1ac41fbfd8527a436342a90656a5
Content-Transfer-Encoding: quoted-printable
Message-Id: <4628E2FC-F656-4C3E-978A-0623CE813567@tzi.org>
References: <C066553A-8CBC-490C-87BB-AF03E529B6DA@tzi.org> <4E14925B-EFF3-4459-AB0E-4ED278F75A5C@tzi.org> <5539.1613240250@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/Ypgqtv6DvzhyBAxavVHWrJz4IyA>
Subject: Re: [Tools-discuss] Alternate bibxml servers
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Feb 2021 19:18:13 -0000

On 2021-02-13, at 19:17, Michael Richardson <mcr+ietf@sandelman.ca> wrote:
> 
> Signed PGP part
> 
> Carsten Bormann <cabo@tzi.org> wrote:
>> (4) … and the link given there,
>> http://www.ietf.org/internet-drafts/draft-ietf-ace-aif-00.txt, is 404
>> (that would need to be the archive/id link now).
> 
> Based upon the policy for IDs, and the lack of a redirect, and that, in my
> draft, I can't predict when you'll update your draft, I think that all such
> links in IDs need to point to archive/id by default.

… which I thought already was the case (with an https URL).
Apparently it is not with the datatracker-generated links.

Let’s try that with a superseded draft:

$ curl -s https://datatracker.ietf.org/doc/bibxml3/draft-ietf-ace-aif-00/xml | tail -2
   <format type="TXT" target="https://www.ietf.org/internet-drafts/draft-ietf-ace-aif-00.txt" />
</reference>

Fine reference bibxml.
Let’s dereference the target in that:

$ curl -s https://www.ietf.org/internet-drafts/draft-ietf-ace-aif-00.txt | tail -2
<p>The document has moved <a href="https://www.ietf.org/id/draft-ietf-ace-aif-00.txt">here</a>.</p>
</body></html>

OK, thank you for the hint, let’s get *that*:

$ curl -I https://www.ietf.org/id/draft-ietf-ace-aif-00.txt
HTTP/2 404
[…]

Do I now have to pile on another emergency patch to fix the datatracker links?
🤦‍♂️.

> {That's too bad from a SEO point of view, but effectively the result
> is that google is never gonna pick www.ietf.org/internet-draft/foo.}

archive/id is the stable URL [1].  The temporary ones should never be used.

Grüße, Carsten

[1]: https://www.w3.org/Provider/Style/URI.html
"Cool URIs don't change"