View Full Version : Epub meta property


curiousgeorge
10-03-2012, 12:02 PM
Im getting a lot of meta properties in the .opf file but per apple standards it will not validate and I was curious to know why?? I cant find any solid research on this so I thought id ask.

example:

<opf:meta property="dcterms:modified">
2012-04-12T12:00:00Z
</opf:meta>


I would say its a date tag but they already have it written in here as:
<dc:date>2012</dc:date>

Toxaris
10-03-2012, 03:36 PM
What is generating these tags?

mzmm
10-03-2012, 04:08 PM
I would say its a date tag

it's not a date tag, it's a newly required property in epub3. apple requires both the date element and a meta element with the property dcterms:modified for all epub3s.

the date element in the opf should only be used to define the publishing date, whereas the dcterms:modified property is used to define the last time the content of the publication was updated (i suppose for creating updated versions of the same text after proofreading, debugging, etc).

so, if you're intending to produce an epub3, you should have something like
<dc:date>2000-01-01T00:00:00Z</dc:date>
<meta property="dcterms:modified">2011-01-01T12:00:00Z</meta>
in your opf.

i've never seen the <meta ..> prefaced by opf: (ie, <opf:meta ...></opf:meta>), though. where did that come from?

read all about dcterms:modified here: http://idpf.org/epub/30/spec/epub30-publications.html#last-modified-date

curiousgeorge
10-03-2012, 04:20 PM
i was wondering about the opf:, too. Its weird that it still validates on three sites but I would of imagined it should have been coded as dc:meta.