Bug 4901

Summary: Title & Subtitle w/out space in Zotero
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: OPACAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: P5 - low CC: gcollum
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: title in opac and in zotero different

Description Nicole C. Engard 2010-06-21 17:17:27 UTC
Created attachment 2256 [details]
title in opac and in zotero different

When you add an item to Zotero the title and the subtitle get smooched together there should be a space and/or a colon.
Comment 1 Owen Leonard 2010-07-09 18:12:21 UTC
I've tried everything I can think if to change this behavior, all to no avail. Using the Library Mashups example, I've compared the output of Koha to that of Worldcat, where Zotero correctly stores the title and subtitle without error. Even if I embed the exact markup from the WorldCat page into the Koha template it still doesn't save correctly.

I know Zotero has different built in processors ("translators") for different sites, and that WorldCat has its own. I'm wondering if there is some kind of processing going on in the WorldCat translator that the unAPI lacks?
Comment 2 Garry Collum 2010-07-10 16:18:30 UTC
There seems to be a problem with unAPI.  If you remove the following line from opac-detail.tmpl

<abbr class="unapi-id" title="koha:biblionumber:<!-- TMPL_VAR NAME="biblionumber" -->"><!-- unAPI --></abbr>

Coins is used instead and zotero works properly.  The colon is retained between the title and subtitle.  This explains why zotero works properly with subtitles in a list of search results that appear on opac-search.pl, but not opac-detail.pl.  Coins is used.

However, if you pull up the bib in the unapi interface
"cgi-bin/koha/unapi?id=koha:biblionumber:532&format=oai_dc"
the colon appears between the title and subtitle.

Is it possible that the colon just needs to be escaped in the unapi results?
Comment 3 Nicole C. Engard 2013-02-13 13:25:07 UTC
I think this is fixed (not sure how) because I'm not seeing it anymore.

Nicole