NAME

koha-coce-url - Generate a JSON structure of Cover url via Coce

VERSION

version 0.072

DESCRIPTION

This script generate a JSON array of Cover URLs for biblio records. For example:

[
 [
   16618,
   "Responsable marketing",
   "https://images-na.ssl-images-amazon.com/images/I/41UUr1J8tqL._SL300_.jpg"
 ],
 [
   16907,
   "Les autruches ne mettent plus la tête dans le sable",
   "https://images-na.ssl-images-amazon.com/images/I/41ZJC0OjcbL._SL300_.jpg"
 ],
 [
   17844,
   "La valeur des idées",
   "https://images-na.ssl-images-amazon.com/images/I/41AVP5yuTnL._SL300_.jpg"
 ]
]

The script need three parameters:

  • A query returning a list of biblionumber. For example:

    SELECT biblionumber
    FROM biblioitems
    WHERE isbn <> ""
    ORDER BY biblionumber DESC
    LIMIT 100
  • Address of a Coce server.

  • Size of images

SYNOPSYS

koha-coce-url "select biblionumber from biblio limit 100" http:://coce.server

COPYRIGHT AND LICENSE

Copyright 2018 by Tamil, s.a.r.l.

http://www.tamil.fr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.

AUTHOR

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2023 by Fréderic Démians.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007