[Koha-bugs] [Bug 7613] OCLC Connexion Gateway
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 22 16:24:15 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7613
MJ Ray (software.coop) <mjr at ttllp.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Needs Signoff
--- Comment #19 from MJ Ray (software.coop) <mjr at ttllp.co.uk> ---
Actually can I revoke that signoff? Sorry, but I confused myself with what I
put in through the web interface yesterday. I thought one.xml had uploaded, but
I realise now that it was the copy I uploaded through Tools yesterday.
I can submit oneitem.xml using curl as outlined above (curl -b svc.cookie -d
'@oneitem.xml' -H 'Content-Type: text/plain'
http://intranet/cgi-bin/koha/svc/import_bib) and import_bib now answers with
<?xml version='1.0' standalone='yes'?>
<response>
<import_batch_id>4</import_batch_id>
<marcxml>
<collection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
xmlns="http://www.loc.gov/MARC21/slim">
<record>
<leader>00867nam a2200241Ki 4500</leader>
<controlfield tag="001">PG5739</controlfield>
<controlfield tag="005">20101215134800.0</controlfield>
<controlfield
tag="006">m||||||||d||||||||</controlfield>
<controlfield tag="007">cr||n |||muaua</controlfield>
<controlfield tag="008">101213s2004 utu o
eng d</controlfield>
<datafield tag="042" ind1=" " ind2=" ">
;
<subfield code="h">[electronic resource].</subfield>
</datafield>
<datafield tag="260" ind1=" " ind2=" ">
<subfield code="a">Salt Lake City :</subfield>
<subfield code="b">Project Gutenberg Literary Archive
Foundation,</subfield>
<subfield code="c">2004.</subfield>
</datafield>
<datafield tag="300" ind1=" " ind2=" ">
<subfield code="a">1 online resource :</subfield>
<subfield code="b">multiple file formats.</subfield>
</datafield>
<datafield tag="500" ind1=" " ind2=" ">
<subfield code="a">Records generated from Project Gutenberg
RDF data.</subfield>
</datafield>
<datafield tag="500" ind1=" " ind2=" ">
<subfield code="a">ISO 639-2 language
code:</subfield> </datafield>
<datafield tag="540" ind1=" " ind2=" ">
<subfield code="a">Applicable license:
http://www.gutenberg.org/license</subfield>
</datafield>
<datafield tag="546" ind1=" " ind2=" ">
<subfield code="a">Text in Korean and
English.</subfield>
</datafield>
<datafield tag="655" ind1=" " ind2="0">
<subfield code="a">Electronic books.</subfield>
</datafield>
<datafield tag="700" ind1="1" ind2=" ">
<subfield code="a">Kuperman, Leon,</subfield>
<subfield code="e">author.</subfield>
</datafield>
<datafield tag="710" ind1="2" ind2=" ">
<subfield code="a">Project Gutenberg.</subfield>
</datafield>
<datafield tag="856" ind1="4" ind2="0">
<subfield
code="u">http://www.gutenberg.org/etext/5739</subfield>
<subfield code="y">Click here to access a downloadable
ebook.</subfield>
</datafield>
</record>
</collection></marcxml>
<status>ok</status>
</response>
but when I visit http://intranet/cgi-bin/koha/tools/manage-marc-import.pl there
is no import batch number 4. Also, I've just attached the oneitem.xml which
includes an item tag 952, but the marcxml above doesn't include the item. I'm
not sure I understand how this is meant to work. I'll keep hacking for a
while.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list