relaton / relaton-render

Gem to render ISO 690 XML serialisation into HTML
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

`series::` field data not showing up in rendering #48

Closed manuelfuenmayor closed 1 year ago

manuelfuenmayor commented 1 year ago

As reported in https://github.com/cisba/i-d_dlts/pull/1#issuecomment-1780701034

Sample Asciibib:

[%bibitem]
=== {blank}
id:: CrosbyWallach
title::
title.type:: main
title.content:: Efficient Data Structures for Tamper-Evident Logging
title.format:: text/plain
contributor::
contributor.person.name.completename.content:: Scott A. Crosby
contributor::
contributor.person.name.completename.content:: Dan S. Wallach
series::
series.type:: main
series.title.type:: original
series.title.content:: Proceedings of the 18th USENIX Security Symposium
series.title.language:: en
series.title.script:: Latn
series.title.format:: text/plain
series.place:: Montreal
date::
date.type:: published
date.on:: 2009-08
link::
link.type:: src
link.content:: http://static.usenix.org/event/sec09/tech/full_papers/crosby.pdf

renders in TXT: 278271216-9bb7deca-3196-42d6-a3b4-0744af90cd9b (Left: original source. Right: generated output)

Perhaps I used the wrong field?

ronaldtse commented 1 year ago

Any idea @opoudjis ?

opoudjis commented 1 year ago

Rendering series in relaton-render config.

Not only is the use of seriesInfo in references deprecated in RFC 7749, but the use of a placename as a dummy series, which the source author has done—

<seriesInfo name="Proceedings of the 18th USENIX Security Symposium" value="Montreal"/>

—is a hack which I am certainly not going to perpetuate.

Series with no numbers are going to be rendered as refcontent.

opoudjis commented 1 year ago

Adding series dates (from–to), place, organization to relaton-render.

opoudjis commented 1 year ago
<reference target="http://static.usenix.org/event/sec09/tech/full_papers/crosby.pdf" anchor="CrosbyWallach">
<front><title>Efficient Data Structures for Tamper-Evident Logging</title> 
<author fullname="Scott A. Crosby" asciiFullname="Scott A. Crosby"></author> 
<author fullname="Dan S. Wallach" asciiFullname="Dan S. Wallach"></author> 
<date month="August" year="2009"></date> </front> 
<format target="http://static.usenix.org/event/sec09/tech/full_papers/crosby.pdf" type="src"></format> <
refcontent>Proceedings of the 18th USENIX Security Symposium, Montreal</refcontent></reference>