Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2011, 05:36 PM   #1
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
[Metadata Source Plugin] Webscription (Baen Ebooks)

This is a bit of a niche metadata source, for those of you who are a fan of Baen Ebooks and other publishers available from www.baenebooks.com (formerly at webscription.net)

Baen Ebooks has a fairly small selection of authors/books (certainly in comparison to the other metadata sources). However for the books it does have there are some very nice covers.

Note that unlike other metadata sources this plugin offers no support for ISBN based lookups or retrieval of ISBN. Instead it does a lookup by book title, and then validates that this matches the author (if any) for your book to provide a match.

Main Features of v1.0.3
  • Can retrieve title, author, comments, publisher, publication date, rating and covers
  • Also retrieves a Webscription id, which can be used to directly jump to the page for a specific book from the book details pane (like Goodreads/ISBN etc).

Special Notes:
  • Requires Calibre 0.8 or later.

Installation Notes:
  • Download the attached zip file and install the plugin as described in the Introduction to plugins thread.
  • Note that this is not a GUI plugin so it is not intended/cannot be added to context menus/toolbars etc.

Paypal Donations:
  • If you find this or any of my other plugins useful please feel free to show your appreciation. I have spent many hundreds of unpaid hours in their development and support so any encouragement for me to continue is appreciated!

Version History:
Spoiler:
Version 1.0.3 - 01 Aug 2013
Fix for covers not downloading due to website changes

Version 1.0.2 - 17 Mar 2012
Further changes to support updates to Baen website

Version 1.0.1 - 10 Jan 2012
Website moved to baenebooks.com

Version 1.0 - 12 May 2011
Initial release of plugin

Attached Files
File Type: zip Webscription.zip (16.1 KB, 18404 views)

Last edited by kiwidude; 07-31-2013 at 07:42 PM. Reason: v1.0.3 Released
kiwidude is offline   Reply With Quote
Old 05-14-2011, 10:26 PM   #2
jgaiser
Omnivorous
jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.
 
jgaiser's Avatar
 
Posts: 2,982
Karma: 20846667
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Fire HD, Kindle GDX, Kindle 3, KPW, Nook HD+
Thanks.... Donation on the way...
jgaiser is offline   Reply With Quote
Old 05-15-2011, 07:13 AM   #3
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Very kind of you - glad you found it useful.
kiwidude is offline   Reply With Quote
Old 05-16-2011, 01:59 PM   #4
danwdoo
Zealot
danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.danwdoo can teach chickens to fly.
 
danwdoo's Avatar
 
Posts: 114
Karma: 3546
Join Date: Jan 2009
Location: Texas
Device: PRS-505
A worthy donation cause if I ever saw one!
danwdoo is offline   Reply With Quote
Old 01-09-2012, 08:17 AM   #5
kc7zzv
Member
kc7zzv began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2009
Device: Handspring Palm
Plugin version 1.0.0 doesn't work after website update

Plugin version 1.0.0 doesn't work after website update. At the least, I'm pretty sure the value of BASE_URL on line 37 in __init__.py needs to be changed from
BASE_URL = 'http://www.webscription.net'
to
BASE_URL = 'http://www.baenebooks.com'


Note: I have not tested this fix, and there might also be other problems too
kc7zzv is offline   Reply With Quote
Old 01-09-2012, 08:29 AM   #6
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Website updates - the bane of a metadata download plugin developer's life, sigh.

Thanks for the heads up, I'll take a look tonight. Would be nice if it is just that URL change...
kiwidude is offline   Reply With Quote
Old 01-09-2012, 10:08 AM   #7
theducks
Grand Sorcerer
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: 14,524
Karma: 5567087
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by kiwidude View Post
Website updates - the bane of a metadata download plugin developer's life, sigh.

Thanks for the heads up, I'll take a look tonight. Would be nice if it is just that URL change...
The original (URL) website redirects. Is there any way a PI could detect and capture the new path?
theducks is offline   Reply With Quote
Old 01-09-2012, 10:19 AM   #8
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@theducks - it is an idea that I believe "could" be done but I don't think it would be worth the effort of coding it up. Changing domain name is a pretty drastic event that is unlikely to happen very often, versus the more likely occurrence of when they restyle the website which is what causes the serious developer pain.
kiwidude is offline   Reply With Quote
Old 01-09-2012, 09:30 PM   #9
kc7zzv
Member
kc7zzv began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2009
Device: Handspring Palm
Quote:
Originally Posted by kiwidude View Post
@theducks - it is an idea that I believe "could" be done but I don't think it would be worth the effort of coding it up. Changing domain name is a pretty drastic event that is unlikely to happen very often, versus the more likely occurrence of when they restyle the website which is what causes the serious developer pain.
To expand on what you said, when moved to a new domain, websites are often changed to the point that the old code for parsing fails.
kc7zzv is offline   Reply With Quote
Old 01-10-2012, 02:00 PM   #10
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.0.1 Released

