<?xml version="1.0"?>
<!DOCTYPE content [ <!ENTITY nbsp " "> ]>
<rdf:RDF xml:base="http://snarfed.org/rdf"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc="http://purl.org/dc/elements/1.1/">

<rdf:Description rdf:about="http://snarfed.org">
  <dc:title> snarfed.org  </dc:title>
  <dc:description> draw group stream of consciousness </dc:description>
  <dc:creator> Ryan Barrett &lt;snarfed at ryanb dot org&gt; </dc:creator>
  <dc:language> en </dc:language>
  <dc:format> text/html </dc:format>
  <dc:rights> Copyright 2002-2007 Ryan Barrett </dc:rights>
</rdf:Description>

<rdf:Description rdf:about="http://snarfed.org/space/palo%20alto%20library%20amazon%20greasemonkey">
  <dc:title> palo alto library amazon greasemonkey </dc:title>
  <dc:creator> Ryan Barrett &lt;snarfed at ryanb dot org&gt; </dc:creator>
  <dc:date> 2003-01-01T05:00:00Z </dc:date>
  <dc:language> en </dc:language>
  <dc:format> text/html </dc:format>
  <dc:rights> Copyright 2002-2007 Ryan Barrett </dc:rights>

  <content>
    <p><a href="http://greasemonkey.mozdev.org/"><img src="/space/greasemonkey.png" alt="/space/greasemonkey.png" title="" /></a><a href="http://amazon.com/"><img src="/space/amazon.jpg" alt="/space/amazon.jpg" title="" /></a><a href="http://webcat.cityofpaloalto.org/"><img src="/space/palo_alto_seal.jpg" alt="/space/palo_alto_seal.jpg" title="" /></a></p>

<p>For the impatient: <br />
<a href="http://ryan.barrett.name/paloaltolibrary.user.js">Install Palo Alto Library</a>
(Right-click and select <em>Install User Script</em>) <br />
<a href="/space/palo+alto+library+amazon+greasemonkey#others">Scripts for other
libraries</a> <br />
<a href="http://getfirefox.com/">Get Firefox</a>  in
<a href="http://downloads.mozdev.org/greasemonkey/greasemonkey_0.3.3.xpi">Get
Greasemonkey</a></p>

<p>The <a href="http://ryan.barrett.name/paloaltolibrary.user.js">Palo Alto Library Greasemonkey
script</a> adds a link to Amazon
that shows whether the book you're looking at is available in the <a href="http://cityofpaloalto.org/library/">Palo Alto
Libraries</a>.</p>

<p>There are plugins with similar functionality for other libraries and catalogs;
<a href="/space/palo+alto+library+amazon+greasemonkey#others">see below</a> for a list. The
Palo Alto Library script differs mainly in its usability. Instead of simply
linking to the library's search page, it displays the book's availability
directly inside Amazon. More importantly, it's color-coded, since <a href="http://www.joelonsoftware.com/uibook/chapters/fog0000000062.html">users don't
read</a> (and
<a href="http://www.useit.com/alertbox/9710a.html">shouldn't have to</a>!). Green means
it's there, yellow means it's temporarily unavailable (checked out, on order,
etc.), red means it's not in the
library.</p>

<p><img src="/space/available_thumb.jpg" alt="/space/available_thumb.jpg" title="" /></p>

<p>More screenshots: <a href="/space/checked_out_thumb.jpg">checked
out</a>, <a href="/space/not_available_thumb.jpg">not
available</a>,
<a href="/space/on_order.jpg">on order</a>, <a href="/space/in_process.jpg">in
process</a>. Thanks to
Eric Galloway for adding "on order" support.</p>

<p>Background: <a href="http://weblog.infoworld.com/udell/">Jon Udell</a>'s <a href="http://weblog.infoworld.com/udell/stories/2002/12/11/librarylookup.html">Library
Lookup</a>
is a great example of Firefox's potential for simple, yet powerful client-side
tools. Library Lookup lets you build a bookmarklet that, when you're browsing
<a href="http://amazon.com/">Amazon</a>, automatically searches your library for the book
you're currently viewing. Very cool.</p>

<p>When <a href="http://greasemonkey.mozdev.org/">GreaseMonkey</a> started picking up steam,
Jon wrote a <a href="http://weblog.infoworld.com/udell/2005/04/04.html#a1207">script</a>
based on Library Lookup that searched his library for the currently displayed
book. Even better, it <em>parsed the results</em> and inserted a link into the Amazon
page that said whether it was available or checked out. Palo Alto Library was
inspired by, and is based on, that
script.</p>

<p>Scripts for other libraries:
<a name="others"></a>
<a href="/space/palo+alto+library+amazon+greasemonkey#others"><img src="/Icon-Permalink.png" alt="Icon-Permalink.png" title="" /></a></p>

<ul>
<li><a href="http://dream.sims.berkeley.edu/~ryanshaw/wordpress/amazon2melvyl/">UC
Berkeley</a></li>
<li><a href="http://blog.statway.com/2005/03/29/greasemonkey-scripts/">Harvard,
Minuteman</a></li>
<li><a href="http://wiki.netbib.de/coma/Linky">KVK</a></li>
<li><a href="http://www.mundell.org/2005/04/27/librarylookup-greasemonkey-script/">Seattle</a></li>
<li><a href="http://www.brianandmegan.com/llcoop.php">Grand Rapids</a></li>
<li><a href="http://protoplasmic.org/weblog.cgi/programming/greasemonkeyworldcat1.html">WorldCat</a></li>
<li>...<a href="http://dunck.us/collab/GreaseMonkeyUserScriptsSpecific#head-74c0fda1054b04bf3e2365d467e32a47e3feba7b">and
more</a></li>
</ul>

<p>Palo Alto Library is distributed under the
<a href="http://www.gnu.org/licenses/gpl.html">GPL</a>. Copyright 2005 <a href="http://ryan.barrett.name/">Ryan
Barrett</a>, Eric Galloway.</p>

  </content>

  <rdf:Seq>

<rdf:li>
<rdf:Description rdf:about="#1122330950.0">
  <dc:source> http://snarfed.org/ </dc:source>
  <dc:title> palo alto library amazon greasemonkey-1 </dc:title>
  <dc:creator> nsathishk </dc:creator>
  <dc:date> cmt_pubDate </dc:date>
  <dc:format> text/html </dc:format>

  <content>
    
As usual I tried to modify this for New York Public Library (which uses Dynix too) but couldn't get the Due date. I am weak in Regular Expression. Please help.
<span class="nobr"><a href="http://www.sathish.net">&#104;ttp://www.sathish.net</a></span>

  </content>
</rdf:Description>
</rdf:li>

<rdf:li>
<rdf:Description rdf:about="#1205788330.16">
  <dc:source> http://snarfed.org/ </dc:source>
  <dc:title> palo alto library amazon greasemonkey </dc:title>
  <dc:creator> Bryan Larsen </dc:creator>
  <dc:date> cmt_pubDate </dc:date>
  <dc:format> text/html </dc:format>

  <content>
    There's a much larger set of libraries supported on userscripts.org:&nbsp; <a href="http://userscripts.org/tags/amazon">http://userscripts.org/tags/amazon</a>
  </content>
</rdf:Description>
</rdf:li>

  </rdf:Seq>
</rdf:Description>
</rdf:RDF>
