ප්‍රධාන මෙනුව විවෘත කරන්න
In this example, Zotero is displaying the references it can retrieve. The OpenURL referrer is responsible for the Find in a library links.

ContextObjects in Spans, commonly abbreviated COinS, is a method of embedding latent OpenURL ContextObjects in web pages. This allows client software to retrieve bibliographic metadata and to use an OpenURL resolver to find a mediated link. A principal advantage of using COinS, rather than giving a static OpenURL, is that the client can determine which resolver to use. This allows, for instance, searching for a copy of a book in one's own library.

COinS have been added to various parts of Wikipedia. They are basically just a chunk of bibliographic information stored in a way that machines can read. This has two applications:

  • The information can be converted into a full OpenURL and resolved by a local OpenURL resolver. For instance, with LibX, OpenURL referrer,[1] or a similar extension or bookmarklet installed in Firefox, a link will appear after many of the books and journal articles in a Wikipedia article's References section. If the extension is configured correctly, the user can click a link after a book to check if his organization's library has a copy. If the organization has the appropriate access, clicking the link after a journal article may bring up a copy of the article.
  • The information can be stored by bibliographic tools like Zotero.[2] The tool can download the bibliographic information from an article into a personal library for future research and retrieval.
    • Zotero also has Wikipedia export,[3] which allows references to be dragged into a Wikipedia edit box, where they will appear formatted as Wikipedia citation templates.

So far, COinS have been added to:

Templateසංස්කරණය

For use on templates generating COinS:

{{UF-COinS}}

It adds pages to the above category.

Templates needing COinSසංස්කරණය

COinS could, and should, be added to these templates:

COinS in citation templatesසංස්කරණය

The COinS keys used in most Citation Style 1 templates are listed at Module talk:Citation/CS1/COinS.

For example:

Markup Renders as
{{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". මෙම කෘතිය තුල: Doe, John. Big Compilation Book with Many Chapters and Distinct Chapter Authors. Book Publishers. පිටු 100–110. ISBN 978-1-234-56789-7. 

Which renders the following HTML:

<span class="citation book" >Bloggs,&#32;Fred&#32;(January 1, 2001).&#32;"Chapter 2: The History of the Bloggs Family".&#32;'''මෙම කෘතිය තුල:'''&#32;Doe, John.&#32;''Big Compilation Book with Many Chapters and Distinct Chapter Authors''.&#32;Book Publishers.&#32;පිටු&nbsp;100–110.&#32;[[International Standard Book Number|ISBN]]&nbsp;[[Special:BookSources/978-1-234-56789-7|978-1-234-56789-7]].</span><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=%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B7%94%26nbsp%3B100%E2%80%93110&rft.pub=Book+Publishers&rft.isbn=978-1-234-56789-7&rfr_id=info:sid/en.wikipedia.org:%E0%B7%80%E0%B7%92%E0%B6%9A%E0%B7%92%E0%B6%B4%E0%B7%93%E0%B6%A9%E0%B7%92%E0%B6%BA%E0%B7%8F:COinS"><span style="display: none;">&nbsp;</span></span>

Picking out the COinS keys:

Key Data
fr_id info:sid/en.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

Pollutionසංස්කරණය

Incorrect data in fields can pollute the metadata. For example, adding all of the authors into the |authors= field:

Markup Renders as
{{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. පිටු 100–110. ISBN 978-1-234-56789-7. 

<span 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;පිටු&nbsp;100–110.&#32;[[International Standard Book Number|ISBN]]&nbsp;[[Special:BookSources/978-1-234-56789-7|978-1-234-56789-7]].</span><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=%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B7%94%26nbsp%3B100%E2%80%93110&rft.pub=Book+Publishers&rft.isbn=978-1-234-56789-7&rfr_id=info:sid/en.wikipedia.org:%E0%B7%80%E0%B7%92%E0%B6%9A%E0%B7%92%E0%B6%B4%E0%B7%93%E0%B6%A9%E0%B7%92%E0%B6%BA%E0%B7%8F:COinS"><span style="display: none;">&nbsp;</span></span>

Key Data
rft.au Smith, John; Johnson, Joe; Green, Ethan
rft.aufirst not used
rft.aulast Smith, John; Johnson, Joe; Green, Ethan

See alsoසංස්කරණය

Referencesසංස්කරණය

"https://si.wikipedia.org/w/index.php?title=විකිපීඩියා:COinS&oldid=418178" වෙතින් සම්ප්‍රවේශනය කෙරිණි