[Koha] Where to place RSS xml output?
Tim McMahon
tmcmahon at wlpl.org
Tue Jan 4 12:34:47 NZDT 2022
I tried this about a year ago. The only way I found to get it to work
(on a test server) was to create new directory (I named it rss) in
koha/opac/htdocs and access it with http://mycatalog.com/rss/file.xml.
On 1/1/22 8:43 PM, Bales (US), Tasha R wrote:
> 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/
>
>
> _______________________________________________
>
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
--
*Tim McMahon*
West Liberty Public Library
319-627-2084
More information about the Koha
mailing list