Subject: | Prefixes and publisher ranges should be updated with the latest data |
Date: | Fri, 5 Dec 2008 11:04:41 +0100 |
To: | bug-Business-ISBN [...] rt.cpan.org |
From: | "Damiano ALBANI" <damiano.albani [...] gmail.com> |
The ISBN agency regularly provides updates for the ranges, as you can see on
<http://www.isbn-international.org/converter/ranges.js>. So it would be nice
for this module to keep up to date.
Instead of using the data from the PDF file (which is now outdated), I think
the page at <http://www.isbn-international.org/converter/ranges.htm> should
be used as reference.
In fact, the HTML code for this page is generated from the JavaScript file
above.
To ease data extraction from this page, I've created a small bookmarklet to
generate a CSV-formatted file from this Web page : <
http://pastebin.com/f40a17547>. Using a JavaScript compressor like <
http://dean.edwards.name/packer/> can turn it into suitable bookmarklet
code. That's just an example, created for a specific need but it could be
adapted to be used here.
As the Web page source also provides country information, "make_data.pl"
should use it directly and "Data.pm" should not contain country data
anymore.