
: Re: how to properly declare metadata in epub3 couple questions about metadata in epub3: is the namespaced opf attribute (opf:file-as="", for example) deprecated? if so, does anyone know why? given that
The difference between the suggestions from the source you pointed at is how you define the target element. You should be aware that a lot of the metadata options available in an EPUB 3 can have multiple occurrences.
E.g. 1
<metadata ...>
...
<dc:creator id="author">John Doe</dc:creator>
<dc:creator id="author1">Jane Doe</dc:creator>
<meta property="dccreator:file-as">Something</meta>
...
</metadata>
The above example is problematic because the meta element is trying to work on the dc:creator element, except there are two of them. Which one does it go for?
E.g 1 - Solution
<metadata ...>
...
<dc:creator id="author">John Doe</dc:creator>
<dc:creator id="author1">Jane Doe</dc:creator>
<meta refines="#author" property="file-as">Doe, John</meta>
<meta refines="#author1" property="file-as">Doe, Jane</meta>
...
</metadata>
You should use the refines attribute and the simplified version of the property attribute (e.g. 'file-as') when there is more than one occurrence of the target metadata element. The refines attribute allows you to specify by the id attribute of the target element (which according to specs must be unique).
If you do not specify a refines attribute, and the property attribute doesn't refer specifically to a reserved list of EPUB 3 spec metadata (Dublin Core), then the meta element is deemed to be working on the publication as a whole.
Other Examples
// We only have a single dc:title in our metadata so we can use the extended property attribute in the meta element
<metadata ...>
...
<dc:title id="title">My Book</dc:title>
<meta property="dctitle:file-as">Book, My</meta>
...
</metadata>
// This is only hypothetical, as I'm not sure whether the publication itself would require a 'Metadata Authority' definition.
<metadata ...>
...
<dc:title id="title">My Book</dc:title>
<meta property="meta-auth">Awesome EPUB Organization</meta>
...
</metadata>
EDIT: In regard to what meta::property values are allowed have a look here: Archived from the original on epubzone.org here
Also, the latest official IDPF specifications for EPUB Open Container Format may be found here: www.w3.org/publishing/epub3/epub-spec.html#sec-core-media-types
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Kevin

: Kindle for PDF only Should I buy kindle for reading PDFs only? I usually read lots of books on programming, software development and investment only. So, Should I buy kindle for the same. Because

: Damaged kindle- change lines per page? this is a long shot but I thought I would try: My older Kindle (6", b&w, no backlight) has sustained some damage to the bottom (1/3" or less) of