Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-02-2011, 10:46 PM   #1
photoluminations
Member
photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.
 
Posts: 23
Karma: 3022
Join Date: Jul 2011
Device: none
Importing metadata when creating epub

I am building an original epub book from html + css files. I wish to enter the metadata from a text file. I can't download from the usual places which describe already-published books. Is there a way to import the metadata?

Since I am developing the format as well as the content, I need to generate new epub copies frequently, and would like to import the metadata by calling it from a file.

I recognize that I can open the epub after it is generated by calibre and include a file with the metata, then re-zip. Is there another way?
photoluminations is offline   Reply With Quote
Old 08-02-2011, 10:47 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,160
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Put your metadata in the html

https://www.mobileread.com/forums/sho...44&postcount=9
kovidgoyal is offline   Reply With Quote
Advert
Old 08-03-2011, 06:08 PM   #3
photoluminations
Member
photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.photoluminations could sell banana peel slippers to a Deveel.
 
Posts: 23
Karma: 3022
Join Date: Jul 2011
Device: none
Need further advice, example please

OK, that was a helpful lead. But I'm having problems implementing.

I enter the metadata in the head part of the html file, but I am missing how to code this properly.

If I enter the package and metadata declarations, it seems NOT to accept closing tags. Some of the metadata flows through and can be read by Adobe Digital Reader (ADR), but unless I enter the publisher in the "edit metadata" section of calibre, ADR says publisher unknown.

If I just enter the metadata details in the head of the html file, the first page of the calibre epub output lists the metadata.

My goal remains to create a metadata entry that does not require tweaking in calibre or after generating the epub. Kindly point out where I have gone astray. Thanks.

From the head section of the html:

<?xml version="1.0" encoding="UTF-8" ?>
<package version="2.0" unique-identifier="PrimaryID" xmlns="http://www.idpf.org/2007/opf">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlnspf="http://www.idpf.org/2007/opf">

TITLE <dc:title>A Tree for Max: A Fable</dc:title>
AUTHOR <dc:creator opf:role="aut">Jerry Halberstadt
opf:file-as="Halberstadt, Jerry"
</dc:creator>

PUBLISHER <dcublisher>New Technology Publishing, Inc.: Photoluminations</dcublisher>
PUB DATE <dc:date>2011-09 </dc:date>
ID <dc:identifier id="PrimaryID">ISBN: 978-1-882431-11-3</dc:identifier>
LANGUAGE <dc:language>en</dc:language>
DESCRIPTION<dc:description>Trees, birds, and a dog cooperate to help Max get a tree to help him adjust to his new home. A story of loss and discovery, a fable of growth and change, and love of the natural world shown in beautiful photographs.</dc:description>
RIGHTS<dc:rights>Copyright 2011 Jerry Halberstadt</dc:rights>
photoluminations is offline   Reply With Quote
Reply

Tags
epub creation, metadata import


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
importing metadata into custom columns taleia Library Management 4 10-03-2023 05:56 AM
Importing Metadata from .bib or MySQL Database Hazeldor Library Management 3 03-21-2011 05:57 AM
Re-importing Library after corrupt metadata.db samhain Library Management 3 03-07-2011 01:57 PM
importing books into calibre and metadata - I think! Yirabeth Library Management 9 01-26-2011 04:30 PM
Importing - Metadata aquisition Justy Calibre 1 02-05-2010 03:44 PM


All times are GMT -4. The time now is 02:36 PM.


MobileRead.com is a privately owned, operated and funded community.