News Item

Where is MoEML going next? Find out here.
You can also get the latest MoEML news by liking our Facebook page or following us on Twitter.
Read MoEML’s Social Media Guidelines here.

10 July 2013

CodeSharing API Launched

Lead Programmer Martin Holmes introduced his new CodeSharing API at the Digital.Humanities@Oxford Summer School 2013, via an address entitled CodeSharing: A Simple API for Disseminating our TEI Encoding.
MoEML is proud to be the test case for Martin’s API, which was inspired in part by our quest to discover how other projects were using the TEI to encode historical dates. Since encoding is a critical practice involving many global and local decisions about the nature of a text, projects need to be able to cite other’s tagging practices to contextualize and justify their own encoding practices. This API, running on our project and other projects, would increase by many orders of magnitude the number of examples available for study, comparison, and citation. If you want to know how, how often, and in what context MoEML uses any TEI element, attribute, or attribute value, search the CodeSharing service running on MoEML. We ourselves also find the service helpful in training our RAs and in searching for (and correcting) lingering bits of legacy code. In conjunction with project documentation, this tool is a powerful help in achieving high encoding standards across a large project.
Abstract for Martin’s paper at Oxford:
Although the TEI Guidelines are full of helpful examples, and other initiatives such as TEI By Example have made great progress in providing more access to samples of text-encoding to help beginners get started, there is no doubt that one of the biggest obstacles to encoders at many levels is finding out how other scholars and projects have chosen to encode a particular feature or use a specific tag or attribute. Many projects now share their XML code, but that in itself is only marginally helpful; it can take substantial time to sift through the XML code in a large project to find what you’re looking for. At the same time, many other projects do not provide any access to their XML encoding. This talk presents a simple specification for an Application Programming Interface, along with a sample implementation written in XQuery and designed for the eXist XML database, providing straightforward access both for applications and end-users to sample code from any TEI project. The API is modelled on the Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH), a mechanism designed to allow archival search tools to ingest metadata from repositories.
The brief is also available.
Click here to read Martin’s documentation for The CodeSharing Protocol for TEI Markup Version 1.0.

Cite this page

MLA citation

Jenstad, Janelle, and Kim McLean-Fiander. 10 July 2013: CodeSharing API Launched. The Map of Early Modern London, Edition 7.0, edited by Janelle Jenstad, U of Victoria, 05 May 2022, mapoflondon.uvic.ca/edition/7.0/news_2013-07-10.htm.

Chicago citation

Jenstad, Janelle, and Kim McLean-Fiander. 10 July 2013: CodeSharing API Launched. The Map of Early Modern London, Edition 7.0. Ed. Janelle Jenstad. Victoria: University of Victoria. Accessed May 05, 2022. mapoflondon.uvic.ca/edition/7.0/news_2013-07-10.htm.

APA citation

Jenstad, J., & McLean-Fiander, K. 2022. 10 July 2013: CodeSharing API Launched. In J. Jenstad (Ed), The Map of Early Modern London (Edition 7.0). Victoria: University of Victoria. Retrieved from https://mapoflondon.uvic.ca/editions/7.0/news_2013-07-10.htm.

RIS file (for RefMan, RefWorks, EndNote etc.)

Provider: University of Victoria
Database: The Map of Early Modern London
Content: text/plain; charset="utf-8"

TY  - ELEC
A1  - Jenstad, Janelle
A1  - McLean-Fiander, Kim
ED  - Jenstad, Janelle
T1  - 10 July 2013:
                       CodeSharing API Launched
T2  - The Map of Early Modern London
ET  - 7.0
PY  - 2022
DA  - 2022/05/05
CY  - Victoria
PB  - University of Victoria
LA  - English
UR  - https://mapoflondon.uvic.ca/edition/7.0/news_2013-07-10.htm
UR  - https://mapoflondon.uvic.ca/edition/7.0/xml/standalone/news_2013-07-10.xml
ER  - 

TEI citation

<bibl type="mla"><author><name ref="#JENS1"><surname>Jenstad</surname>, <forename>Janelle</forename></name></author>, and <author><name ref="#MCFI1"><forename>Kim</forename> <surname>McLean-Fiander</surname></name></author>. <title level="a">10 July 2013: CodeSharing API Launched</title>. <title level="m">The Map of Early Modern London</title>, Edition <edition>7.0</edition>, edited by <editor><name ref="#JENS1"><forename>Janelle</forename> <surname>Jenstad</surname></name></editor>, <publisher>U of Victoria</publisher>, <date when="2022-05-05">05 May 2022</date>, <ref target="https://mapoflondon.uvic.ca/edition/7.0/news_2013-07-10.htm">mapoflondon.uvic.ca/edition/7.0/news_2013-07-10.htm</ref>.</bibl>

Personography