Mapping between ContentDM metadata and TEI

28/05/12

Permalink 10:00:43 am, by mholmes, 189 words, 149 views   English (CA)
Categories: Activity log; Mins. worked: 210

Mapping between ContentDM metadata and TEI

This is the complete mapping for copying metadata over from the ContentDM records to our TEI files:

  • dc:title (multiple): titleStmt/title, bibl/title.
  • dc:description[1]: notesStmt/note (replace the first one).
  • dc:description[preceding-sibling::dc:description][string-length(.) gt 50]: notesStmt/note (add new ones). These are the textual descriptions; the shorter ones are various scale and coordinate details.
  • dc:description[matches(., "^[0-9]+[ 0-9'NW\-\./]+$") and string-length(.) gt 3]: bibl/geo. These one-line expressions of geo locations will have to be further processed into something we can use to map to Google. They're not really in consistent format.
  • dc:subject (multiple) = notesStmt/note type="subject".
  • dc:creator = bibl/author.
  • dc:contributor[not(preceding-sibling::dc:creator)][not(starts-with(., 'Fund')] = bibl/author.
  • dc:language == 'eng' : bibl/@xml:lang = 'en'
  • dc:language == 'spa' : bibl/@xml:lang = 'es'
  • dc:contributor[starts-with(., 'Fund')] = funder.
  • dc:publisher = bibl/publisher
  • dc:relation = bibl/publisher (really should be repository, but we don't want to be get into having a full msIdentifier).
  • dc:identifier[starts-with(., 'http://contentdm')] = idno type="contentdm".

I'm now halfway through the XSLT which will integrate the metadata into the TEI files. Should be done tomorrow.

Pingbacks:

No Pingbacks for this post yet...

Colonial Despatches

The Colonial Despatches is an XML database project which is creating a digital archive containing the original correspondence between the British Colonial Office and the colonies of Vancouver Island and British Columbia. The project lives at http://bcgenesis.uvic.ca, and the web application runs on the Pear dev Tomcat. The XML data is managed in SVN at http://revision.tapor.uvic.ca/svn/coldesp/.

Reports

Categories

May 2013
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

XML Feeds