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: https://www.w3.org/publishing/epub3/epub-spec.html#sec-core-media-types