[Koha-bugs] [Bug 12331] can't save results to zotero

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 3 18:45:48 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12331

--- Comment #3 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
(In reply to Nicole C. Engard from comment #2)
> I don't really understand all that - can you explain it such that I could
> report the bug to them - or could you report the bug to them?

I'm not a user of Zotero :(, 
will try to explain.

Zotero uses "translators"[1] to detect and add records/objects.
They are JavaScript functions, and there are plenty of them [2]

In the case of Koha Zotero translator [3], they have a function
to detect a single record (opac-detail in url) or multiple
(opac-results in url). For multiple results, they parse the
html looking for something with structure

<span class="results_summary">
  <span class="label">
    <a href="...opac-detail.pl...">

but we don't have that. perhaps something like
<td class="bibliocol">
  <a class="title" href="...opac-detail.pl...">

My hope was that Owen could take a look and perhaps suggest a correct
XPath expression so Mr. Sebastian Karcher (creator) could fix the translator.

In summary, I think the problem they have is an incorrect XPath expression when
parsing multiple results.

[1] https://www.zotero.org/support/translators
[2] https://github.com/zotero/translators
[3]
https://github.com/zotero/translators/blob/master/Library%20Catalog%20(Koha).js

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list