Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-16-2015, 03:24 PM   #1
Budfudder
Enthusiast
Budfudder began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
metadata tags

I notice that there are some metadata tags that Calibre appears unable to address, and some it is able to change, but not remove.

For example, I can't find anything in the documentation about modifying the value for the 'Copyright' tag, and I can't find a way to remove the value for the 'Languages' or 'Published' or 'Identifiers' tags.

Is this by design, or am I simply doing something wrong?

I use ebook-meta.exe mostly, rather than the GUI, if that makes any difference.
Budfudder is offline   Reply With Quote
Old 08-16-2015, 03:38 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Specify a null value for languages/publisher - it gets reset to the default. (english, published 0101-01-01T00:00:00+00:00)
It makes no sense to have a book without a language, or one that was never published (or at least written). Or so I would assume.


identifiers -- you need to clear each identifier (as stated in the --help).
Code:
ebook-meta /path/to/ebook --identifier "identifier-type:"

Copyright -- what copyright tag?

Last edited by eschwartz; 08-16-2015 at 03:42 PM.
eschwartz is offline   Reply With Quote
Advert
Old 08-16-2015, 05:46 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Budfudder - apart from Language all standard metadata items can be individually cleared by clicking the green 'recycle' buttons

Click image for larger version

Name:	Capture.JPG
Views:	166
Size:	29.0 KB
ID:	141115

BR
BetterRed is offline   Reply With Quote
Old 08-16-2015, 06:08 PM   #4
theducks
Well trained by Cats
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: 30,891
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I believe some meta tags are mandatory.
Clearing them, will allow the system default to be filled in on exiting.
theducks is online now   Reply With Quote
Old 08-16-2015, 06:39 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
I believe some meta tags are mandatory.
Clearing them, will allow the system default to be filled in on exiting.
PDFs do not have a specific place to put Language unless you embed it in XML. If you create a book via PDF there will be nothing in Language. If you create a book with a Text file then all bets are off - methinks you're being too EPUB centric.

Why has this thread been moved to the Book Editor sub-forum? I thought it was about metadata

BR
BetterRed is offline   Reply With Quote
Advert
Old 08-16-2015, 06:59 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Well, calibre also knows about the Language, so it will be in the calibre metadata.
What calibre metadata goes into the ebook file is often a subset of available metadata -- only EPUB can support any arbitrary metadata types.

ebook-meta, or the GUI, will certainly try to set the default value for certain "mandatory" metadata.
eschwartz is offline   Reply With Quote
Old 08-16-2015, 07:45 PM   #7
theducks
Well trained by Cats
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: 30,891
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by BetterRed View Post
PDFs do not have a specific place to put Language unless you embed it in XML. If you create a book via PDF there will be nothing in Language. If you create a book with a Text file then all bets are off - methinks you're being too EPUB centric.

Why has this thread been moved to the Book Editor sub-forum? I thought it was about metadata

BR
Moved because the OP was editing various places and it would not stay gone. I assume, this was in the book since they wanted Blank.

BTW Rights (copyright is a DTD field), which is another reason I figured this was an Edit

I guess Language also defaults (non blank) on the spreadsheet.
theducks is online now   Reply With Quote
Old 08-16-2015, 07:51 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Actually Language, like other editable metadata items, can be cleared by editing, via F2, in the book list and entering '-'.

The only metadata items I can think of that cannot be edited are the id and the UUID because there's no place where they're presented in an editable form.

BR

Last edited by BetterRed; 08-16-2015 at 07:55 PM.
BetterRed is offline   Reply With Quote
Old 08-17-2015, 06:00 PM   #9
Budfudder
Enthusiast
Budfudder began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
Quote:
Originally Posted by eschwartz View Post
Specify a null value for languages/publisher - it gets reset to the default. (english, published 0101-01-01T00:00:00+00:00)
It makes no sense to have a book without a language, or one that was never published (or at least written). Or so I would assume.


identifiers -- you need to clear each identifier (as stated in the --help).
Code:
ebook-meta /path/to/ebook --identifier "identifier-type:"

Copyright -- what copyright tag?
Thanks for your help.

For clearing identifiers, I can get rid of the isbn by using:

--identifier isbn:

but I've found no way I can get ride of the mobi-asin. I've tried:

--identifier mobi-asin:
--identifier=mobi-asin:
--identifier="mobi-asin:"
--identifer= "mobi-asin:"

