Re: [Koha-devel] Two RSS-related problems
Nicole, I'm running 3.00.00.067, and the autodiscovery URL for the feed is http://servername/cgi-bin/koha/opac-rss.pl?q%3Dschool Guess this might have been changed in newer versions, sorry about that. This file is still a template: http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=blob;f=rss/rss.pl Regards, Magnus ----- Original Message ----- From: "Nicole Engard" <nicole.engard@liblime.com> To: "Magnus Enger" <magnus@enger.priv.no> Sent: Fri, 13 Jun 2008 18:02:27 -0700 Subject: Re: [Koha-devel] Two RSS-related problems
Magnus,
I'm not sure where you're getting the URL for the RSS feed - but this is what I have in the manual for the RSS feed URL:
To find the RSS Feed URL for any search results page, just append &format=rss2 to the end. If your search results URL is http://opac.liblime.com/cgi-bin/koha/opac-search.pl?q=school+violence the RSS URL is
http://opac.liblime.com/cgi-bin/koha/opac-search.pl?q=school+violence&format=
rss2 . You can use this URL to subscribe using the aggregator of your choice.
On Sat, Jun 7, 2008 at 2:36 PM, Magnus Enger <magnus@enger.priv.no> wrote:
Dear all,
I have two problems related to RSS:
1. RSS for search
When I try to access the RSS for a search, e.g. /cgi-bin/koha/opac-rss.pl?q=bing I get an error:
Can't use an undefined value as an ARRAY reference at /usr/share/koha/opac/cgi-bin/opac/opac-rss.pl line 127.
Apache Server version: Apache/2.2.6 (Unix) Server built: Sep 18 2007 03:54:41 Koha 3.00.00.067 Koha DB 3.0000067 MySQL mysql Ver 14.12 Distrib 5.0.45, for redhat-linux-gnu (i386) using
readline 5.0 OS Linux xx 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux Perl 5.008008
There is nothing about this in /var/log/koha/koha-error_log
2. RSS for cron
The file /usr/share/koha/misc/rss/rss.pl contains no perl-code, just a template similar to lastAcquired.tmpl. Same here: http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=blob;f=rss/rss.pl;hb=HEAD
Any pointers deeply appreciated!
Regards, Magnus Enger, Norway collib.info _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
-- Nicole C. Engard Open Source Evangelist, LibLime (888) Koha ILS (564-2457) ext. 714 nce@liblime.com AIM/Y!/Skype: nengard
Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
On Tue, Jun 17, 2008 at 8:24 AM, Magnus Enger <magnus@enger.priv.no> wrote:
Nicole,
I'm running 3.00.00.067, and the autodiscovery URL for the feed is http://servername/cgi-bin/koha/opac-rss.pl?q%3Dschool Guess this might have been changed in newer versions, sorry about that. Yep, this has been changed in a more recent version.
This file is still a template: http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=blob;f=rss/rss.pl Yes, but this is a different type of RSS feed. It's not as generalized as the opac-search one, and is designed to give an example of how to create custom RSS feeds for specific purposes (such as a new title list).
Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
participants (2)
-
Joshua Ferraro -
Magnus Enger