[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>
&lt;collection
  xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation=&quot;http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd&quot;
  xmlns=&quot;http://www.loc.gov/MARC21/slim&quot;&gt;

&lt;record&gt;
  &lt;leader&gt;00867nam a2200241Ki 4500&lt;/leader&gt;
  &lt;controlfield tag=&quot;001&quot;&gt;PG5739&lt;/controlfield&gt;
  &lt;controlfield tag=&quot;005&quot;&gt;20101215134800.0&lt;/controlfield&gt;
  &lt;controlfield
tag=&quot;006&quot;&gt;m||||||||d||||||||&lt;/controlfield&gt;
  &lt;controlfield tag=&quot;007&quot;&gt;cr||n |||muaua&lt;/controlfield&gt;
  &lt;controlfield tag=&quot;008&quot;&gt;101213s2004    utu     o          
eng d&lt;/controlfield&gt;
  &lt;datafield tag=&quot;042&quot; ind1=&quot; &quot; ind2=&quot; &quot;&gt;
;
    &lt;subfield code=&quot;h&quot;&gt;[electronic resource].&lt;/subfield&gt;
  &lt;/datafield&gt;
  &lt;datafield tag=&quot;260&quot; ind1=&quot; &quot; ind2=&quot; &quot;&gt;
    &lt;subfield code=&quot;a&quot;&gt;Salt Lake City :&lt;/subfield&gt;
    &lt;subfield code=&quot;b&quot;&gt;Project Gutenberg Literary Archive
Foundation,&lt;/subfield&gt;
    &lt;subfield code=&quot;c&quot;&gt;2004.&lt;/subfield&gt;
  &lt;/datafield&gt;
  &lt;datafield tag=&quot;300&quot; ind1=&quot; &quot; ind2=&quot; &quot;&gt;
    &lt;subfield code=&quot;a&quot;&gt;1 online resource :&lt;/subfield&gt;
    &lt;subfield code=&quot;b&quot;&gt;multiple file formats.&lt;/subfield&gt;
  &lt;/datafield&gt;
  &lt;datafield tag=&quot;500&quot; ind1=&quot; &quot; ind2=&quot; &quot;&gt;
    &lt;subfield code=&quot;a&quot;&gt;Records generated from Project Gutenberg
RDF data.&lt;/subfield&gt;
  &lt;/datafield&gt;
  &lt;datafield tag=&quot;500&quot; ind1=&quot; &quot; ind2=&quot; &quot;&gt;
    &lt;subfield code=&quot;a&quot;&gt;ISO 639-2 language
code:&lt;/subfield&gt;  &lt;/datafield&gt;
  &lt;datafield tag=&quot;540&quot; ind1=&quot; &quot; ind2=&quot; &quot;&gt;
    &lt;subfield code=&quot;a&quot;&gt;Applicable license:
http://www.gutenberg.org/license&lt;/subfield&gt;
  &lt;/datafield&gt;
  &lt;datafield tag=&quot;546&quot; ind1=&quot; &quot; ind2=&quot; &quot;&gt;
    &lt;subfield code=&quot;a&quot;&gt;Text in Korean and
English.&lt;/subfield&gt;
  &lt;/datafield&gt;
  &lt;datafield tag=&quot;655&quot; ind1=&quot; &quot; ind2=&quot;0&quot;&gt;
    &lt;subfield code=&quot;a&quot;&gt;Electronic books.&lt;/subfield&gt;
  &lt;/datafield&gt;
  &lt;datafield tag=&quot;700&quot; ind1=&quot;1&quot; ind2=&quot; &quot;&gt;
    &lt;subfield code=&quot;a&quot;&gt;Kuperman, Leon,&lt;/subfield&gt;
    &lt;subfield code=&quot;e&quot;&gt;author.&lt;/subfield&gt;
  &lt;/datafield&gt;
  &lt;datafield tag=&quot;710&quot; ind1=&quot;2&quot; ind2=&quot; &quot;&gt;
    &lt;subfield code=&quot;a&quot;&gt;Project Gutenberg.&lt;/subfield&gt;
  &lt;/datafield&gt;
  &lt;datafield tag=&quot;856&quot; ind1=&quot;4&quot; ind2=&quot;0&quot;&gt;
    &lt;subfield
code=&quot;u&quot;&gt;http://www.gutenberg.org/etext/5739&lt;/subfield&gt;
    &lt;subfield code=&quot;y&quot;&gt;Click here to access a downloadable
ebook.&lt;/subfield&gt;
  &lt;/datafield&gt;
&lt;/record&gt;

&lt;/collection&gt;</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