README.adoc in relaton-ietf-1.9.0 vs README.adoc in relaton-ietf-1.9.1
- old
+ new
@@ -88,9 +88,24 @@
<doctype>rfc</doctype>
</ext>
</bibdata>"
----
+=== Typed links
+
+IETF documents may have `src`, `xml`, and `doi` link type.
+
+* `src` - web pulication
+* `xml` - BibXML publication
+* `doi` - DOI reference
+
+[source,ruby]
+----
+item.link
+=> [#<RelatonBib::TypedUri:0x00007fe8b287a120 @content=#<Addressable::URI:0x7e4 URI:https://raw.githubusercontent.com/relaton/relaton-data-ietf/master/data/reference.RFC.8341.xml>, @type="xml">,
+ #<RelatonBib::TypedUri:0x00007fe8b2237ec0 @content=#<Addressable::URI:0x7f8 URI:https://www.rfc-editor.org/info/rfc8341>, @type="src">]
+----
+
=== Parse a file locally
[source,ruby]
----
item = Relaton::Provider::Ietf.from_rfcxml File.read("spec/examples/rfc.xml")