Description
The setup wizard will read ./kernel/classes/datatypes/ezisbn/share/db_data.dba and insert the data in the database (this file contain the ISBN-13 ranges published by ISBN International)
This .dba file must be regenerated on every release so that we include any updates published by ISBN International.
The .dba file is updated by the following method :
- Download a ".js" file containing the list of ranges using the following link: http://www.isbn-international.org/converter/ranges.js
- Navigate into the eZ Publish directory and copy the downloaded file there.
- Run the "updateisbn13.php" script using the following shell command: php bin/php/updateisbn13.php --file=ranges.js
- Create the .dba file based on ranges now stored in db : php bin/php/ezsqldumpisbndata.php
- commit kernel/classes/datatypes/ezisbn/share/db_data.dba
Release routines needs to be updated accordingly
In 3.10 beta1 we also shipped kernel/classes/datatypes/ezisbn/sql/mysql/cleandata.sql and kernel/classes/datatypes/ezisbn/sql/postgresql/cleandata.sql.
I don't think it is necessary to include those file in the distro ( since they won't be in use)