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 08-04-2011, 07:46 PM   #31
Caleb666
Connoisseur
Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.
 
Posts: 90
Karma: 400000
Join Date: Jul 2010
Device: iPad 2 64GB
Hey, you're the one doing the hard work!

By the way, merely looking at the HTML code of the cover page, I spotted:
Quote:
<a href="imageviewer.asp?ean=9781593080778&amp;imId=7 1155241"><img src="http://images.barnesandnoble.com/presources/images/btn_front_off.gif" width="41" height="25" border="0" title="Front" alt="Front"></a>
Edit: Ok I think I got it. Basically, look at the HREF attribute, and take out the imId parameter, which is "71155241".
Then generate a link as follows:
http://images.barnesandnoble.com/images/<first-4-digits-of-imId>0000/<imId>.JPG

And that will be the front page image.

Last edited by Caleb666; 08-04-2011 at 07:57 PM.
Caleb666 is offline   Reply With Quote
Old 08-05-2011, 07:02 AM   #32
Caleb666
Connoisseur
Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.
 
Posts: 90
Karma: 400000
Join Date: Jul 2010
Device: iPad 2 64GB
I've got another bug to report!

Certain book title are improperly parsed, for example: ISBN: 9780471741725 http://search.barnesandnoble.com/Cui.../9780471741725

In those kind of books, for some reason it grabs only "Edition 2", instead of taking the whole title.
Caleb666 is offline   Reply With Quote
Old 08-05-2011, 02:00 PM   #33
tweebee
Enthusiast
tweebee began at the beginning.
 
tweebee's Avatar
 
Posts: 30
Karma: 10
Join Date: Aug 2011
Location: Florida
Device: Kindle Paperwhite 2, Galaxy Note 8
Hi, thanks for a nice plug-in! I just noticed something and wondering if it is by design. Sorry, I'm new with calibre.

When downloading metadata and cover by right-clicking on a book, it doesn't show the id for B&N in the book details. If I'm in edit metadata for a book and then click on Download metadata, then the details will have B&N in ids. Is this by design that if I want B&N id, I would have to do the latter process?
tweebee is offline   Reply With Quote
Old 08-05-2011, 02:52 PM   #34
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,220
Karma: 1333994
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@Caleb666 - I will take a look later into that, thx again for reporting it.

@tweebee - when you do a download via the right-click, you are leaving it up to Calibre to decide which version of the book results to pick from, in the situation where multiple results come back and it decides that they are not in the same ISBN pool. In that circumstance, it could well be that the decision Calibre makes means that it picks results from other metatadata sources, and discards the B&N result (hence why you see no B&N id). The same thing would happen if you use the Edit Metadata dialog in that particular circumstance, except you are probably manually picking the B&N result in the situation where there are multiple to match.

So in direct answer to your question - if Calibre picks the metadata result which came from B&N, you will see the B&N id immediately appear in the book details panel.

You can usually fix this by doing a second metadata fetch, as the first metadata fetch would most likely have changed the ISBN associated with the book, which *might* result in getting a different match from B&N that is in the same ISBN pool (set of ISBNs identified as representing the same book). However it is usually best to do this via the edit metadata dialog, or else if again there are multiple results it will be left to Calibre to once again decide for itself and you may end up with nothing changed.
kiwidude is offline   Reply With Quote
Old 08-05-2011, 04:32 PM   #35
tweebee
Enthusiast
tweebee began at the beginning.
 
tweebee's Avatar
 
Posts: 30
Karma: 10
Join Date: Aug 2011
Location: Florida
Device: Kindle Paperwhite 2, Galaxy Note 8
Quote:
Originally Posted by kiwidude View Post
@Caleb666 - I will take a look later into that, thx again for reporting it.

@tweebee - when you do a download via the right-click, you are leaving it up to Calibre to decide which version of the book results to pick from, in the situation where multiple results come back and it decides that they are not in the same ISBN pool. In that circumstance, it could well be that the decision Calibre makes means that it picks results from other metatadata sources, and discards the B&N result (hence why you see no B&N id). The same thing would happen if you use the Edit Metadata dialog in that particular circumstance, except you are probably manually picking the B&N result in the situation where there are multiple to match.

So in direct answer to your question - if Calibre picks the metadata result which came from B&N, you will see the B&N id immediately appear in the book details panel.

You can usually fix this by doing a second metadata fetch, as the first metadata fetch would most likely have changed the ISBN associated with the book, which *might* result in getting a different match from B&N that is in the same ISBN pool (set of ISBNs identified as representing the same book). However it is usually best to do this via the edit metadata dialog, or else if again there are multiple results it will be left to Calibre to once again decide for itself and you may end up with nothing changed.
Thank you for the further explanations on this! They are helpful in helping me understand this plug-in and how calibre works.
tweebee is offline   Reply With Quote
Old 08-05-2011, 07:03 PM   #36
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,220
Karma: 1333994
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.1.2 Released

