Hi Guys.
I have a couple of things to ask your opinions on.
Firstly.
What's the best way to check metadata from an ePub to see if all the information you put in is correct? Insofar as how it will display on the various eBook websites without actually uploading?
Secondly. And this more about Best practice coding to spec I guess.
I output from InDesignCS3 and the resulting metadata code seems to be different to other people's, but because it still validates I haven't concerned myself with it until now. So I'm going to walk down the metadata section and insert my questions as I go.
Code:
<?xml version="1.0"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="bookid" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
I've seen some with this OPF reference.
Code:
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
I don't know what this means or why it's needed.
Code:
<dc:title>Book Title</dc:title>
<dc:identifier id="bookid">urn:uuid:b9ffc7ae-2221-68aa-a5d5-6aa0d7309af6</dc:identifier>
<dc:identifier id="isbn_1234567890123">123-4-5678-9012-3</dc:identifier>
So I don't get why I should change my line above to read like the line below.
Code:
<dc:identifier opf:scheme="ISBN">123-4-5678-9012-3</dc:identifier>
Code:
<dc:creator>Author Name</dc:creator>
Also why this line needs to be changed to below?
Code:
<dc:creator opf:role="aut" opf:file-as="Name, Author">Author Name</dc:creator>
Code:
<dc:publisher>Publisher</dc:publisher>
<dc:rights>Copyright © Author Name 2011</dc:rights>
<dc:format />
<dc:date>2011</dc:date>
<dc:description>Blurb</dc:description>
What's the best way to format the Blurb? Is it ok to keep it all on one long line, inserting breaks only at paragraphs, or can I insert line breaks to condense the width?
Code:
<dc:subject>Fiction</dc:subject>
<dc:language>en</dc:language>
<meta name="cover" content="my-cover-image"/>
</metadata>
Thanks for any help.
It's confusing as why, if both methods work, to people bother adding the extra code?