Adding 2 options to prep_ebook_records.py script
authorArt Rhyno <art632000@yahoo.ca>
Thu, 4 Oct 2012 18:32:46 +0000 (14:32 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Nov 2012 17:58:03 +0000 (12:58 -0500)
commita49b08196c67c2de67035902bc05aa252b3071dc
treee47a1290a06fa6ac9459242c86af1be8f2ef0ddc
parent83b03e9615f569cdcdf877819dbcb9ce4af84af1
Adding 2 options to prep_ebook_records.py script

This supports 2 additional options to Dan Scott's ebook script:

    -t / --tcn : The name of the file to route TCN duplicates to.

The tcn search takes the 001 and does an OpenSRF open-ils.search.biblio.tcn
call.

   -u / --url : The name of the file to route URL duplicates to.

The url search is based on the 856u field and is done with the OpenSRF
open-ils.search.biblio.multiclass.query call.

Signed-off-by: Art Rhyno <art632000@yahoo.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/ebooks/prep_ebook_records.py