Updating Business::ISBN

by brian d foy

Tonight I had some time to update Busines::ISBN::Data, which is the data pack for Business::ISBN. It exists separately so I can update them separately. The ISBN folks have added several country prefixes and updated the publisher ranges in a lot of the prefixes: space for new publishers is getting short.

The task was much easier this time. Previously, I got the data from the HTML pages on their web site. They've done away with that in favor of a PDF file. Things would have been much easier if it was just a text file. There isn't anything fancy in the PDF: no images, no fancy text effects: just the data.

Oh well. Updates are infrequent, and it was easy to extract the text from the PDF, even if the data was a bit dirty. Still, text wants to be text.