Citations with CTS and Microformats: Difference between revisions

From The Digital Classicist Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 5: Line 5:


===Microformats + CTS===
===Microformats + CTS===
Focusing just on the 'a' element, the following RDFa provides additional levels of detail:


  <a class="citation" target="_blank" href="http://fragments-repo.appspot.com/CTS?request=GetPassagePlus&withXSLT=true&urn=urn:cts:greekLit:tlg0008.tlg001.fhg01:1&inv=fhg-inventory.xml">
  <a class="citation" target="_blank" href="http://fragments-repo.appspot.com/CTS?request=GetPassagePlus&withXSLT=true&urn=urn:cts:greekLit:tlg0008.tlg001.fhg01:1&inv=fhg-inventory.xml">

Revision as of 11:40, 27 September 2010

The page Citation_in_digital_scholarship describes a convention for indicating citations that relies on the 'class' and 'title' attributes when implemented in (x)html. This page describes an extension of that convention to encompass adding Microformats and CTS to conformant citations.

Sample sentence: "vd. Ath. Deipn. I".

Microformats + CTS

<a class="citation" target="_blank" href="http://fragments-repo.appspot.com/CTS?request=GetPassagePlus&withXSLT=true&urn=urn:cts:greekLit:tlg0008.tlg001.fhg01:1&inv=fhg-inventory.xml">
  <cite class="ctref">
   Ath. 
   Deipn. 
   I
   <span style="display:none" class="edition" title="urn:cts:greekLit:tlg0008.tlg001.fhg01">Kaibel
  </cite>
</a>