README.adoc in relaton-plateau-1.19.3 vs README.adoc in relaton-plateau-1.19.4

- old
+ new

@@ -31,17 +31,40 @@ == Usage === Fetching +==== Fetching Technical Reports + [source,ruby] ---- require "relaton/plateau" +Relaton::Plateau::Bibliography.get("PLATEAU Technical Report #00") +[relaton-plateau] INFO: (PLATEAU Technical Report #00) Fetching ... +[relaton-plateau] INFO: (PLATEAU Technical Report #00) Found `PLATEAU Technical Report #00` + => #<Relaton::Plateau::BibItem:0x00000001238cfc98 +... +---- -bib = Relaton::Plateau::Bibliography.get("PLATEAU Handbook #00 第1.0版") -[relaton-plateau] INFO: (PLATEAU Handbook #00 第1.0版) Fetching ... -[relaton-plateau] INFO: (PLATEAU Handbook #00 第1.0版) Found `PLATEAU Handbook #00 第1.0版` +==== Fetching Handbooks unversioned + +[source,ruby] +---- +Relaton::Plateau::Bibliography.get("PLATEAU Handbook #00") +[relaton-plateau] INFO: (PLATEAU Handbook #00) Fetching ... +[relaton-plateau] INFO: (PLATEAU Handbook #00) Found `PLATEAU Handbook #00` + => #<Relaton::Plateau::BibItem:0x00000001238c7598 +... +---- + +==== Fetching Handbooks versioned + +[source,ruby] +---- +bib = Relaton::Plateau::Bibliography.get("PLATEAU Handbook #00 1.0") +[relaton-plateau] INFO: (PLATEAU Handbook #00 1.0) Fetching ... +[relaton-plateau] INFO: (PLATEAU Handbook #00 1.0) Found `PLATEAU Handbook #00 1.0` => #<Relaton::Plateau::BibItem:0x0000000104afbcc0 ... ---- === Serializing @@ -50,40 +73,40 @@ [source,ruby] ---- # Render bibitem puts bib.to_xml -<bibitem id="PLATEAUHandbook#00第1.0版" type="standard" schema-version="v1.2.9"> +<bibitem id="PLATEAUHandbook#001.0" type="standard" schema-version="v1.2.9"> <title type="main" format="text/plain" language="ja" script="Jpan">3D都市モデルの導入ガイダンス</title> <title type="main" format="text/plain" language="en" script="Latn">Guidance on the Installation for 3D City Model</title> <uri type="pdf">https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0000_ver01.pdf</uri> - <docidentifier type="PLATEAU" primary="true">PLATEAU Handbook #00 第1.0版</docidentifier> + <docidentifier type="PLATEAU" primary="true">PLATEAU Handbook #00 1.0</docidentifier> <date type="published"> <on>2021-03-26</on> </date> - <edition number="1.0">第1.0版</edition> + <edition number="1.0">1.0</edition> <abstract format="text/plain" language="ja" script="Jpan">地方自治体担当者や民間事業者等に向けた 3D都市モデル導入のためのガイダンス</abstract> </bibitem> # Render bibdata puts bib.to_xml(bibdata: true) <bibdata type="standard" schema-version="v1.2.9"> <title type="main" format="text/plain" language="ja" script="Jpan">3D都市モデルの導入ガイダンス</title> <title type="main" format="text/plain" language="en" script="Latn">Guidance on the Installation for 3D City Model</title> <uri type="pdf">https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0000_ver01.pdf</uri> - <docidentifier type="PLATEAU" primary="true">PLATEAU Handbook #00 第1.0版</docidentifier> + <docidentifier type="PLATEAU" primary="true">PLATEAU Handbook #00 1.</docidentifier> <date type="published"> <on>2021-03-26</on> </date> - <edition number="1.0">第1.0版</edition> + <edition number="1.0">1.0</edition> <abstract format="text/plain" language="ja" script="Jpan">地方自治体担当者や民間事業者等に向けた 3D都市モデル導入のためのガイダンス</abstract> <ext> <doctype>handbook</doctype> <structuredidentifier type="Handbook"> <agency>PLATEAU</agency> <docnumber>00</docnumber> - <edition>第1.0版</edition> + <edition>1.0</edition> </structuredidentifier> <cover> <image src="https://www.mlit.go.jp//plateau/uploads/2022/06/1@2x.jpg" mimetype="image/jpeg"/> </cover> <filesize>18381880</filesize> @@ -95,11 +118,11 @@ [source,ruby] ---- puts bib.to_hash.to_yaml --- schema-version: v1.2.9 -id: PLATEAUHandbook#00第1.0版 +id: PLATEAUHandbook#001.0 title: - content: 3D都市モデルの導入ガイダンス language: - ja script: @@ -116,18 +139,18 @@ link: - content: https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0000_ver01.pdf type: pdf type: standard docid: -- id: 'PLATEAU Handbook #00 第1.0版' +- id: 'PLATEAU Handbook #00 1.0' type: PLATEAU primary: true date: - type: published value: '2021-03-26' edition: - content: 第1.0版 + content: 1.0 number: '1.0' revdate: '2021-03-26' abstract: - content: 地方自治体担当者や民間事業者等に向けた 3D都市モデル導入のためのガイダンス language: @@ -140,11 +163,11 @@ structuredidentifier: - docnumber: '00' type: Handbook agency: - PLATEAU - edition: 第1.0版 + edition: 1.0 ext: cover: image: src: https://www.mlit.go.jp//plateau/uploads/2022/06/1@2x.jpg mimetype: image/jpeg @@ -154,11 +177,11 @@ ==== BibXML [source,ruby] ---- puts bib.to_bibxml -<reference anchor="PLATEAU.Handbook.#00.第1.0版"> +<reference anchor="PLATEAU.Handbook.#00.1.0"> <front> <title>3D都市モデルの導入ガイダンス</title> <date year="2021" month="March" day="26"/> <abstract>地方自治体担当者や民間事業者等に向けた 3D都市モデル導入のためのガイダンス</abstract> </front> @@ -170,11 +193,11 @@ [source,ruby] ---- puts bib.to_asciibib [%bibitem] == {blank} -id:: PLATEAUHandbook#00第1.0版 +id:: PLATEAUHandbook#001.0 title:: title.type:: main title.content:: 3D都市モデルの導入ガイダンス title.language:: ja title.script:: Jpan @@ -186,12 +209,12 @@ title.script:: Latn title.format:: text/plain type:: standard docid.type:: PLATEAU docid.primary:: true -docid.id:: PLATEAU Handbook #00 第1.0版 -edition.content:: 第1.0版 +docid.id:: PLATEAU Handbook #00 1.0 +edition.content:: 1.0 edition.number:: 1.0 date.type:: published date.on:: 2021-03-26 abstract.content:: 地方自治体担当者や民間事業者等に向けた 3D都市モデル導入のためのガイダンス abstract.language:: ja @@ -201,10 +224,10 @@ link.content:: https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0000_ver01.pdf doctype.type:: handbook structured_identifier.docnumber:: 00 structured_identifier.agency:: PLATEAU structured_identifier.type:: Handbook -structured_identifier.edition:: 第1.0版 +structured_identifier.edition:: 1.0 cover.image.src:: https://www.mlit.go.jp//plateau/uploads/2022/06/1@2x.jpg cover.image.mimetype:: image/jpeg filesize:: 18381880 ----