Hi Qiang:

On Sun, 26 Apr 2009, Qiang Wei wrote:
> The question left is how to upload the file, e.g., the pdf file, for
> each record.

One way is to use the FFT (=fulltext file transfer) tag, see the docs at
<http://invenio-demo.cern.ch/help/admin/bibupload-admin-guide#3.5>.

Basically, if you have a file /tmp/foo.pdf that you would like to attach
to record 123, you should create this MARCXML snippet:

    $ cat /tmp/z.xml
    <record>
      <controlfield tag="001">123</controlfield>
      <datafield tag="FFT" ind1=" " ind2=" ">
        <subfield code="a">/tmp/foo.pdf</subfield>
      </datafield>
    </record>

and launch ``bibupload -u admin -a /tmp/z.xml''.

(For example, if you have direct full-text file links in your old
MARCXML dump file, then you could change your 856 $u tags into FFT $a
tags, and bibupload that into your new system; this would upload not
only metadata, but also the full-text files.)

Best regards
-- 
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to