[Koha] Where to place RSS xml output?

Jonathan Druart jonathan.druart at bugs.koha-community.org
Tue Jan 4 03:12:41 NZDT 2022


Hello Tasha,

Some months ago I had a look at those files and I didn't manage to
make them work
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28893#c7
I think we should remove them from the codebase to avoid confusion.

Regards,
Jonathan

Le dim. 2 janv. 2022 à 03:43, Bales (US), Tasha R
<tasha.r.bales at boeing.com> a écrit :
>
> 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


More information about the Koha mailing list