View Single Post
Old 07-01-2011, 08:32 PM   #6
Scifibookguy
Junior Member
Scifibookguy began at the beginning.
 
Scifibookguy's Avatar
 
Posts: 9
Karma: 10
Join Date: Jun 2011
Device: Kindle 3
Quote:
Originally Posted by transmitthis View Post
Just create a new column, call it ISFDB.
Set it to show in Book Details, and move it up under Ids:
Then add the links to the column
Thanks I used part of that suggestion.

I created a new column that uses the template: {identifiers:select(isfdb)|http://www.isfdb.org/cgi-bin/pl.cgi?|}

This lets me use 'isfdb' in the Ids field, so it's easy to use in the tag browser.

However, the problem is that the resulting text, e.g. isfdb:280792 which produces
Code:
http://www.isfdb.org/cgi-bin/pl.cgi?280792
is simply text, and not a link. It can't be clicked on to open the browser to that site. I have to select the text, copy, and paste into the address bar of a browser to have it open.

I looked but couldn't find a function to convert text into a URL. I found a to_HTML() function, but that didn't appear to do what I need.

Is it possible to have a to_URL() function be added into Calibre, please? I have to think the code for creating the current links for Google, Amazon.com etc. could be used? Or is it already there to access and I didn't find it?

Thanks.
Scifibookguy is offline   Reply With Quote