[xml2rfc] Script to generate RFC reference including abstract?

"Andrew G. Malis" <agmalis@gmail.com> Sun, 24 January 2021 17:03 UTC

Return-Path: <agmalis@gmail.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 BDE8B3A0E7B; Sun, 24 Jan 2021 09:03:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 ZBwLhdE090D7; Sun, 24 Jan 2021 09:03:58 -0800 (PST)
Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E4E03A0E79; Sun, 24 Jan 2021 09:03:57 -0800 (PST)
Received: by mail-qk1-x733.google.com with SMTP id n15so5668326qkh.8; Sun, 24 Jan 2021 09:03:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=D5S4+Z/GnYGdui8QTctGgJesmY1mWajOI4W68Zv49IQ=; b=U1mckG/pyRWL60jOsm08ymVFhTBb8YiLQNTOga0dJXIgYWVDgWOg10sJ28cRfTb4ej Cy1VWdODWXcdstbyBzJzXCO29B5HOwEllvIXOtuRxg+aQHCghqW1PBbTxbBE7aHZ1/VO dt/neWzPlD68V+6Aeo944Utg4FyA6uNLx1hVXpgXV9Sjx0k/1HoltPD3w/j56OM8lyvt SFeRhHlrgO/V/w6EH8P8+P/ngdth3+y8kES6p8J4NTNG8zQb/wDXFHk3Fk8F6gtUUpkD KLfZT6KWUEvH+6i5Uh5b4XuNrC3FhntKIymyJQJWJFpAVRHWY3131om/5nu+9wvu+9iJ 4FNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=D5S4+Z/GnYGdui8QTctGgJesmY1mWajOI4W68Zv49IQ=; b=YvQRPi2Olxe5Ctmo6n7+ttEayeTnbQnullljYNjNkECLfR9QVrS4TYWPoIQVasPYub jb8O2/iMIPVTB/CPT8EKfedfRCYV9OEUBs4wzvUanxdXjw9VqW1DW4bmUDJrSnCkwdvV fRmOR5xQ8cGKprtdarZrTBAxJQrxvTjP+b073pc5CDSaFmcJGgpqxw0EjyEBKE7kQcwq GZuyEL4E7ySrOL4fYxiMO2yaI9F3X3PLiXSIUAAqdKcj3AeGIyLOdYbr/SPV3rYLqqA2 DQCriCknufWIwyJT1oXcQxuvrP0LLOlO3upMdaLMFnAh1B1jXgKXdUZTphwg1hqWTbEZ 89cg==
X-Gm-Message-State: AOAM5313Ezgb5Bz0m5st/sUgXjdB0V8ijGT4LMAhORYzF+Tfn93SThGu CH/zl1mGWPvc986LGXRzEQymDcrVsSv7BTqNlp6gTeJhHWQ=
X-Google-Smtp-Source: ABdhPJzcgOa15A5grr9uf9UZFWQeweGMpRutZp/BGiKG1iXJmhaG8663MRtVxGcbYglEwolTpP7t7dL4rgDeZDQ5sVg=
X-Received: by 2002:a37:7444:: with SMTP id p65mr491899qkc.476.1611507837017; Sun, 24 Jan 2021 09:03:57 -0800 (PST)
MIME-Version: 1.0
From: "Andrew G. Malis" <agmalis@gmail.com>
Date: Sun, 24 Jan 2021 12:03:41 -0500
Message-ID: <CAA=duU2nj0G2H9v3Fft5iBAA8bxTX0zNgZsevMpojZY3TZQ6dg@mail.gmail.com>
To: RFC Interest <rfc-interest@rfc-editor.org>, xml2rfc@ietf.org, XML Developer List <xml2rfc-dev@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002da40705b9a868c8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/g8rvesqyJ5xgJV5oRL-aXaweLUg>
Subject: [xml2rfc] Script to generate RFC reference including abstract?
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: Sun, 24 Jan 2021 17:04:00 -0000

Just to save myself a bit of work if this already exists ....

Have any of you written a script when, given a list of RFC numbers, will
generate an xml2rfc-ish reference and pull out the abstract for each RFC?
Something like, when given "8660", will produce:

   [RFC8660]  Bashandy, A., Ed., Filsfils, C., Ed., Previdi, S.,
              Decraene, B., Litkowski, S., and R. Shakir, "Segment
              Routing with the MPLS Data Plane", RFC 8660,
              DOI 10.17487/RFC8660, December 2019,
              <https://www.rfc-editor.org/info/rfc8660>.

   Segment Routing (SR) leverages the source-routing paradigm.  A node
   steers a packet through a controlled set of instructions, called
   segments, by prepending the packet with an SR header.  In the MPLS
   data plane, the SR header is instantiated through a label stack.
   This document specifies the forwarding behavior to allow
   instantiating SR over the MPLS data plane (SR-MPLS).

Thanks,
Andy