Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
EOASkripts/metadatamapping.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (29 sloc)
2.23 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a mapping of the fields in `publication.cfg` to their counterparts in a TEI header | |
# Mandatory values (according to database schema) | |
- publicationdate: //t:teiHeader/t:fileDesc/t:publicationStmt/t:date/@when | |
- language: //t:teiHeader/t:profileDesc/t:langUsage/t:language/@ident | |
- license: //t:teiHeader/t:fileDesc/t:publicationStmt/t:availability/t:licence/text() | |
- number: //t:teiHeader/t:fileDesc/t:titleStmt/t:title[@level='s']/@n | |
- series: //t:teiHeader/t:fileDesc/t:titleStmt/t:title[@level='s']/text() | |
- title: //t:teiHeader/t:fileDesc/t:titleStmt/t:title[@type='main']/text() | |
# Optional values (according to database schema) | |
- subtitle: //t:teiHeader/t:fileDesc/t:titleStmt/t:title[@type='sub']/text() | |
- isbn: //t:teiHeader/t:fileDesc/t:publicationStmt/t:idno[@type='ISBN']/text() | |
- pages: //t:teiHeader/t:fileDesc/t:extent/t:measure[@commodity='pages']/@quantity | |
- price: //t:teiHeader/t:fileDesc/t:extent/t:measure[@type='price']/@quantity | |
- shoplink_url: //t:teiHeader/t:fileDesc/t:publicationStmt/t:idno[@type='shoplink'] | |
- brief_desc: //t:teiHeader/t:profileDesc/t:abstract[@n='BriefDescription'] | |
- detail_desc: //t:teiHeader/t:profileDesc/t:abstract[@n='DetailedDescription'] | |
- additional_info: //t:teiHeader/t:fileDesc/t:sourceDesc/t:abstract[@n='additionalinformation'] | |
- dedication: //t:text/t:front/t:div[@type='dedication']/t:ab/text() | |
- submitters: //t:teiHeader/t:fileDesc/t:titleStmt/t:editor[@role='submitter']" | |
- publicationmanagers: //t:teiHeader/t:fileDesc/t:titleStmt/t:editor[@role='publicationmanager']" | |
- publicationassistants: //t:teiHeader/t:fileDesc/t:titleStmt/t:editor[@role='publicationassistant']" | |
- editorialcoordinators: //t:teiHeader/t:fileDesc/t:titleStmt/t:editor[@role='editorialcoordinator']" | |
- copyeditors: //t:teiHeader/t:fileDesc/t:titleStmt/t:editor[@role='copyeditor']" | |
- translators: //t:teiHeader/t:fileDesc/t:titleStmt/t:editor[@role='translator']" | |
- keywords: //t:teiHeader/t:profileDesc/t:textClass/t:keywords/t:list/t:item" | |
- authors: //t:teiHeader/t:fileDesc/t:titleStmt/t:author" | |
- editors: //t:teiHeader/t:fileDesc/t:titleStmt/t:editor[@role='volumeditor']" | |
- zusatz: //t:teiHeader/t:fileDesc/t:titleStmt/t:editor" | |
- suggestedcitation: //t:teiHeader/t:fileDesc/t:sourceDesc/t:bibl/text() |