![]() |
#1 |
Enthusiast
![]() 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. |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
BR |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#5 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Why has this thread been moved to the Book Editor sub-forum? I thought it was about metadata BR |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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. |
|
![]() |
![]() |
![]() |
#8 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#9 | |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
Quote:
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=" |
|
![]() |
![]() |
![]() |
#10 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#11 | |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#12 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#13 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
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?
|
![]() |
![]() |
![]() |
#14 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#15 | |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 | 9 | 03-19-2009 04:17 PM |