Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2014, 06:13 PM   #1
tarisea
Zealot
tarisea got an A in P-Chem.tarisea got an A in P-Chem.tarisea got an A in P-Chem.tarisea got an A in P-Chem.tarisea got an A in P-Chem.tarisea got an A in P-Chem.tarisea got an A in P-Chem.tarisea got an A in P-Chem.tarisea got an A in P-Chem.tarisea got an A in P-Chem.tarisea got an A in P-Chem.
 
Posts: 114
Karma: 6288
Join Date: Dec 2012
Device: iphone
Pull Hyperlinks from Metadata

Hi

I am trying to get Calibre to provide me with the url for the ebook format for amazon.

For example:

Field of Prey by John Sandford
asin: B00FX7UL72
amazon.com: http://www.amazon.com/Field-Prey-Joh...dp/B00FX7UL72/

I created a custom column for asin

Then I created a custom column
#amazonlink
column built from other columns
http://www.amazon.com/{title}+{author}-ebook/dp/{asin}

what I get is this:
http://www.amazon.com/Field of Prey-John Sandford-ebook/dp/0399162380

which doesn't work

I need this:

http://www.amazon.com/Field-of-Prey-.../dp/0399162380


All I want is the link to the Kindle edition for amazon.com. Is there an easier way to do this? or is there a way to fix this?

Thank you for your help.
tarisea is offline   Reply With Quote
Old 06-25-2014, 06:59 PM   #2
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,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@tarisea - In the template for #amazonlink I think you'll need to replace the spaces in title and author with hyphens.

BR
BetterRed is online now   Reply With Quote
Advert
Old 06-25-2014, 07:49 PM   #3
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Take a look at your Amazon link again. Within it, your title=Field Prey, not Field of Prey.

It almost seems that Amazon is removing Articles of Speach and other minor words from book titles. Effectively reducing the title to a list of keywords.
Sabardeyn is offline   Reply With Quote
Old 06-25-2014, 10:36 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
1.) calibre already generates those URLs automatically from identifiers in the book details panel

2) You dont need the book title for amazon URLs, all you need is the asin, like this:
http://amzn.com/0441020321
kovidgoyal is offline   Reply With Quote
Old 06-26-2014, 12:32 AM   #5
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)
Quote:
Originally Posted by kovidgoyal View Post
1.) calibre already generates those URLs automatically from identifiers in the book details panel

2) You dont need the book title for amazon URLs, all you need is the asin, like this:
http://amzn.com/0441020321
+1

Any book bought from amazon should already have this; Kovid has designed it to be imported as identifier:mobi-asin. While I wish there was a setting for which coutry's Amazon store it should point to (I have a feeling most people are getting it from amzn.com ) I ended up creating a saved Metadata Bulk Edit S&R that copies identifier:mobi-asin and inserts it as identifier:amazon.
eschwartz is offline   Reply With Quote
Advert
Old 06-26-2014, 01:10 AM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by eschwartz View Post
While I wish there was a setting for which coutry's Amazon store it should point to (I have a feeling most people are getting it from amzn.com )
Maybe this doesn't do what you want, but you can configure Amazon's country under the configure metadata section.
DoctorOhh is offline   Reply With Quote
Old 06-26-2014, 01:33 AM   #7
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)
Quote:
Originally Posted by DoctorOhh View Post
Maybe this doesn't do what you want, but you can configure Amazon's country under the configure metadata section.
Nope, I want identifier:mobi-asin to link to amazon without intervention or metadata S&R. Kovid disabled it because it could confuse non-US-store users -- reasonable enough, even if it doesn't match my desires.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically pull in books from Kindle? carld Devices 0 02-26-2011 03:44 PM
About to pull the trigger gecko enTourage Archive 9 02-08-2011 10:53 AM
Is it possible to pull the print version mufc Recipes 6 01-31-2011 01:59 PM
PRS-900 Just when I decide to pull the trigger.... ziegl027 Sony Reader 3 01-14-2010 07:21 AM
Push vs. Pull pixiepurls Amazon Kindle 2 11-22-2007 04:42 PM


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


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