Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

#Textual Encoding Workshop

The goal of this workshop is to introduce students to marking up documents with structured markup languages like TEI P5 and JATS.

##Text Encoding Initiative

Let's consider how to markup H.P. Lovecraft's short story, "The Statement of Randolph Carter". How would you represent this document as plain text, HTML, ePub? Here's how it might be rendered in very simple TEI. How could we improve its representation?

Randolph Carter

##Journal Article Tagging Suite

The Journal Article Tagging Suite or JATS is a set of three schemas for marking up journal articles and scholarly books. Here is a sample article marked up with JATS.

Interestingly, all the articles in PLOS can be downloaded in JATS format. Here's a tar file with a whole bunch of PLOS articles. The Open Library of the Humanities also provides articles in JATS format for download.

You can also download open access papers in PubMed Central in the JATS format. To do so, you need to use the PubMed API. If we wanted to access this paper on A Blood Pressure Monitoring Method for Stroke Management, for instance, we'd call the API (http://www.ncbi.nlm.nih.gov/pmc/utils/oa/oa.fcgi?id=) with it's PubMed Identifier (PMC4150505): http://www.ncbi.nlm.nih.gov/pmc/utils/oa/oa.fcgi?id=PMC4150505. The result provides links to two versions of the paper: a PDF and a JATS version.

<OA>
  <responseDate>2016-03-17 23:54:27</responseDate>
  <request id="PMC4150505">http://www.ncbi.nlm.nih.gov/pmc/utils/oa/oa.fcgi?id=PMC4150505</request>
  <records returned-count="2" total-count="2">
    <record id="PMC4150505" citation="Biomed Res Int. 2014 Aug 17; 2014:571623">
      <link format="tgz" updated="2014-09-10 19:11:13 href="ftp://ftp.ncbi.nlm.nih.gov/pub/pmc/4e/d1/Biomed_Res_Int_2014_Aug_17_2014_571623.tar.gz"/>
      <link format="pdf" updated="2014-09-01 13:29:27" href="ftp://ftp.ncbi.nlm.nih.gov/pub/pmc/4e/d1/BMRI2014-571623.PMC4150505.pdf"/>
    </record>
  </records>
</OA>

We can then query the FTP site for a tarball containing the JATS article, the accompanying figures, the license, and a PDF version.