l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Jan 06 12:20

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] amazon "search in the book" questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] amazon "search in the book" questions

On Fri, Jan 06, 2006 at 01:25:22PM -0500, Peter Jay Salzman wrote:
> Hi all,
> Consider this URL, which is a page inside a book about Green's functions:
> http://www.amazon.com/gp/reader/0521282888/ref=sib_rdr_prev2_ex1/104-6467245-0944703?%5Fencoding=UTF8&p=S00H&ns=1#reader-page
> When I use the browser (FF) to print the page, the book's contents don't
> show up on the printed page.  Same thing when I use FF's preview print
> feature.
> When I use left click "view image", the book page's contents disappear too.
> No matter where I click, the page title is "transparent pixel".
> How exactly does Amazon do this?

>From what I've seen of how it works, I believe they use JavaScript to
swap the image in and out. That might affect why it doesn't print with
that; I don't know: however, I don't know how it doesn't show up when
you "view image".

...Of course, if they're using CSS to achieve layers, then they might be
putting the transparent pixel image in /front/ of the real image,
meaning that when you right-click on it, you're actually right-clicking
on the transparent pixel instead of the one you see. And I think the
printing stuff doesn't handle transparency, so that would make some
sense, too.

> Is there a way of saving the book page
> contents to an image file?  The only thing I could think of is taking a
> window image with GIMP or something like that.

That seems simplest. For more, you may have to dig around quite a bit to
check out the JavaScript, and any interactions with the server. Probably
not worth the hassle.

Micah J. Cowan
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.