Closed ronaldtse closed 2 years ago
Originally from https://github.com/ietf-ribose/bibxml-project/issues/24#issuecomment-1222026801
@rjsparks sorry for the delay here (probably should go into the bibxml-service repo), I missed this.
I believe we already support specifying a custom anchor, but not sure about in DOI. Ping @strogonoff .
Originally from @strogonoff (https://github.com/ietf-ribose/bibxml-project/issues/24#issuecomment-1222029934)
It was supposed to be working but it was working only for some documents.
Fix deployed to https://bib.ietf.org
curl https://bib.ietf.org/public/rfc/bibxml4/reference.W3C.REC-xml-stylesheet-20101028.xml?anchor=foobar
<reference anchor="foobar" target="https://www.w3.org/TR/2010/REC-xml-stylesheet-20101028/">
...
curl https://bib.ietf.org/public/rfc/bibxml-rfcsubseries/reference.STD.0080.xml?anchor=foobar
<referencegroup anchor="foobar" target="https://www.rfc-editor.org/info/std80">
...
curl https://bib.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/2975159.xml?anchor=FooBar
<reference anchor="FooBar" target="http://dx.doi.org/10.1145/2975159">
...
Description
From @rjsparks (https://github.com/ietf-ribose/bibxml-project/issues/24):
This is an xml2rfc.tools.ietf.org behavior that we missed, and a few things are using it.
Note that https://xml2rfc.tools.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/2975159.xml?anchor=JUPITER returns bibxml with the anchor set to "JUPITER".
How difficult would it be to add that behavior to the current bibxml implementation?
Code of Conduct