Citations with COINS

From The Digital Classicist Wiki
Revision as of 15:59, 3 September 2019 by TomElliott (talk | contribs) (provided prologue/context)
Jump to navigation Jump to search

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.

<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>)