#1023: BatchUploader: allow insertion of text MARC
---------------------+---------------------------
Reporter:  jcaffaro  |      Owner:
    Type:  defect    |     Status:  new
Priority:  trivial   |  Component:  BibUpload
 Version:            |   Keywords:  BatchUploader
---------------------+---------------------------
 Batchuploader interface allows to "--insert" "TextMarc" records, but the
 underlying textmarc2xmlmarc.py will not support the creation of MARCXML
 without a record ID (tag 001), which is necessary to avoid when inserting
 records (and not updating/replacing).

  * The textmarc2xmlmarc.py could be enhanced to support input MARC without
 recid (a fake prefixing recid would still be needed in the input to
 differentiate records)
  * batchuploader_engine.py could strip off the recid created by
 textmarc2xmlmarc.py if it is run in "--insert" mode
  * The "--insert" option could be removed from web interface when
 "TextMARC" record is selected (and "TextMARC" removed when "--insert" is
 selected)

-- 
Ticket URL: <http://invenio-software.org/ticket/1023>
Invenio <http://invenio-software.org>

Reply via email to