Add CITE/CTS URN citations to HTML files, and resolve them to their objects automatically.
CITEKit is a collection of scripts that allow easy end-user display of images, data, and textual passages using the CITE/CTS Architecture.[^citation_cts_docs]
These instructions begin from a few assumptions:
- That you know what CITE/CTS is.
- That you know that CITE/CTS objects (data-objects, images, and texts) are uniquely identified by URN-formatted citations.
- That you know that that those URNs identify an object, and that a CITE or CTS Service is necessary to retrieve an object.
- That you are reading this because you are familiar with HTML and are interested in the simplest possible way to embed primary sources in an HTML document.
N.b. CITEKit loads Javascript and CSS dynamically. Occasionally a web-browser’s caching mechanism will confuse this process. If at any point the CITEKit menu fails to appear, and objects fail to load, re-loading the page will usually correct this.
The directory citekit-demos
contains examples HTML files that show you to configure pages for resolving CTS URNs to passages of text, and CITE urns to images and data-objects.
You can invoke CITEKit for a page in one of two ways. The normal way is with:
`<script type="text/javascript" src="http://folio.furman.edu/citekit/js/cite-jq.js"> </script>`
But if your page is already using jQuery, you won’t want the “normal” way, since it loads its own copy of jQuery. In that case, use:
`<script type="text/javascript" src="http://folio.furman.edu/citekit/js/cite-no-jq.js"> </script>`
That will load a version of CITEKit that will use the copy of jQuery that your page has already loaded.
CITEKit is free software from C. Blackwell and N. Smith.