Bug 4901 - Title & Subtitle w/out space in Zotero
Summary: Title & Subtitle w/out space in Zotero
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Galen Charlton
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 17:17 UTC by Nicole C. Engard
Modified: 2013-12-05 20:05 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
title in opac and in zotero different (182.85 KB, image/png)
2010-06-21 17:17 UTC, Nicole C. Engard
Details

Note You need to log in before you can comment on or make changes to this bug.
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