ietf-tools / bibxml-service

Django-based Web service implementing IETF BibXML APIs
https://bib.ietf.org
BSD 3-Clause "New" or "Revised" License
17 stars 19 forks source link

Remove target from reference for InternetDraft entries #272

Closed stefanomunarini closed 2 years ago

stefanomunarini commented 2 years ago

And place it within the <format> tag.

NEW format:

<reference anchor="I-D.ietf-bfd-mpls-mib">
  <front>
    <title>...</title>
    <author fullname="..."/>
    <abstract>
      <t>
        This draft [...]
      </t>
    </abstract>
  </front>
  <format type="TXT" target="https://www.ietf.org/archive/id/draft-ietf-bfd-mpls-mib-07.txt"/>
  <seriesInfo name="Internet-Draft" value="draft-ietf-bfd-mpls-mib-07"/>
</reference>

OLD format:

<reference anchor="I-D.ietf-bfd-mpls-mib" target="https://www.ietf.org/archive/id/draft-ietf-bfd-mpls-mib-07.txt">
  <front>
    <title>...</title>
    <author fullname="..."/>
    <abstract>
      <t>
        This draft [...]
      </t>
    </abstract>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-ietf-bfd-mpls-mib-07"/>
</reference>
stefanomunarini commented 2 years ago

https://github.com/ietf-tools/bibxml-service/issues/266

rjsparks commented 2 years ago

Edit: (This is missing an important point - the thing being pointed to needs to change, not just how the pointing is happening)

Nevermind - I was remembering a different bit of context - the thing being pointed to is correct here.

ronaldtse commented 2 years ago

Thanks @stefanomunarini and @rjsparks !