summaryrefslogtreecommitdiff
path: root/plans/bnbook
blob: f5dd33ea0fa8a9a7991359e3fd73b5a26ef1759f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
barnes & noble have a 'book viewer'/'see
inside'. it is flash, which sucks. 'powered by zinio.com'

http://search.barnesandnoble.com/Orange-Sunshine/Nicholas-Schou/e/9780312551834

it seems you're only 'allowed' to open the viewer 2 or 3
times per book per ip. if not, you get plain html, but
seemingly only back & front covers:

http://search.barnesandnoble.com/booksearch/imageviewer.asp?ean=9780312551834&imId=65316517
http://search.barnesandnoble.com/booksearch/imageviewer.asp?ean=9780312551834&imId=65309649

the flash urls are of the form:
http://search2.barnesandnoble.com/BookViewer/?ean=9780061655944

which leads to xml:
http://search2.barnesandnoble.com/BookViewer/bookxml.asp?ean=9780061655944
which leads to:
http://search2.barnesandnoble.com/DigBooks/viewer/bookviewmanager.aspx?op=getbookinfo&ean=9780061655944
this is xml, which has paths of for different qualities (for
low quality, use tn rather than fp):
http://search2.barnesandnoble.com/digbooks/proxy/54/9780312361983/%d/fp
the %d can be replaced with the page number
requesting a page which isn't available
(freevendstatus="false") returns the standard book swf

note that cookies have to be sent for the fp stuff to work. cookies from the homepage work fine