Citations with COINS: Difference between revisions

From The Digital Classicist Wiki
Jump to navigation Jump to search
(provided prologue/context)
(added link to zotero docs)
Line 1: Line 1:
COinS is an abbreviation for “ContextObjects in Spans”. Spans in this context refers to the html tag <span></span>, and is the means by which your reference data can be inserted into a webpage without it being rendered as text. COinS conventions can be used to embed bibliographic citation data in HTML pages in a structured way, thereby making it possible for the [http://zotero.org Zotero] reference manager to recognize and scrape that information. What follows are examples of ways to deploy citation data in this manner.
COinS is an abbreviation for “ContextObjects in Spans”. Spans in this context refers to the html tag <span></span>, and is the means by which your reference data can be inserted into a webpage without it being rendered as text. COinS conventions can be used to embed bibliographic citation data in HTML pages in a structured way, thereby making it possible for the [http://zotero.org Zotero] reference manager to recognize and scrape that information. What follows are examples of ways to deploy citation data in this manner. Related documentation may be found on [https://www.zotero.org/support/dev/exposing_metadata/coins the "exposing_metadata: coins" page] on the Zotero website.


  &lt;span class="Z3988"  
  &lt;span class="Z3988"  

Revision as of 16:03, 3 September 2019

COinS is an abbreviation for “ContextObjects in Spans”. Spans in this context refers to the html tag , and is the means by which your reference data can be inserted into a webpage without it being rendered as text. COinS conventions can be used to embed bibliographic citation data in HTML pages in a structured way, thereby making it possible for the Zotero reference manager to recognize and scrape that information. What follows are examples of ways to deploy citation data in this manner. Related documentation may be found on the "exposing_metadata: coins" page on the Zotero website.

<span class="Z3988" 
  title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.genre=book&amp;rft.btitle=L%27arch%C3%A9ologie+de+l%27empire+ach%C3%A9m%C3%A9nide&amp;rft.title=L%27arch%C3%A9ologie+de+l%27empire+ach%C3%A9m%C3%A9nide&amp;rft.series=Persika+6&amp;rft.isbn=2701801958&amp;rft.aulast=Briant&amp;rft.aufirst=Pierre&amp;rft.au=Pierre+Briant&amp;rft.au=R%C3%A9my+Boucharlat&amp;rft.date=2005&amp;rft.pub=de+Boccard&amp;rft.place=Paris">
  Briant, P., Boucharlat, R., & Réseau international d'études et de recherches achéménides. (2005). L'archéologie de l'empire achéménide. Paris: de Boccard.

The COINS convention completely takes over the title attribute so a citation needs to wrap an '@class="citation"' around that:

<span class="citation" title="P. Briant, R. Boucharlat. 2005. L'archéologie de l'empire achéménide">
<span class="Z3988" 
  title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.genre=book&amp;rft.btitle=L%27arch%C3%A9ologie+de+l%27empire+ach%C3%A9m%C3%A9nide&amp;rft.title=L%27arch%C3%A9ologie+de+l%27empire+ach%C3%A9m%C3%A9nide&amp;rft.series=Persika+6&amp;rft.isbn=2701801958&amp;rft.aulast=Briant&amp;rft.aufirst=Pierre&amp;rft.au=Pierre+Briant&amp;rft.au=R%C3%A9my+Boucharlat&amp;rft.date=2005&amp;rft.pub=de+Boccard&amp;rft.place=Paris">
  Briant, P., Boucharlat, R., & Réseau international d'études et de recherches achéménides. (2005). L'archéologie de l'empire achéménide. Paris: de Boccard.


RDFa can be added to this:

<span rel="dc:references">
<span class="citation" title="P. Briant, R. Boucharlat. 2005. L'archéologie de l'empire achéménide">
<span class="Z3988" 
  title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.genre=book&amp;rft.btitle=L%27arch%C3%A9ologie+de+l%27empire+ach%C3%A9m%C3%A9nide&amp;rft.title=L%27arch%C3%A9ologie+de+l%27empire+ach%C3%A9m%C3%A9nide&amp;rft.series=Persika+6&amp;rft.isbn=2701801958&amp;rft.aulast=Briant&amp;rft.aufirst=Pierre&amp;rft.au=Pierre+Briant&amp;rft.au=R%C3%A9my+Boucharlat&amp;rft.date=2005&amp;rft.pub=de+Boccard&amp;rft.place=Paris">
  Briant, P., Boucharlat, R., & Réseau international d'études et de recherches achéménides. (2005). L'archéologie de l'empire achéménide. Paris: de Boccard. 
 (<a typeof="dc:Text" rel="skos:definition" href="http://www.worldcat.org/title/archeologie-de-lempire-achemenide/oclc/496793701">Worldcat recrod</a>)