Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-14-2012, 08:25 PM   #1
Jorge Junior
Member
Jorge Junior began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Sep 2012
Location: Rio de Janeiro - Brasil
Device: Genesis GT-1230
Can I create a new metadata?

Hi.

I used to use Moon+ Reader, but after an update it erased the tags of my 150 books, so I decided to change.

I installed Mantano Reader Premium.
Well, like any e-book reader, Mantano lets me sort the books by tag, author, ... and, for my surprise, I can also sort them by series. And that's my doubt!

Suppose I have the books The Fellowship of the Ring, The Two Towers and The Return of the King. What (and how ) can I do so that Mantano Reader understands that these 3 books belong to the Lord of the Ring serie?
Jorge Junior is offline   Reply With Quote
Old 09-15-2012, 05:58 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
There is no standard metadata for series. Calibre uses its own. So, if it isn't in the documentation what the reader uses, it will be trial and error.
Toxaris is offline   Reply With Quote
Old 09-15-2012, 11:56 AM   #3
Jorge Junior
Member
Jorge Junior began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Sep 2012
Location: Rio de Janeiro - Brasil
Device: Genesis GT-1230
Thanks for your answer, Toxaris.

I have a book called "O Mar de Monstros", which Mantano added to the "Percy Jackson e os Olimpianos" serie.

I used Sigil to edit the content.opf file but, as I undestand nothing about html codes, I simply copied and pasted these lines over another book OPF. I altered the name and serie of the book and pasted it at the same position... just below </dc:language>. It didn't work!


<meta content="2" name="calibre:series_index" />
<meta content="Mar de Monstros, O" name="calibre:title_sort" />
<meta content="2012-02-05T00:50:46+00:00" name="calibre:timestamp" />
<meta content="cover" name="cover" />
<meta content="Percy Jackson e os Olimpianos" name="calibre:series" />
<meta content="0.5.3" name="Sigil version" />
</metadata>
Jorge Junior is offline   Reply With Quote
Old 09-15-2012, 03:04 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,515
Karma: 43764640
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I very much doubt Mantano is using calibre metadata entries to organize books "by series."

You'd probably be better served posting the entire metadata section (or the entire OPF file) of an ePub that behaves as expected in Mantano. Someone might be able to pick out the particulars that way.
DiapDealer is offline   Reply With Quote
Old 09-15-2012, 08:43 PM   #5
Jorge Junior
Member
Jorge Junior began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Sep 2012
Location: Rio de Janeiro - Brasil
Device: Genesis GT-1230
Quote:
Originally Posted by DiapDealer View Post
You'd probably be better served posting the entire metadata section (or the entire OPF file) of an ePub that behaves as expected in Mantano.
Here's the entire content.opf. The name of the book is "O Mar de Monstros", and Mantano understands that it belongs to the serie "Percy Jackson e os Olimpianos".

p.s. I don't use Calibre. It's not even installed. I use Sigil to edit the epubs.


