Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-26-2015, 08:19 PM   #1
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,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Add an ID

Can I add an entry to the ID list (the column where ISBN, ASIN numbers etc appear) that consists of a label and a uri (not necessarily html://..., could be file:///..., ftp://..., evernote:/// etc)

I tried a few things with no luck.

The ones for ISBN, ASIN, Goodreads etc seem to consist of a label and key (I assume they are used in formulating a uri). I want to supply a label (to be displayed in Book Details) and complete uri.

I know I can put it a long text column, and I do. But if the uri is all there is, then that seems like a bit of an overkill.

BR
BetterRed is offline   Reply With Quote
Old 03-26-2015, 08:46 PM   #2
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: 31,048
Karma: 60358908
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
Can I add an entry to the ID list (the column where ISBN, ASIN numbers etc appear) that consists of a label and a uri (not necessarily html://..., could be file:///..., ftp://..., evernote:/// etc)

I tried a few things with no luck.

The ones for ISBN, ASIN, Goodreads etc seem to consist of a label and key (I assume they are used in formulating a uri). I want to supply a label (to be displayed in Book Details) and complete uri.

I know I can put it a long text column, and I do. But if the uri is all there is, then that seems like a bit of an overkill.

BR
It is in the Help:ebook-meta section on identifiers

uri:http:
theducks is offline   Reply With Quote
Advert
Old 03-26-2015, 11:09 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,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
It is in the Help:ebook-meta section on identifiers

uri:http:
@theducks - thanks but that adds whatever to the book format file, I want it in the database - so I do this command

Code:
C:\Program Files\ConEmu>calibredb set_metadata --field identifiers:booknote:"http://www.merriam-webster.com/dictionary/porte%20cochere" 303
Title               : demo 2
Title sort          : demo 2
Author(s)           : Nick [Nick]
Languages           : eng
Timestamp           : 2015-02-06T09:10:04+00:00
Published           : 0101-01-01T00:00:00+00:00
Identifiers         : booknote:http://www.merriam-webster.com/dictionary/porte%20cochere
Author Sort         : Nick
Formats             : DOCX,EPUB
Has Notes           : N
My Last Modified    : 2015-03-27
Backing up metadata
Notifying calibre of the change
But I don't get anything in Book Details IDs on which I can click

Click image for larger version

Name:	Capture.JPG
Views:	129
Size:	136.9 KB
ID:	136441

BR
BetterRed is offline   Reply With Quote
Old 03-26-2015, 11:14 PM   #4
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No labels come from metadata download plugins, you can of course write your own metadata plugin to handle your specific URI scheme.
kovidgoyal is offline   Reply With Quote
Old 03-27-2015, 12:00 AM   #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,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
No labels come from metadata download plugins, you can of course write your own metadata plugin to handle your specific URI scheme.
That prompted me look in the database - via which discovered that if I replace the booknote: with uri: it works, providing the uri itself is an html://blah blah link - but not a file:///blah blah..., or a file:///blah blah... etc link.

Two things i) is that easily fixable, ii) in doing so would it be possible to provide a sensible label eg "Torygraph Review" so that the uri itself is not exposed, some of mine are 10 miles long.

If item ii) is not doable or too hard then for me at least, item i) isn't worth having because of the uri lengths, I would sooner stick with the existing custom long text column.

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-27-2015, 12:35 AM   #6
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, as I said there is no way to store a label associated with an identifier, those are programmatically generated via plugins.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using add(x,y) to add 2 columns demig Calibre 2 09-16-2014 03:00 PM
when does calibre add/not add page_styles css cybmole Calibre 5 07-14-2014 03:58 AM
3 suggestions: merge on add, cleanup on add, sorting changeling Calibre 5 08-24-2013 06:35 AM
Trying to add large library of books - add books seems to have hung nicknefarious Library Management 1 06-18-2012 09:32 AM
calibredb add -- how to add additional metadata? TuxGirl Calibre 16 12-29-2011 01:01 AM


All times are GMT -4. The time now is 06:11 PM.


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