#436 ePub generation: metadata

closed-accepted
5
2012-10-04
2012-08-30
No

Dear Sebastian,

generating an ePub from a TEI source (http://www.perseus.tufts.edu/hopper/opensource/downloads/texts/tei/1999.04.0074.xml) using Oxgarage, I noticed that the metadata <publisher> in ePub is taken from the TEI <availabilty> tag. I guess the TEI <publisher> tag (from <publicationStmt>) should be the right choice.

Many thanks for your help,

Pablo

Discussion

  • Sebastian Rahtz

    Sebastian Rahtz - 2012-09-09

    the dc:publisher is generated by the template generatePublisher, which says

    <xsl:value-of select="normalize-space(ancestor-or-self::tei:TEI/tei:teiHeader/tei:fileDesc/tei:publicationStmt)"/>

    so I am puzzled. I dont know where you are seeing publisher from availability.

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2012-09-09
    • status: open --> open-rejected
     
  • Pablo Rodriguez

    Pablo Rodriguez - 2012-09-09

    Well, from the generated ePub file (actually from /OPS/contenf.opf):

    <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">Trustees of Tufts UniversityMedford, MAThis text may be freely distributed, subject to the following restrictions: You credit Perseus, as follows, whenever you use the document: Text provided by Perseus Digital Library, with funding from National Library of Medicine History of Medicine Division. Original version available for viewing and download at http://www.perseus.tufts.edu/hopper/.You leave this availability statement intact.You use it for non-commercial purposes only.You offer Perseus any modifications you make.</dc:publisher>

    And this comes from <publicationStmt> in the XML file. I don't know whether this is good encoding, but <publicationStmt> includes <availability> (which it should be right since teilite.odd has the same encoding practice).

    I guess that only the <publisher> from <publicationStmt> (and not even <pubPlace>) should be included in the <dc:publisher> metadata field.

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2012-10-04
    • status: open-rejected --> closed-accepted
     
  • Sebastian Rahtz

    Sebastian Rahtz - 2012-10-04

    this should be ok now. I will show any or all of tei:authority|tei:publisher|tei:distributor|tei:p
    from publicationSmt

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks