Re: [xml2rfc] Cannot Fetch DOI citation

Kesara Rathnayake <kesara@staff.ietf.org> Tue, 07 June 2022 23:49 UTC

Return-Path: <kesara@staff.ietf.org>
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 68BA4C157B39 for <xml2rfc@ietfa.amsl.com>; Tue, 7 Jun 2022 16:49:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.784
X-Spam-Level:
X-Spam-Status: No, score=-3.784 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-1.876, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XLq_EHPWy3rO for <xml2rfc@ietfa.amsl.com>; Tue, 7 Jun 2022 16:49:50 -0700 (PDT)
Received: from ietfx.amsl.com (ietfx.amsl.com [50.223.129.196]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5886C1527AF for <xml2rfc@ietf.org>; Tue, 7 Jun 2022 16:49:50 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by ietfx.amsl.com (Postfix) with ESMTP id 85DBC432F89D; Tue, 7 Jun 2022 16:49:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from ietfx.amsl.com ([50.223.129.196]) by localhost (ietfx.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hw4DuAQfuUco; Tue, 7 Jun 2022 16:49:50 -0700 (PDT)
Received: from [192.168.1.87] (122-58-156-70-adsl.sparkbb.co.nz [122.58.156.70]) by ietfx.amsl.com (Postfix) with ESMTPSA id F00BA4301432; Tue, 7 Jun 2022 16:49:49 -0700 (PDT)
Message-ID: <52798340-8127-00e2-efda-37b42f999fb2@staff.ietf.org>
Date: Wed, 08 Jun 2022 11:49:48 +1200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.0
Content-Language: en-NZ
To: Armando Faz <armfazh=40cloudflare.com@dmarc.ietf.org>, xml2rfc@ietf.org
References: <CABZxKYn4hn082jMy7-vMF+BAYWS8ivMSFhRjxPScxsQOqmUXWQ@mail.gmail.com>
From: Kesara Rathnayake <kesara@staff.ietf.org>
Organization: IETF Administration LLC
In-Reply-To: <CABZxKYn4hn082jMy7-vMF+BAYWS8ivMSFhRjxPScxsQOqmUXWQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/d5pHYNWiV0fQFcPR-VYOUWyTlYY>
Subject: Re: [xml2rfc] Cannot Fetch DOI citation
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: XML2RFC discussion list <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: Tue, 07 Jun 2022 23:49:51 -0000

Hi Armando,

There are replacements for both xml2rfc web service [1] & bibxml [2].

Soon, xml2rfc will start querying bibxml compatibility API [3] for 
citations.

Your examples work on the new bibxml service [4], [5].

You can report any issues regarding those services to the author tools 
GitHub project [6] or this mailing list.

Cheers,
Kesara

[1] https://author-tools.ietf.org/
[2] https://bib.ietf.org/
[3] https://bib.ietf.org/api-spec/openapi_spec_legacy/
[4] 
https://bib.ietf.org/public/rfc/bibxml7/reference.DOI.10.1007/978-3-642-14623-7_13.xml
[5] 
https://bib.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/3472951.3473503.xml
[6] https://github.com/ietf-tools/ietf-at/issues/new

On 8/06/22 11:21 am, Armando Faz wrote:
> Hello,
> I noticed some DOI citations are not retrieved using the tool [1], which 
> is the same endpoint used by xml2rfc.
> I looked at the code [2] and I was able to retrieve locally almost any 
> DOI document following the test script [2], but I cannot do it with any 
> of these URL endpoints:
> 
> http://xml2rfc.ietf.org/public/rfc/bibxml7/reference.{DOI 
> <http://xml2rfc.ietf.org/public/rfc/bibxml7/reference.{DOI> HERE}.xml
> http://xml2rfc.ietf.org/public/rfc/bibxml7/reference.{DOI 
> <http://xml2rfc.ietf.org/public/rfc/bibxml7/reference.{DOI> HERE}.kramdown
> 
> Examples:
> don't work -> 
> https://xml2rfc.tools.ietf.org/public/rfc/bibxml7/reference.DOI.10.1007/978-3-642-14623-7_13.xml <https://xml2rfc.tools.ietf.org/public/rfc/bibxml7/reference.DOI.10.1007/978-3-642-14623-7_13.xml>
> it works -> 
> https://xml2rfc.tools.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/3472951.3473503.xml <https://xml2rfc.tools.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/3472951.3473503.xml>
> 
> Downloading DOI information for citations is really useful, any idea 
> about this issue?
> 
> [1] https://xml2rfc.tools.ietf.org/ <https://xml2rfc.tools.ietf.org/>
> [2] 
> https://github.com/ietf-tools/xml2rfc-website/blob/main/public/rfc/bibxml-doi/makefile#L61 <https://github.com/ietf-tools/xml2rfc-website/blob/main/public/rfc/bibxml-doi/makefile#L61>
> 
> -- 
> Armando Faz
> Cloudflare Inc.
> 
> _______________________________________________
> xml2rfc mailing list
> xml2rfc@ietf.org
> https://www.ietf.org/mailman/listinfo/xml2rfc

-- 
Kesara Rathnayake
Senior Software Development Engineer - IETF LLC
kesara@staff.ietf.org