このスクリーンショットにおいて、Zoteroは取得できる出典を表示しています。Find in a LibraryのリンクはOpenURLリファラーを呼び出します。

ContextObjects in Spans(または短縮形でCOinS)は、画面上に表示されないOpenURLのContextObjectをウェブページに埋め込む方法です。利用者はクライアントソフトウェアを使用して書誌情報のメタデータを取得したり、OpenURLのリゾルバで出典へのリンクを検索できます。OpenURLを直接提供するのではなくCOinSをすることへの利点としては、クライアントソフトウェアがリゾルバを選べることが挙げられます。これにより、利用者は特定の図書館から書籍を検索することができます。

COinSは機械可読な書誌情報であり、ウィキペディアに組み入れられています。その使い道は2つあります:

  • 書誌情報はOpenURLに変換することができ、そのOpenURLはローカルのOpenURLリゾルバで名前解決できます。例えば、LibX英語版、OpenURLリファラ[1]、またはMozilla Firefoxにインストールされた同様の拡張機能やブックマークレットを使うことで、ウィキペディア記事の「出典」「参考文献」節にある多くの書籍や学術雑誌記事の後ろにリンクが表示されます。拡張機能を正しく設定することで、このリンクは特定の図書館でその書籍を検索できます。学術雑誌記事の場合、そのリンクは記事へのリンクになります(利用者の所属組織にその記事へのアクセス権限がある場合のみ)。
  • Zoteroなどの書誌情報管理ソフトウェアで書誌情報を保存できます[2]。このようなソフトウェアは記事から書誌情報をダウンロードして利用者のライブラリに保存でき、必要な時に取り出して利用できます。
    • Zoteroにはウィキペディアへのエキスポート機能があり[3]、出典を直接ウィキペディアの編集画面にドラッグすることで出典テンプレートを使用したマークアップとしてコピーされます。

現在、COinSは下記の箇所に追加されています。

テンプレート 編集

COinSを生成するテンプレートでは解説ページに{{UF-COinS}}を使用することで、そのテンプレートをCategory:COinSを生成するテンプレートに追加できます。

COinSを生成しない主な出典テンプレート 編集

下記のテンプレートは現在COinSを生成しません。COinSを生成するよう変更することが望まれています。

出典テンプレートにおけるCOinSの例 編集

マークアップ 表示
{{cite book |last=Bloggs |first=Fred |editor-first=John |editor-last=Doe |title=Big Compilation Book with Many Chapters and Distinct Chapter Authors |publisher=Book Publishers |date=January 1, 2001 |pages=100–110 |chapter=Chapter 2: The History of the Bloggs Family |isbn=978-1-234-56789-7}} 
Bloggs, Fred (January 1, 2001). “Chapter 2: The History of the Bloggs Family”. In Doe, John. Big Compilation Book with Many Chapters and Distinct Chapter Authors. Book Publishers. pp. 100–110. ISBN 978-1-234-56789-7 

上記の出典は下記のようなHTMLになります。

<cite style="font-style:normal" class="citation book" >Bloggs,&#32;Fred&#32;(January 1, 2001).&#32;“Chapter 2: The History of the Bloggs Family”.&#32;In&#32;Doe, John.&#32;''Big Compilation Book with Many Chapters and Distinct Chapter Authors''.&#32;Book Publishers.&#32;pp.&nbsp;100–110.&#32;'"`UNIQ--templatestyles-00000011-QINU`"'[[ISBN|ISBN]]&nbsp;[[特別:文献資料/978-1-234-56789-7 |978-1-234-56789-7]]</cite><span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.btitle=Chapter+2%3A+The+History+of+the+Bloggs+Family&rft.atitle=Big+Compilation+Book+with+Many+Chapters+and+Distinct+Chapter+Authors&rft.aulast=Bloggs&rft.aufirst=Fred&rft.au=Bloggs%2C%26%2332%3BFred&rft.date=January+1%2C+2001&rft.pages=pp.%26nbsp%3B100%E2%80%93110&rft.pub=Book+Publishers&rft.isbn=978-1-234-56789-7&rfr_id=info:sid/ja.wikipedia.org:Wikipedia:COinS"><span style="display: none;">&nbsp;</span></span>

COinSの欄を取り出すと、下記になります。

COinSの欄 内容
fr_id info:sid/ja.wikipedia.org:
rft.atitle Big Compilation Book with Many Chapters and Distinct Chapter Authors
rft.au Bloggs, Fred
rft.aufirst Fred
rft.aulast Bloggs
rft.btitle Chapter 2: The History of the Bloggs Family
rft.date January 1, 2001
rft.genre bookitem
rft.isbn 978-1-234-56789-7
rft.pages 100-110
rft.pub Book Publishers
rft_val_fmt info:ofi/fmt:kev:mtx:book

COinSメタデータの汚染 編集

出典テンプレートに正しくない引数を入力することで、メタデータが汚染されてしまう可能性があります。たとえば、著者全員の名前を|authors=引数に渡すと、下記のようになります。

マークアップ 描画
{{cite book |authors=Smith, John; Johnson, Joe; Green, Ethan |title=Big Compilation Book with Many Chapters and Distinct Chapter Authors |publisher=Book Publishers |date=January 1, 2001 |pages=100–110 |chapter=Chapter 2: The History of the Bloggs Family |isbn=978-1-234-56789-7}} 
Smith, John; Johnson, Joe; Green, Ethan (January 1, 2001). “Chapter 2: The History of the Bloggs Family”. Big Compilation Book with Many Chapters and Distinct Chapter Authors. Book Publishers. pp. 100–110. ISBN 978-1-234-56789-7 

<cite style="font-style:normal" class="citation book" >Smith, John; Johnson, Joe; Green, Ethan&#32;(January 1, 2001).&#32;“Chapter 2: The History of the Bloggs Family”.&#32;''Big Compilation Book with Many Chapters and Distinct Chapter Authors''.&#32;Book Publishers.&#32;pp.&nbsp;100–110.&#32;'"`UNIQ--templatestyles-0000001C-QINU`"'[[ISBN|ISBN]]&nbsp;[[特別:文献資料/978-1-234-56789-7 |978-1-234-56789-7]]</cite><span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.btitle=Chapter+2%3A+The+History+of+the+Bloggs+Family&rft.atitle=Big+Compilation+Book+with+Many+Chapters+and+Distinct+Chapter+Authors&rft.aulast=Smith%2C+John%3B+Johnson%2C+Joe%3B+Green%2C+Ethan&rft.au=Smith%2C+John%3B+Johnson%2C+Joe%3B+Green%2C+Ethan&rft.date=January+1%2C+2001&rft.pages=pp.%26nbsp%3B100%E2%80%93110&rft.pub=Book+Publishers&rft.isbn=978-1-234-56789-7&rfr_id=info:sid/ja.wikipedia.org:Wikipedia:COinS"><span style="display: none;">&nbsp;</span></span>

COinSの欄 内容
rft.au Smith, John; Johnson, Joe; Green, Ethan
rft.aufirst (未使用)
rft.aulast Smith, John; Johnson, Joe; Green, Ethan

脚注 編集

  1. ^ OpenURL Referrer” (英語). OCLC. 2016年10月15日時点のオリジナルよりアーカイブ。2018年9月1日閲覧。
  2. ^ Zotero and Wikipedia / Wikidata” (英語). Zotero. 2018年9月1日閲覧。
  3. ^ Kari. “Zotero & Wikipedia: Perfect Together” (英語). Zotero. 2007年4月11日閲覧。

関連項目 編集