nothing seems to work.

Also, how do I get rid of the tags metadata? I can empty it, but it still shows when I use ebook-meta on the file - it just shows with no data

And sorry, not 'Copyright' - I meant 'Rights'. ebook-meta doesn't even recognise the parameter "--right=" or "--rights="
Budfudder is offline   Reply With Quote
Old 08-17-2015, 06:23 PM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
What "rights" tag?



As for mobi-asin -- you cannot get rid of that, it is automatically based off of a MOBI header used for internal bookkeeping. It would be like trying to get rid of an EPUB uuid.
eschwartz is offline   Reply With Quote
Old 08-17-2015, 06:27 PM   #11
Budfudder
Enthusiast
Budfudder began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
Quote:
Originally Posted by eschwartz View Post
What "rights" tag?

As for mobi-asin -- you cannot get rid of that, it is automatically based off of a MOBI header used for internal bookkeeping. It would be like trying to get rid of an EPUB uuid.
The Rights tag as in this ebook-meta output:

Title : Ali Pacha
Author(s) : Alexandre Dumas
Tags :
Languages : eng
Published : 0101-01-01T00:00:00+00:00
Rights : Public domain in the USA.
Identifiers : mobi-asin:491da94a-0a31-409e-9d3b-2f8ed5829248

Also, what about the 'Tags' tag? How can I get rid of that?

Thanks for the info about the mobi-asin tag.
Budfudder is offline   Reply With Quote
Old 08-17-2015, 06:37 PM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
That would appear to be a custom column. So I guess your question is really "how can I manipulate calibre custom columns using ebook-meta?"

Answer: I don't think you can, because custom columns need the database to define what data type they are.
You could kludge something together --from-opf of course...

FWIW, `calibredb set_metadata` can set custom columns in the database, and `calibredb embed_metadata` can embed them into the ebook files.

Last edited by eschwartz; 08-17-2015 at 06:40 PM.
eschwartz is offline   Reply With Quote
Old 08-17-2015, 06:51 PM   #13
Budfudder
Enthusiast
Budfudder began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
Quote:
Originally Posted by eschwartz View Post
What "rights" tag?

As for mobi-asin -- you cannot get rid of that, it is automatically based off of a MOBI header used for internal bookkeeping. It would be like trying to get rid of an EPUB uuid.
About the mobi-asin tag - how can it be that it can't be gotten rid of, when some .mobi files don't have it?
Budfudder is offline   Reply With Quote
Old 08-17-2015, 07:01 PM   #14
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Because it isn't metadata as calibre understands it.

mobi-asin is automatically picked up from the exth 113 (ASIN) header, which is usually used to show a link to the Amazon store. If that header has content in it, Kindles will stop showing the "Personal" banner.

Changing it requiires conversion in calibre (there are MOBI output options that control its creation) or modifying the exth headers using something like Java Mobi Metadata Editor.



ebook-meta cannot get rid of this non-standard mobi-specific metadata field, but it can read and import it into the "identifiers" metadata, which is what is confusing you.
eschwartz is offline   Reply With Quote
Old 08-17-2015, 07:21 PM   #15
Budfudder
Enthusiast
Budfudder began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
Quote:
Originally Posted by eschwartz View Post
Because it isn't metadata as calibre understands it.

mobi-asin is automatically picked up from the exth 113 (ASIN) header, which is usually used to show a link to the Amazon store. If that header has content in it, Kindles will stop showing the "Personal" banner.

Changing it requiires conversion in calibre (there are MOBI output options that control its creation) or modifying the exth headers using something like Java Mobi Metadata Editor.

ebook-meta cannot get rid of this non-standard mobi-specific metadata field, but it can read and import it into the "identifiers" metadata, which is what is confusing you.
I think I see now. Sorry for my ignorance, and thanks for taking the time to explain it to me.
Budfudder is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extension in Metadata Tags smajumdar Library Management 2 04-30-2013 03:46 AM
Metadata tags idea toomuchreading Library Management 8 11-10-2012 04:15 PM
Import MetaData an Tags adrian142 Library Management 0 04-03-2012 11:40 AM
Social metadata\tags DaCrump Calibre 10 11-18-2009 04:18 AM
Editing metadata tags thibaulthalpern PDF 9 03-19-2009 04:17 PM


All times are GMT -4. The time now is 08:12 PM.


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