[Koha] [EXTERNAL] Re: Search/List RSS feeds (trigger? add call number?)

Bales (US), Tasha R tasha.r.bales at boeing.com
Tue Aug 24 02:18:02 NZST 2021

Thanks for your reply, Katrin.

Your comments on including a call number in an RSS make perfect sense.  We could use a bibliographic attribute instead, such as technical report number in 027, thus my attempt to sub in "report-number" for isbn. I don't know if I'm on the right track with respect to syntax (i.e., what are the possible terms that could be subbed in for isbn?), but I haven't tried 001 or 035 yet; I will give those a try too.  

I am surprised by the behavior of the "Subscribe to this list" RSS.  I was really hoping that would allow for reappearance in the feed if an item in the list was edited.  Thanks for your suggestion to file an enhancement request (is that just a bug report, or is there a separate option for enhancement requests?).  

If anyone has knowledge of what code we would look at in addition to opac-opensearch.tt and opac-search.pl, please advise.  Maybe there is something we can tweak fundamental to RSS to allow for reporting on records with an 005 that is >= a specified value.  I believe we could use a custom feed, but I think that would only work for users on a case-by-case basis, which would be unmanageable.  Thanks again for your time. 

Tasha Bales 
Enterprise Services

-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Katrin Fischer
Sent: Monday, August 23, 2021 5:38 AM
To: koha at lists.katipo.co.nz
Subject: [EXTERNAL] Re: [Koha] Search/List RSS feeds (trigger? add call number?)

EXT email: be mindful of links/attachments.

Hi Tasha,

I can't answer all your questions, but maybe I can provide a bit of information.

I think that for the RSS feed on lists the date the record is added to a list is used. Would that match with what you see?

I think adding the call number to the RSS feed might not be straight forward, because this information would have to be taken from the items instead of the record. As there can be many items per record and the call numbers can vary between the different branches and locations of a library system, the task of displaying this information in a useful and nice way is not an easy one. Maybe filing an enhancement request on bugzilla to discuss this more would be a good first step to discuss this further.

Hope this helps,


On 19.08.21 15:51, Bales (US), Tasha R wrote:
> Good morning,
> I'm writing with a couple questions about out-of-the-box RSS feeds for searches.  I'm interested in how to modify them (I really need one or more of our call numbers/classification numbers to be included), and how they are triggered.  I see two types of feeds, below.
> "Subscribe to this search"
> *         The manual says this feed "will allow you to see when a new item is added to the catalog".
> *         How is a "new item" defined?  I've taken a look at opac-opensearch.tt and opac-search.pl, in order to under how date limiting is coming in to play, specifically (which dates, what comparison, what fields, etc.).  I do see reference to an 005 date "hack" for Atom, but it seems like only the RSS portions of the code are relevant.  I'd like to determine if I can only ever expect newly added records to be returned, or would/could updated records also be returned?
> "Subscribe to this list"
> *         I don't see information about this feed in the manual.
> *         Since this is a search about already-cataloged, known items, it wouldn't make sense for the RSS to retrieve only newly cataloged records.  Therefore, what should trigger a subscriber to receive an update about their list if an item has been updated?  Is it the bib 005, or something else?  I've tried editing a few records in a list I am subscribed to, expecting to get a new email, but I didn't receive a message.  Although this last part may sound confusing, I'm leaving as is, as it may help explain context-I've added the feeds to my Microsoft Outlook, where each matching item shows up as a discrete "email" message in my RSS Feeds folder.
> Maybe the problem here is my understanding of RSS.  My feeds appear to be refreshed every time I check my mail, but I'm only receiving RSS for newly added records.  I didn't receive a new feed today of records in my "list" that I edited yesterday.
> Finally, I find that the RSS output is not usable for my patrons.  We really need call number to be included in the RSS.  It looks like we could modify the template line below to swap out isbn with another identifier, but I'm not sure how to know what term to swap in after "SEARCH_RESULT.":
> <dc:identifier>ISBN:[% SEARCH_RESULT.isbn | html %]</dc:identifier>
> I've tried "report-number", "callnum", "lcn", and "local-classification", which all failed to produce results.
> Please advise if there are any known examples about customizing the RSS templates for the basic searches above (I didn't see anything promising in the Wiki, when I searched for "RSS" or "opensearch.tt").
> Thanks so much for your time,
> Tasha Bales
> Enterprise Services
> http://isesi.web.boeing.com/
> _______________________________________________
> Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

More information about the Koha mailing list