View Single Post
Old 11-09-2015, 10:48 AM   #1
nylnook
Junior Member
nylnook began at the beginning.
 
nylnook's Avatar
 
Posts: 9
Karma: 10
Join Date: Nov 2015
Device: none
Custom metadata command line for a fixed layout comic

Hi Calibre community !

I'm new to to world of ebooks, and I try to publish my first comic as an ebook...
I'm also a Linux user, so I created a really simple bash script to convert a serie of jpg files to a CBZ file and then an ePUB :

zip $joinedfilename.cbz *.jpg
ebook-convert $joinedfilename.cbz $joinedfilename.epub --authors "$creator" --publisher "$creator" --title "$title" --isbn "$ebookIsbn" --pubdate "$pubDate" --no-default-epub-cover --dont-grayscale --keep-aspect-ratio

And It work like a charm, thanks to Calibre !

but I discovered today than Amazon want more metadatas :
"Error Description :Your book content appears to be fixed-format layout, but it is missing a fixed-format metadata tag. Please consult sections 4.1 and 5.1 of the Kindle Publishing Guidelines to determine the best formatting choice for your content."
So, it's required I add :
<meta property="rendition:layout">pre-paginated</meta>
and
<meta name="original-resolution" content="584x754"/>
to my epub ...

But with ebook-convert and ebook-meta, I can't find a way to add them...

I can edit the ebook withe the graphical client, but I'd like to automate the process...

Any Idea ?
Thanks a lot in advance !
nylnook is offline   Reply With Quote