<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0">
<metadata xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:opf="http://www.idpf.org/2007/opf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dc:identifier id="uuid_id" opf:scheme="uuid">564ae969-ea59-4686-9270-3a6055a851a5</dc:identifier>
<dc:title>O Mar de Monstros</dc:title>
<dc:subject>Literatura Estrangeira</dc:subject>
<dc:subject>Literatura Infanto-Juvenil</dc:subject>
<dc:creator opf:role="aut">Rick Riordan</dc:creator>
<dc:contributor opf:role="bkp">calibre (0.8.37) [http://calibre-ebook.com]</dc:contributor>
<dc:description>Percy e seus amigos estão em busca do velocino de ouro, o único artefato mágico capaz de proteger o acampamento Meio-Sangue da destruição. É com essa missão que ele e outros campistas partem para uma viagem pelo Mar de Monstros, onde deparam com seres fantásticos, perigos e situações inusitadas, que põem à prova seu heroísmo e sua herança. Está em jogo a existência de seu refúgio predileto e, até então, o lugar mais seguro do mundo para eles. Antes de tudo, porém, o herói precisará confrontar um mistério atordoante sobre sua família - algo que o fará questionar se ser filho de Poseidon é uma honra ou uma maldição.</dc:description>
<dc:publisher>INTRINSECA</dc:publisher>
<dc:language>pt</dc:language>
<meta content="2" name="calibre:series_index" />
<meta content="Mar de Monstros, O" name="calibre:title_sort" />
<meta content="2012-02-05T00:50:46+00:00" name="calibre:timestamp" />
<meta content="cover" name="cover" />
<meta content="Percy Jackson e os Olimpianos" name="calibre:series" />
<meta content="0.5.3" name="Sigil version" />
</metadata>
<manifest>
<item href="Images/cover.jpeg" id="cover" media-type="image/jpeg" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_000.htm" id="html22" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_001.htm" id="html21" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_002.htm" id="html20" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_003.htm" id="html19" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_004.htm" id="html18" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_005.htm" id="html17" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_006.htm" id="html16" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_007.htm" id="html15" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_008.htm" id="html14" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_009.htm" id="html13" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_010.htm" id="html12" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_011.htm" id="html11" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_012.htm" id="html10" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_013.htm" id="html9" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_014.htm" id="html8" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_015.htm" id="html7" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_016.htm" id="html6" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_017.htm" id="html5" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_018.htm" id="html4" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_019.htm" id="html3" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_020.htm" id="html2" media-type="application/xhtml+xml" />
<item href="Text/Rick%20Riordan%20-%20Percy%20Jackson%20e%20os%20Olimpianos%20-%20II%20-%20O%20Mar%20de%20Monstros_split_021.htm" id="html1" media-type="application/xhtml+xml" />
<item href="Images/image001.gif" id="added" media-type="image/gif" />
<item href="Images/image002.gif" id="added1" media-type="image/gif" />
<item href="Styles/stylesheet.css" id="css" media-type="text/css" />
<item href="Text/titlepage.xhtml" id="titlepage" media-type="application/xhtml+xml" />
<item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" />
<item href="Images/m_logo.png" id="m_logo.png" media-type="image/png" />
</manifest>
<spine toc="ncx">
<itemref idref="titlepage" />
<itemref idref="html22" />
<itemref idref="html21" />
<itemref idref="html20" />
<itemref idref="html19" />
<itemref idref="html18" />
<itemref idref="html17" />
<itemref idref="html16" />
<itemref idref="html15" />
<itemref idref="html14" />
<itemref idref="html13" />
<itemref idref="html12" />
<itemref idref="html11" />
<itemref idref="html10" />
<itemref idref="html9" />
<itemref idref="html8" />
<itemref idref="html7" />
<itemref idref="html6" />
<itemref idref="html5" />
<itemref idref="html4" />
<itemref idref="html3" />
<itemref idref="html2" />
<itemref idref="html1" />
</spine>
<guide>
<reference href="Text/titlepage.xhtml" title="Cover" type="cover" />
</guide>
</package>
Jorge Junior is offline   Reply With Quote
Old 09-15-2012, 09:20 PM   #6
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,222
Karma: 5940081
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Lots of Publishers use Calibre in their work flow. One can only hope that Kovid gets compensated
That book was converted(?) on 5 February 2012

Interesting that a device recognizes a non-standard identifier
theducks is offline   Reply With Quote
Old 09-16-2012, 04:29 AM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,308
Karma: 4898871
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DiapDealer View Post
I very much doubt Mantano is using calibre metadata entries to organize books "by series."
It wouldn't surprise me. There's no standard metadata, and calibre entries are probably the most extended, it wouldn't be strange that Mantano decided to recognize what most users will be using... And this post says that's the case.

Quote:
I altered the name and serie of the book and pasted it at the same position... just below </dc:language>. It didn't work!
Don't copy and paste code you don't understand, you can break things that work... That said, the code looks OK.

Did you have the book with no series added to the library already before modifying the metadata? It could be that the metadata was read only when the book was first added, and further modifications to the book are not reflected in the library. Try to remove the book and add it again, or to add the series metadata to a book that has never touched the Mantano.

If that works, you can add the series metadata with Sigil, I believe. Just add custom metadata fields named "calibre:series" and "calibre:series_index".
Jellby is offline   Reply With Quote
Old 09-16-2012, 08:55 AM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,515
Karma: 43764640
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Jellby View Post
... And this post says that's the case.
That's pretty sweet! I had no idea (obviously).
DiapDealer is offline   Reply With Quote
Old 09-17-2012, 10:20 AM   #9
Jorge Junior
Member
Jorge Junior began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Sep 2012
Location: Rio de Janeiro - Brasil
Device: Genesis GT-1230
OK.
Thanks for the answers.
Jorge Junior is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
series_index gets reset to [1] using "edit metadata in bulk, basic metadata" Boekenworm Library Management 4 11-25-2013 07:51 PM
ERROR: Failed to create library: Failed to create calibre library at: u'F:\\Calibre B feenix1363 Calibre 1 05-10-2012 06:45 PM
metadata.db Error - it became 0 kb sized. Need to re-create ygreq Calibre 1 03-15-2012 05:02 PM
[Metadata Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 03:10 PM
What is the difference between the main metadata.db and sub-directory metadata.db? iridius Library Management 5 02-23-2011 12:44 PM


All times are GMT -4. The time now is 12:40 AM.


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