View Single Post
Old 02-22-2013, 01:40 AM   #183
dirgeon
Member
dirgeon began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2013
Location: Pasig, PHL
Device: Kindle PW
@kiwidude Hi!

I'm trying to get this plugin to add a new book to goodreads:

Code:
http://www.goodreads.com/book/new?book%5Btitle%5D={title}{series:|+%28|+}{series_index:||%29}&book%5Bsort_by_title%5D={title_sort:lowercase()}{series:lowercase()|+%28|+}{series_index:||%29}&author%5Bname%5D={author}&book%5Basin%5D={identifiers:select('amazon')}
Unfortunately, the series index gets an additional '0' at the end, and the amazon identifier doesn't show up:

Code:
http://www.goodreads.com/book/new?book%5Btitle%5D=Dragonflight+%28Pern+10%29&book%5Bsort_by_title%5D=dragonflight+%28pern+10%29&author%5Bname%5D=Anne+McCaffrey&book%5Basin%5D=
That should just be "Pern 1" not "Pern 10".

Also, if a field/variable is not available, e.g. the book has no series, the following becomes part of the URL, instead of being silently removed/replaced with nothing:

Code:
No such variable series
Otherwise, it works well...

Can you please check this out? Am running version 1.7.1 on calibre 0.9.19.

Thanks!

Last edited by dirgeon; 02-22-2013 at 01:44 AM. Reason: Add info re unavailable fields
dirgeon is offline   Reply With Quote