Description: This script has to be used with tellico (http://periapsis.org/tellico) as an external data source program. It allows searching for books in Spanish Ministry of Culture's database (at http://www.mcu.es/bases/spa/isbn/ISBN.html).
Multiple ISBN/UPC searching is supported through the -m option: ./books_ministerio_de_cultura.py -m filename where filename holds one ISBN or UPC per line.
Tellico data source setup: - Source type: External Application - Source name: Ministerio de Cultura (ES) (or whatever you want - Collection type: Book Collection - Result type: Tellico - Path: /path/to/script/books_ministerio_de_cultura.py - Arguments: Title (checked) = -t %1 Person (checked) = -a %1 ISBN (checked) = -i %1 UPC (checked) = -i %1 Update (checked) = %{title}
Be sure to chmod +x it. Depends: Python >= 2.4.x onlyLast changelog:
** Please note that this script is also part of the Tellico's distribution. ** You will always find the latest version in the SVN trunk of Tellico
Version 0.3.2: * Now find 'notas' field related information * search URL modified to fetch information of exhausted books too
Version 0.3.1: Bug Fixes: * The 'tr.' string does not appear among authors anymore * Fixed an AttributeError exception related to a regexp matching the number of pages
Version 0.3: Bug Fixes: * URL of the search engine has changed: http://www.mcu.es/bases/spa/isbn/ISBN.html is now http://www.mcu.es/comun/bases/isbn/ISBN.html * All the regexps have been rewritten to match the new site's content
Version 0.2: New features: * Support for multiple ISBN/UPC searching (support from command line with -m option) * Default books collection enhanced with a new custom field 'Collection' * Search extended for both available and exhausted books * Hyphens are stripped out in the ISBN (or UPC) search
Bug Fixes: * Publication year now holds only the year * ISBN regexp fix * Fix for publisher field (values were inverted) * -i parameter works for both ISBN and UPC based search
Ratings & Comments
0 Comments