Changes in this release:
  • Website moved to baenebooks.com

I *almost* went as far as renaming the whole plugin, since Webscription is a name that will likely mean nothing in future. However it can stay as it is for now.
kiwidude is offline   Reply With Quote
Old 01-11-2012, 04:19 AM   #11
kc7zzv
Member
kc7zzv began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2009
Device: Handspring Palm
Nice. It's now working very well for me.

So, the ISBN and the SKU are the same, in all the cases I've seen, except the eARCs have an "A" at the beginning. So, the plugin could return an ISBN, too. How hard would that be to do?
kc7zzv is offline   Reply With Quote
Old 01-11-2012, 06:45 AM   #12
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@kc7zzv - when I originally wrote this plugin many aeons ago I did take a look at that. IIRC there wasn't much consistency at the time that I saw on when it was an ISBN versus when it was something else. I do recall spotting that "A" + ISBN coding for some books but think I also may have found some exceptions to that rule which made it all seem a bit dodgy.

Combine that with the fact that I would suggest many users of this plugin will also be downloading using other metadata plugins that do return an ISBN, and that whatever ISBN the plugin comes back with, it is going to get "mangled" by Kovid's ISBN pool Worldcat logic, it just didn't seem worth the effort.

However I can appreciate that if someone only had the Webscription plugin enabled then they would like to get an ISBN if it was available. I'll take another look and see if I can find the cases that put me off the idea last time...
kiwidude is offline   Reply With Quote
Old 01-13-2012, 12:18 AM   #13
kc7zzv
Member
kc7zzv began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2009
Device: Handspring Palm
Ah. I hadn't seen that problem. One problem I saw is that some are the shorter ISBN, and some are the longer ISBN, but I was assuming that's not a problem to code. I also know that some of the products don't have ISBNs, like monthly webscriptions.

Mostly, I was thinking it might be useful to find out if two entries are for the same book. This is starting to sound like it might not work as well as I'd hoped though.
kc7zzv is offline   Reply With Quote
Old 01-13-2012, 04:49 AM   #14
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Two entries for the same book - do you mean duplicate checking in calibre? You are better off with the Find Duplicates plugin for that.

As I mentioned above the metadata download process has some voodoo concerning ISBNs and Worldcat which mean I would never rely on the ISBN you end up with after metadata download having a particular significance. Perhaps with only a single metadata download plugin enabled that is not the case, I can't recall the code off the top of my head. But certainly with multiple download sources enabled there is no guarantees about what ISBN you will end up with.

There are a few other options, such as the Extract ISBN plugin. Or rather more manually the Goodreads Sync plugin, which via its "Linked Book" feature has the option of overwriting the ISBN to the specific edition you chose from Goodreads.

But duplicate checking via title/author with the Find Duplicates plugin is usually your best bet.
kiwidude is offline   Reply With Quote
Old 01-16-2012, 09:44 PM   #15
kc7zzv
Member
kc7zzv began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2009
Device: Handspring Palm
Quote:
Originally Posted by kiwidude View Post
Two entries for the same book - do you mean duplicate checking in calibre? You are better off with the Find Duplicates plugin for that. .
Sorry I didn't get back to you sooner. I meant that, when I get a list of entries to use, when downloading metadata, I can see the ISBN for each. That would make it easier to see if the webscription one is the same book as the Amazon/Google entry it finds. So overall, it's not a high priority.
kc7zzv is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Fantastic Fiction kiwidude Plugins 42 Yesterday 09:43 PM
[Metadata Source Plugin] Goodreads kiwidude Plugins 212 08-30-2014 04:21 PM
[Metadata Source Plugin] Barnes & Noble kiwidude Plugins 93 07-23-2014 06:47 PM
Small Change to Metadata Source plugin API kovidgoyal Development 2 04-25-2011 02:55 PM
[Metadata Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 02:10 PM


All times are GMT -4. The time now is 08:04 AM.


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