Cover | Table of Contents | Colophon
<html>
<head>
<title>Find a CD's ASIN</title>
<script language="JavaScript">
function getDetailPage(upc) {
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
xmlhttp.Open("GET", "http://xml.amazon.com/onca/xml2?t=webservices-[RETURN]
20&dev-t=insert developer'stoken&UpcSearch="+upc+"&mode=music&type=lite[RETURN]
&f=xml", false);
xmlhttp.Send( );
var response = xmlhttp.responseXML;
if (response.selectSingleNode("/ProductInfo/ErrorMsg")) {
alert(response.selectSingleNode("/ProductInfo/ErrorMsg").text);
} else {
var asin = response.selectSingleNode("/ProductInfo/Details/Asin")[RETURN]
.text;
document.location = "http://amazon.com/o/ASIN/" + asin;
}
}
</script>
</head>
<body>
<form>
<input name="upc" type="text" size="25">
<input type="button" value="Go"
onClick="getDetailPage(document.forms[0].upc.value);">
</form>
</body>
</html>
http://www.amazon.com/exec/obidos/ASIN/insert ASIN here http://www.amazon.com/exec/obidos/tg/detail/-/insert ASIN here/
http://www.amazon.com/associates/).http://www.amazon.co.uk/exec/obidos/ASIN/insert ASIN here/ http://www.amazon.ca/exec/obidos/tg/detail/-/insert ASIN here/
http://www.amazon.com/exec/obidos/ASIN/0596004478/qid%3D1049157816/[RETURN]
sr%3D11-1/ref%3Dsr%5F11%5F1/104-2773718-4336742
http://www.amazon.com/exec/obidos/ASIN/0596004478/
exec/obidos simply with
o, as in:http://amazon.com/o/ASIN/0596004478
www. was cheating, but 39 is still impressive.)
Now the URL is suitable for email, instant messages, or even writing
out long-hand!http://images.amazon.com/images/P/0596004478.01._PE30_PI_SCMZZZZZZZ_.jpg
http://images.amazon.com/images/P/0596004613.01._PE30_PI_SCMZZZZZZZ_.jpg
http://images.amazon.com/images/P/B00006FDRB.01._PE30_PI_SCMZZZZZZZ_.jpg
/t/ after any product
ID [Hack #1], Wish List ID
[Hack #18], or
List ID [Hack #41] gives you
the text-only version of the page:http://amazon.com/o/ASIN/0596004478/t/
/t/:http://www.amazon.com/exec/obidos/subst/home/home.html/t/
http://www.amazon.com/pocketpc/
http://www.amazon.com/anywhere.http://amazon.com/phone
http://amazon.com/pocketpc or
http://amazon.com/mypalm
http://www.yospace.com/spedemo.html) has a good
emulator that can impersonate quite a few specific phones. Figure 1-13 shows how Amazon Anywhere appears on the Sony
T68i emulator (and the T68i phone itself).
http://associates.amazon.com/exec/panama/associates/resources/build-links/amazon-recommends/browse-bestsellers.html.http://associates.amazon.com/exec/panama/associates/resources/build-links/[RETURN] amazon-recommends/browse-bestsellers.html/086-9645301-8693838?t=&node=1000 [RETURN] &mode=browse-books
node=
and its value. The node here is 1000 and represents all books. On
this page the categories are refined further under books: Arts &
Photography, Biographies & Memoirs, Business & Investing,
etc. Click on the entry "Science Fiction & Fantasy." Once again
you'll see a new node value in the URL, 25. You can continue to drill
this way and find IDs. As you do so, you'll soon find yourself a few
levels deep, for example, All Products → Books →
Subjects → Science Fiction & Fantasy → Fantasy
→ Magic & Wizards. Checking the URL, the node ID in this
case is 16205.http://amazon.com/exec/obidos/ats-query-page.
This form allows you to search for a specific title, author, subject,
ISBN, or publisher. And you can narrow your search by format, reader
age, language, or publication date.
publisher and
title fields with the appropriate values:publisher:O'Reilly and title:Mac
http://amazon.com/exec/obidos/ats-query-page#powersearch.asin
author
author-exact
author-begins
isbn
keywords
keywords-begin
language
pubdate - [before, during, after] date
publisher
subject
subject-words-begin
subject-begins
title
title-words-begin
title-begins
amzn
[
search
term
] to get the same
results.Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\amzn] @="http://www.amazon.com/exec/obidos/external-search/[RETURN] mode=blended&keyword=%s"
amzn
in your address bar followed by your search term, as shown in Figure 1-16. It works the same way as entering a URL. Just
hit Enter or click the Go button.
<script language="JavaScript">
var searchURL = new String("http://www.amazon.com/exec/obidos/[RETURN]
external-search/mode=blended&keyword=");
var w = window.external.menuArguments;
var d = w.document;
var s = d.selection;
var r = s.createRange( );
var term = new String(r.text);
window.open(searchURL + term);
</script>
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\
http://www.mozilla.org)
is an alternative web browser that has been designed from the ground
up to be an application platform for working with the Web. Mozilla's
sidebar offers a way to search several different search engines. For
example, Mozilla comes with Google and dmoz.org installed in the
sidebar, as you see in Figure 1-20.
http://amazon.com/corporate.
http://www.amazon.com/exec/obidos/tg/browse/-/557206/),
you'll find that several organizations like Toys for Tots and Habitat
for Humanity have public wish lists of items they need. Buying
through their wish list means your donation will make it to the
proper address, and you know it's something they've specifically
noted they need.
<form method="POST" [RETURN] action="http://www.amazon.com/o/dt/assoc/handle-buy-box=insert ASIN "> <input type="hidden" name="asin.insert ASIN" value="1"> <input type="hidden" name="tag-value" value="insert associate tag"> <input type="hidden" name="tag_value" value="insert associate tag"> <input type="submit" name="submit.add-to-registry.wishlist"[RETURN] value="Add to Amazon.com Wish List"> </form>
http://sourceforge.net/projects/snoopy/) and
include it in the same directory as this script.<?php # add_wishlist_items.php # Adds multiple items to an Amazon Wish List # Usage: A PHP page called via web browser $aff_tag = "
http://www.amazon.com/webservices) and found
that I could build my own simple application that adds ranking
ability for Amazon wish lists.http://www.yoon.org/amazon/register). The
only tricky part is that you have to enter your Wish List ID manually
[Hack #18]. The FAQ
(http://www.yoon.org/amazon/faq)
includes instructions on how to find your Wish List ID. Then, as you
can see in Figure 2-8, the application
fetches your wish list from Amazon.
https://www.amazon.com/exec/obidos/subst/alerts/signup.html/.
http://amazon.com/o/tg/new-for-you/new-for-you/-/main/.http://www.amazon.com/movies). When you
provide Amazon with your zip code, you'll see a list of the theaters
in your area along with movies and times they're playing.