[Koha] Where to place RSS xml output?
Bales (US), Tasha R
tasha.r.bales at boeing.com
Sun Jan 2 15:43:12 NZDT 2022
Good evening,
I've been reviewing the sample templates and configuration files for custom RSS. On my system, these are installed here: /usr/share/koha/bin/cronjobs/rss. I'm stuck on where to place the XML that is produced in order to make the output accessible/subscribable via the OPAC.
I've tried placing the XML files into koha/opac/cgi-bin/opac and into koha/opac/cgi-bin/opac/rss. Then, I tried accessing the files (with permissions set to 755) using the following guesses at URL scheme:
http://mycatalog.com/cgi-bin/koha/lastAcquired.xml (results in a blank page that has only the words "not found" in the upper left)
http://mycatalog.com/cgi-bin/koha/rss/lastAcquired.xml (results in 500 internal server error)
http://mycatalog.com/lastAcquired.xml (results in an Error 404 in the OPAC, "Sorry, the requested page is not available")
I'm sure the issue is a matter of ignorance on my part as to what the best and acceptable locations are for placing "local" files. I apologize for that, but please know I invested a couple hours before asking. Thanks in advance if anyone has tips as to where to place the files, and then, how to access them.
Excerpt from lastAcquired.conf:
title=Recent Koha Acquisitions
link=http://www.koha-community.org (<-- I assume this is supposed to be my catalog URL, and I updated accordingly)
desc=The 15 most recent acquisitions
...
title=Koha, the worlds best Open Source Library System
url=http://www.koha-community.org/images/foo.jpg
link=http://www.koha-community.org
config
template=lastAcquired.tt
output=[here I inserted path to destination folder]/lastAcquired.xml
Tasha Bales
Enterprise Services
http://isesi.web.boeing.com/
More information about the Koha
mailing list