Changes in this release:
  • Grab the front cover when there are multiple covers available
  • Support change to website where wgt-ProductTitle class titles no longer inside a <span>
kiwidude is offline   Reply With Quote
Old 08-06-2011, 05:10 AM   #37
Caleb666
Connoisseur
Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.
 
Posts: 90
Karma: 400000
Join Date: Jul 2010
Device: iPad 2 64GB
Thank you very much kiwidude, everything's dandy now!
Caleb666 is offline   Reply With Quote
Old 08-25-2011, 03:40 AM   #38
Caleb666
Connoisseur
Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.Caleb666 ought to be getting tired of karma fortunes by now.
 
Posts: 90
Karma: 400000
Join Date: Jul 2010
Device: iPad 2 64GB
For some reason it doesn't seem to show the cover of this ISBN 9781400078974
Any idea why? Because there is a high quality cover on the book's page: http://www.barnesandnoble.com/w/rubi...00078974&itm=2

A similar thing has happened to me with other books that have a good cover, but they don't appear in the results.
Caleb666 is offline   Reply With Quote
Old 08-25-2011, 05:47 AM   #39
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: 13,605
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Caleb666 View Post
For some reason it doesn't seem to show the cover of this ISBN 9781400078974
Any idea why? Because there is a high quality cover on the book's page: http://www.barnesandnoble.com/w/rubi...00078974&itm=2

A similar thing has happened to me with other books that have a good cover, but they don't appear in the results.
When you don't get the cover you want: Use the Search the Internet Plugin

or simply drag the cover you found onto the Books cover in the Book Browser area or Metadata edit window
theducks is offline   Reply With Quote
Old 08-25-2011, 04:00 PM   #40
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,220
Karma: 1333994
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.1.3 Released

Changes in this release:
  • Change logic for determining image directory to handle smaller numbered images

Thanks Caleb666 for the example where it was going wrong meaning for some books images would not be available for download.
kiwidude is offline   Reply With Quote
Old 11-22-2011, 09:18 AM   #41
BradV
Member
BradV began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2011
Device: Kindle3
Kiwidude, I have just realized that I have not been getting metadata results from BN for the past few days. Do you know if anybody else is encountering issues?

Thanks!
BradV
BradV is offline   Reply With Quote
Old 11-22-2011, 03:05 PM   #42
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,220
Karma: 1333994
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@BradV - thx for pointing this out - looks like B&N have had another website revamp, sigh. I'll have to modify and push out a new version.
kiwidude is offline   Reply With Quote
Old 11-22-2011, 05:40 PM   #43
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,220
Karma: 1333994
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.2 Released

Changes in this release:
  • Rewritten to support new B&N website for non textbooks

As discussed above B&N have changed their book details page website layout for fiction books.

On the plus side, this should make cover retrieval slightly faster, as they don't do that stupid separate popup window for larger images (so one less round trip for me to get and parse the image).

On the minus side, they really have changed a lot of "stuff". I've done my best and verified it with a few books, but the way some of their HTML is generated is not very "scrape" friendly so there may well be other changes needed.

So if you find a book that you don't get certain details through to Calibre from B&N that you can see on their page, post the link for the B&N page and what you are missing and I can take a look.
kiwidude is offline   Reply With Quote
Old 11-23-2011, 07:10 AM   #44
BradV
Member
BradV began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2011
Device: Kindle3
Thanks for the update!
BradV is offline   Reply With Quote
Old 11-23-2011, 07:34 AM   #45
BradV
Member
BradV began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2011
Device: Kindle3
Feature Request

While I was thinking of it, I have a feature request for this plugin.

On children's books that have an age range listed, such as:
http://www.barnesandnoble.com/w/i-wa...ri=jon+klassen
and
http://search.barnesandnoble.com/w/h...ica/1100361460

Could you turn the age range into a series of tags?
So that a book that says Age range: 4 - 8 Years
would get tags of:
Age4, Age5, Age6, Age7, Age8

This allows a user to quickly and easily select a tag that corresponds to the age of a child.

I currently do this manually for the children's books in my library (although I "convert" to grade level instead of age).

Anyway, just a request, and thanks again for your work on the plugin.

BradV
BradV 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] Goodreads kiwidude Plugins 203 03-22-2014 09:36 PM
[Old Thread] Problem reading converted EPUB & PDB on Barnes & Noble eReader webfolk Calibre 3 01-09-2012 10:08 PM
Small Change to Metadata Source plugin API kovidgoyal Development 2 04-25-2011 02:55 PM
Neo Barnes & Noble from the UK Fith BeBook 5 04-26-2010 05:20 PM
Barnes & Noble mycart Introduce Yourself 5 02-03-2010 12:14 PM


All times are GMT -4. The time now is 01:17 PM.


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