<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Book Burro - Remixing the bookstore | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/1859</link>
    <description>Recent comments on userscript: Book Burro - Remixing the bookstore</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Archived Comments, replied by zanhsieh</title>
      <description>&lt;p&gt;function isbn10_to_13(isbn) {
&lt;br /&gt;    if (!isbn.match(/^([0-9]{9})[0-9xX]$/)) 
&lt;br /&gt;        return false;&lt;/p&gt;

&lt;p&gt;    // sum the digits with their weights and add the checksum for the 978 prefix
&lt;br /&gt;    sum_of_digits = 38 + 3 * (1*isbn[0] + 1*isbn[2] + 1*isbn[4] + 1*isbn[6] + 1*isbn[8]) +
&lt;br /&gt;                              1*isbn[1] + 1*isbn[3] + 1*isbn[5] + 1*isbn[7];&lt;/p&gt;

&lt;p&gt;    // divide the sum_of_digits by the modulus number (10) to find the remainder
&lt;br /&gt;    // and then minus 10 to get the check digit
&lt;br /&gt;    check_digit = (10 - (sum_of_digits % 10)) % 10;&lt;/p&gt;

&lt;p&gt;    // return isbn with check_digit
&lt;br /&gt;    return '978' + isbn.match(/^([0-9]{9})[0-9xX]$/)[0] + check_digit;
&lt;br /&gt;}&lt;/p&gt;

&lt;p&gt;Now the problem is %s. This function above has dependency with %s... :(&lt;/p&gt;</description>
      <pubDate>Thu, 01 Nov 2007 19:27:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63389</guid>
      <author>zanhsieh</author>
      <link>http://userscripts.org/posts/63389</link>
    </item>
    <item>
      <title>Archived Comments, replied by zanhsieh</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;First, thank you for refactoring. This dramatically reduces the work of cracking 'the code'.&lt;/p&gt;

&lt;p&gt;I am working on fetching Taiwanese local bookstore data (e.g. &lt;a href=&quot;http://www.eslitebooks.com/Program/Object/BookCH.aspx?PageNo=&amp;amp;PROD_ID=2680244295004&quot;&gt;http://www.eslitebooks.com/Program/Object/BookC...&lt;/a&gt;), but have the problem on %s. %s means ISBN-10, not EAN-13 / ISBN-13, whereas most of Taiwanese / Chinese bookstores use EAN-13 / ISBN-13. I did some research on internet but only found perl / cgi /python implementation for two-ways convert. &lt;/p&gt;

&lt;p&gt;Any tips?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;zh&lt;/p&gt;</description>
      <pubDate>Thu, 01 Nov 2007 17:11:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63390</guid>
      <author>zanhsieh</author>
      <link>http://userscripts.org/posts/63390</link>
    </item>
    <item>
      <title>Archived Comments, replied by Johan Sundstr&#246;m</title>
      <description>&lt;p&gt;Fair, but I don't think I can do them myself due to non-competition clauses in my employment contract these days. Feel free to track down a scriptwright to do it for you, though; the script is easy to add sites to and maintain old sites covered (in case they break).&lt;/p&gt;</description>
      <pubDate>Wed, 14 Feb 2007 12:43:39 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63391</guid>
      <author>Johan Sundstr&#246;m</author>
      <link>http://userscripts.org/posts/63391</link>
    </item>
    <item>
      <title>Archived Comments, replied by zoonalink</title>
      <description>&lt;p&gt;Fantastic script - tack s&#229; mycket! What are the chances of incorporating amazon.co.uk, abebooks.co.uk, bookkoob.co.uk, play.com, bookdepository.co.uk, quartermelon.co.uk - booksites for the UK reader. CHeers&lt;/p&gt;</description>
      <pubDate>Sat, 04 Nov 2006 15:46:36 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63392</guid>
      <author>zoonalink</author>
      <link>http://userscripts.org/posts/63392</link>
    </item>
    <item>
      <title>Archived Comments, replied by wsktb</title>
      <description>&lt;p&gt;I have updated it, added some bookstores, and bookstores country flags. &lt;a href=&quot;http://userscripts.org/scripts/show/6079&quot;&gt;http://userscripts.org/scripts/show/6079&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 24 Oct 2006 13:19:44 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63393</guid>
      <author>wsktb</author>
      <link>http://userscripts.org/posts/63393</link>
    </item>
    <item>
      <title>Archived Comments, replied by Johan Sundstr&#246;m</title>
      <description>&lt;p&gt;Where would you pick up ASINs and what sites would you feed them to?&lt;/p&gt;</description>
      <pubDate>Tue, 07 Feb 2006 01:53:22 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63394</guid>
      <author>Johan Sundstr&#246;m</author>
      <link>http://userscripts.org/posts/63394</link>
    </item>
    <item>
      <title>Archived Comments, replied by Wulf</title>
      <description>&lt;p&gt;Awesome script :)&lt;/p&gt;

&lt;p&gt;I just wish it worked for ASINs (like ISBNs, but for things other than books) too...&lt;/p&gt;

&lt;p&gt;I also wish it would include inter-library catalog systems such as MINERVA (the system for libraries in Maine.)&lt;/p&gt;</description>
      <pubDate>Mon, 06 Feb 2006 00:16:37 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63395</guid>
      <author>Wulf</author>
      <link>http://userscripts.org/posts/63395</link>
    </item>
    <item>
      <title>Archived Comments, replied by Johan Sundstr&#246;m</title>
      <description>&lt;p&gt;Added. I think the comment system here at userscripts.org broke the ajaxPrice regexp of that one; I had to rewrite it to get it to work.&lt;/p&gt;</description>
      <pubDate>Sun, 08 Jan 2006 19:34:50 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63396</guid>
      <author>Johan Sundstr&#246;m</author>
      <link>http://userscripts.org/posts/63396</link>
    </item>
    <item>
      <title>Archived Comments, replied by Pallando</title>
      <description>&lt;p&gt;Here is how to add bookpool.com to the list:&lt;/p&gt;

&lt;p&gt;  { name: 'Bookpool.com', id: 'bookpool', hostname: /\bbookpool.com$/i,
&lt;br /&gt;    getISBN: /(?:qs|is|sm)[\/=]([0-9X]{10})(&amp;amp;|\?|\.|$)/i,
&lt;br /&gt;    bookURL: 'http://www.bookpool.com/sm/%s',
&lt;br /&gt;    ajaxPrice: /Our\s+Price(?:[^&amp;lt;]*&amp;lt;\/b[^&gt;]*&gt;)?[^&amp;lt;]*&amp;lt;font&gt;]*&gt;(?:\s*&lt;b&gt;]*&gt;)?\s*([^&amp;lt;]+)/i },&lt;/p&gt;</description>
      <pubDate>Tue, 15 Nov 2005 12:01:56 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63397</guid>
      <author>Pallando</author>
      <link>http://userscripts.org/posts/63397</link>
    </item>
    <item>
      <title>Archived Comments, replied by Jesse Andrews</title>
      <description>&lt;p&gt;The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)&lt;/p&gt;</description>
      <pubDate>Wed, 17 Nov 2004 01:05:28 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15357:63388</guid>
      <author>Jesse Andrews</author>
      <link>http://userscripts.org/posts/63388</link>
    </item>
  </channel>
</rss>
