Skip navigation
DP812
Currently Being Moderated

Exporting an ebook, no metadata?

Jun 25, 2013 11:29 PM

Tags: #epub #ebook_creation

I've been going through this multiple times, but I can't seem to figure out what the problem is.

 

Through File>File Info, I add metadata to my ebook. But once I export the ebook and view it, the metadata is nowhere to be found. The file name is used as the title and it's by "Author Unknown." The only metadata that gets exported is what I add in the publisher metadata option that appears in the export screen.

 

Also on this note, EPUB Validator keeps giving me a warning for OEBPS/content.opf, line 6 position 24 and the message is "title element is empty." Some searching on Google told me that this means there's no unique identifier, but I have entered one in through the export option.

 
Replies
  • Currently Being Moderated
    Jun 26, 2013 12:45 AM   in reply to DP812

    Which version of InDesign and OS?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2013 6:13 AM   in reply to DP812

    Try restoring your InDesign preferences. Here's how:

     

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2013 6:47 AM   in reply to DP812

    Only a limited amount of metadata from the File Info makes it into epub metadata.

    I don't have the list handy for CS5.5 but for CS6 we use the following under the "Description" Tab:

     

    "title", "creator", "subject", "description", "publisher", "date", "source", "relation", "coverage", "rights"

     

    I think your complaint from EPUBCheck is that you don't have a <title> element defined. which is required.

     

    We've made a lot of important changes in EPUB since 5.5, you might considering downloading CC trial to see if it makes your workflow better.

     

    Douglas Waterfall

    InDesign Engineering

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2013 7:01 AM   in reply to Douglas.Waterfall

    I think Douglas is correct. I forgot that back in CS5.5 the title element had to be added manually to the EPUB.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2013 7:02 AM   in reply to Douglas.Waterfall

    Hi Douglas,

     

    As you're viewing this thread: Do you know if there's a way to script

    additional XMP properties such that they will be added to ePub export?

    Obviously it is possible to add XMP with scripting, but (in another

    thread) I was unable to add it in such as way that it will appear in the

    ePub metada.

     

    Do you happen to know offhand if this is actually possible?

     

    If not, would you know if creating a custom XMP panel with the XMP SDK

    would solve the problem?

     

    Thanks (and sorry for diverting the thread somewhat),

     

    Ariel

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2013 7:13 AM   in reply to [Ariel]

    No. We only generate a limited amount of metadata for EPUB2 and we grab that in a very simplistic way from the XMP. This did not change in CC.

     

    The EPUB2 spec does allow more metadata to be added but I find it rather complicated to understand how to do this in a way that is effective, that is, whoever is going to read the metadata needs to know how you've coded it, right? There is a lot of stuff in the XMP and it is not clear how much of it should end up in the EPUB.

     

    I'm interested in provding more flexibility in this area for CC.next but I'm not sure the XMP is necessarily the way to go.

     

    Douglas Waterfall

    InDesign Engineering

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2013 7:29 AM   in reply to Douglas.Waterfall

    Ah, good to get a confirmation of something I was beginning to suspect

    -- that the ePub export metadata is not hardwired to XMP, rather

    selected info is carried over.

     

    I'll tell you what we need it for -- it's simply that when an ePub is

    submitted to the iBookstore (this is still, for us, the target vendor)

    iBookstore asks for a bunch of info, including BISAC codes, and quite a

    lot of other stuff, and it would be nice if all this information could

    be part of the InDesign file so that if any changes or edits are made

    and an ePub re-exported, it doesn't all have to be keyed-in from scratch

    when submitting the file to them.

     

    Right now I'm finding that it's actually possible to create an InDesign

    file that does not need any editing of the ePub file produced by

    InDesign in an external editor (especially since we can attach a custom

    CSS file) -- the only thing that prevents this being completely

    self-contained is the metadata.

     

    Ariel

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2013 9:13 AM   in reply to [Ariel]

    I would very much like to understand what your final metadata looks like after you've added it.

     

    This is an area that I think should be improved but there is a range of options with a range of costs and I'd appreciate your input.

     

    Can you contact me off-list at douglas.waterfall@adobe.com at your convenience?

     

    Thanks

     

    Douglas Waterfall

    InDesign Engineering

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2013 9:37 PM   in reply to DP812

    Oooh, now I'm getting skeptical. Can you copy/paste the top part of your .OPF file so we can see it?

     

    It will look something like this:

     

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="bookid" version="3.0">

        <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">

            <meta name="generator" content="Adobe InDesign 9.1 Build 10" />

            <meta name="cover" content="x203.png" />

            <dc:title>flower</dc:title>

            <dc:date>2013-06-20</dc:date>

            <dc:language>en</dc:language>

            <meta property="dcterms:modified">2013-06-20T12:00:00Z</meta>

            <dc:identifier id="bookid">urn:uuid:29d919dd-24f5-4384-be78-b447c9dc299b</dc:identif ier>

        </metadata>

     

    You are selecting the optiion "Include Document Metadata" under the EPUB Export Dialog Advanced Tab, right?

     

    Douglas Waterfall

    InDesign Engineering

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2013 11:50 PM   in reply to DP812

    Ah, that was an important clue.

     

    We appear to use the Style Source document as the "key" document - go put the metadata there.

     

    What document were you putting it in - the first I might imagine? Not very easy to discover, is it?

     

    Douglas Waterfall

    InDesign Engineering

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points