Difference between revisions of "PubMan Func Spec Submission/Generic TEI 2 PubItem Mapping"

From MPDLMediaWiki
Jump to navigation Jump to search
(→‎Examples: added example from spec)
Line 66: Line 66:


==Examples==
==Examples==
TEI P5 example header (http://www.tei-c.org/release/doc/tei-p5-doc/en/html/HD.html#HD7):
<pre>
<teiHeader>
<fileDesc>
  <titleStmt>
  <title>Common sense, a machine-readable transcript</title>
  <author>Paine, Thomas (1737-1809)</author>
  <respStmt>
    <resp>compiled by</resp>
    <name>Jon K Adams</name>
  </respStmt>
  </titleStmt>
  <editionStmt>
  <edition>
    <date>1986</date>
  </edition>
  </editionStmt>
  <publicationStmt>
  <distributor>Oxford Text Archive.</distributor>
  <address>
    <addrLine>Oxford University Computing Services,</addrLine>
    <addrLine>13 Banbury Road,</addrLine>
    <addrLine>Oxford OX2 6RB,</addrLine>
    <addrLine>UK</addrLine>
  </address>
  </publicationStmt>
  <notesStmt>
  <note>Brief notes on the text are in a
      supplementary file.</note>
  </notesStmt>
  <sourceDesc>
  <biblStruct>
    <monogr>
    <editor>Foner, Philip S.</editor>
    <title>The collected writings of Thomas Paine</title>
    <imprint>
      <pubPlace>New York</pubPlace>
      <publisher>Citadel Press</publisher>
      <date>1945</date>
    </imprint>
    </monogr>
  </biblStruct>
  </sourceDesc>
</fileDesc>
<encodingDesc>
  <samplingDecl>
  <p>Editorial notes in the Foner edition have not
      been reproduced. </p>
  <p>Blank lines and multiple blank spaces, including paragraph
      indents, have not been preserved. </p>
  </samplingDecl>
  <editorialDecl>
  <correction status="high" method="silent">
    <p>The following errors
        in the Foner edition have been corrected:
    <list>
      <item>p. 13 l. 7 cotemporaries contemporaries </item>
      <item>p. 28 l. 26 [comma] [period] </item>
      <item>p. 84 l. 4 kin kind </item>
      <item>p. 95 l. 1 stuggle struggle </item>
      <item>p. 101 l. 4 certainy certainty </item>
      <item>p. 167 l. 6 than that </item>
      <item>p. 209 l. 24 publshed published </item>
    </list>
    </p>
  </correction>
  <normalization>
    <p>No normalization beyond that performed
        by Foner, if any. </p>
  </normalization>
  <quotation marks="all" form="std">
    <p>All double quotation marks
        rendered with ", all single quotation marks with
        apostrophe. </p>
  </quotation>
  <hyphenation eol="none">
    <p>Hyphenated words that appear at the
        end of the line in the Foner edition have been reformed.</p>
  </hyphenation>
  <stdVals>
    <p>The values of <att>when-iso</att> on the <gi>time</gi>
        element always end in the format <val>HH:MM</val> or
    <val>HH</val>; i.e., seconds, fractions thereof, and time
        zone designators are not present.</p>
  </stdVals>
  <interpretation>
    <p>Compound proper names are marked. </p>
    <p>Dates are marked. </p>
    <p>Italics are recorded without interpretation. </p>
  </interpretation>
  </editorialDecl>
  <classDecl>
  <taxonomy xml:id="lcsh">
    <bibl>Library of Congress Subject Headings</bibl>
  </taxonomy>
  <taxonomy xml:id="lc">
    <bibl>Library of Congress Classification</bibl>
  </taxonomy>
  </classDecl>
</encodingDesc>
<profileDesc>
  <creation>
  <date>1774</date>
  </creation>
  <langUsage>
  <language ident="en" usage="100">English.</language>
  </langUsage>
  <textClass>
  <keywords scheme="#lcsh">
    <list>
    <item>Political science</item>
    <item>United States -- Politics and government —
          Revolution, 1775-1783</item>
    </list>
  </keywords>
  <classCode scheme="#lc">JC 177</classCode>
  </textClass>
</profileDesc>
<revisionDesc>
  <change when="1996-01-22">
  <name>CMSMcQ</name> finished proofreading
  </change>
  <change when="1995-10-30">
  <name>L.B. </name> finished proofreading
  </change>
  <change when="1995-07-20">
  <name>R.G. </name> finished proofreading
  </change>
  <change when="1995-07-04">
  <name>R.G. </name> finished data entry
  </change>
  <change when="1995-01-15">
  <name>R.G. </name> began data entry
  </change>
</revisionDesc>
</teiHeader>
</pre>


==References==
==References==

Revision as of 08:47, 2 June 2009

This page specifies the mapping from TEI xml to eSciDoc Publication Metadata.

This page is still under construction - please use the discussion page to comment.

(A PEER specific mapping can be found here)

Mapping[edit]

This mapping bases on the P5 Guidelines.

TEI Element PubMan Metadata Set Comment
teiHeader.fileDesc.titleStmt.title
teiHeader.fileDesc.titleStmt.author
teiHeader.fileDesc.titleStmt.editor
teiHeader.fileDesc.titleStmt.sponsor
teiHeader.fileDesc.titleStmt.funder
teiHeader.fileDesc.titleStmt.principal
teiHeader.fileDesc.titleStmt.respStmt.resp
teiHeader.fileDesc.titleStmt.respStmt.name
teiHeader.fileDesc.editionStmt
teiHeader.fileDesc.extent
teiHeader.fileDesc.publicationStmt
teiHeader.fileDesc.seriesStmt
teiHeader.fileDesc.notesStmt
teiHeader.fileDesc.sourceStmt
teiHeader.encodingDesc
teiHeader.profileDesc
teiHeader.profileDesc.creation Date.Date Set Date.DateType to created.
teiHeader.revisionDesc
text.front
text.body
text.back

Annotations[edit]

Examples[edit]

TEI P5 example header (http://www.tei-c.org/release/doc/tei-p5-doc/en/html/HD.html#HD7):

<teiHeader>
 <fileDesc>
  <titleStmt>
   <title>Common sense, a machine-readable transcript</title>
   <author>Paine, Thomas (1737-1809)</author>
   <respStmt>
    <resp>compiled by</resp>
    <name>Jon K Adams</name>
   </respStmt>
  </titleStmt>
  <editionStmt>
   <edition>
    <date>1986</date>
   </edition>
  </editionStmt>
  <publicationStmt>
   <distributor>Oxford Text Archive.</distributor>
   <address>
    <addrLine>Oxford University Computing Services,</addrLine>
    <addrLine>13 Banbury Road,</addrLine>
    <addrLine>Oxford OX2 6RB,</addrLine>
    <addrLine>UK</addrLine>
   </address>
  </publicationStmt>
  <notesStmt>
   <note>Brief notes on the text are in a
       supplementary file.</note>
  </notesStmt>
  <sourceDesc>
   <biblStruct>
    <monogr>
     <editor>Foner, Philip S.</editor>
     <title>The collected writings of Thomas Paine</title>
     <imprint>
      <pubPlace>New York</pubPlace>
      <publisher>Citadel Press</publisher>
      <date>1945</date>
     </imprint>
    </monogr>
   </biblStruct>
  </sourceDesc>
 </fileDesc>
 <encodingDesc>
  <samplingDecl>
   <p>Editorial notes in the Foner edition have not
       been reproduced. </p>
   <p>Blank lines and multiple blank spaces, including paragraph
       indents, have not been preserved. </p>
  </samplingDecl>
  <editorialDecl>
   <correction status="high" method="silent">
    <p>The following errors
         in the Foner edition have been corrected:
    <list>
      <item>p. 13 l. 7 cotemporaries contemporaries </item>
      <item>p. 28 l. 26 [comma] [period] </item>
      <item>p. 84 l. 4 kin kind </item>
      <item>p. 95 l. 1 stuggle struggle </item>
      <item>p. 101 l. 4 certainy certainty </item>
      <item>p. 167 l. 6 than that </item>
      <item>p. 209 l. 24 publshed published </item>
     </list>
    </p>
   </correction>
   <normalization>
    <p>No normalization beyond that performed
         by Foner, if any. </p>
   </normalization>
   <quotation marks="all" form="std">
    <p>All double quotation marks
         rendered with ", all single quotation marks with
         apostrophe. </p>
   </quotation>
   <hyphenation eol="none">
    <p>Hyphenated words that appear at the
         end of the line in the Foner edition have been reformed.</p>
   </hyphenation>
   <stdVals>
    <p>The values of <att>when-iso</att> on the <gi>time</gi>
         element always end in the format <val>HH:MM</val> or
    <val>HH</val>; i.e., seconds, fractions thereof, and time
         zone designators are not present.</p>
   </stdVals>
   <interpretation>
    <p>Compound proper names are marked. </p>
    <p>Dates are marked. </p>
    <p>Italics are recorded without interpretation. </p>
   </interpretation>
  </editorialDecl>
  <classDecl>
   <taxonomy xml:id="lcsh">
    <bibl>Library of Congress Subject Headings</bibl>
   </taxonomy>
   <taxonomy xml:id="lc">
    <bibl>Library of Congress Classification</bibl>
   </taxonomy>
  </classDecl>
 </encodingDesc>
 <profileDesc>
  <creation>
   <date>1774</date>
  </creation>
  <langUsage>
   <language ident="en" usage="100">English.</language>
  </langUsage>
  <textClass>
   <keywords scheme="#lcsh">
    <list>
     <item>Political science</item>
     <item>United States -- Politics and government —
           Revolution, 1775-1783</item>
    </list>
   </keywords>
   <classCode scheme="#lc">JC 177</classCode>
  </textClass>
 </profileDesc>
 <revisionDesc>
  <change when="1996-01-22">
   <name>CMSMcQ</name> finished proofreading
  </change>
  <change when="1995-10-30">
   <name>L.B. </name> finished proofreading
  </change>
  <change when="1995-07-20">
   <name>R.G. </name> finished proofreading
  </change>
  <change when="1995-07-04">
   <name>R.G. </name> finished data entry
  </change>
  <change when="1995-01-15">
   <name>R.G. </name> began data entry
  </change>
 </revisionDesc>
</teiHeader>

References[edit]