[IUG] Patron record feeds invalid


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hallo Bill
I now got my record feeds going. The wwwoption should be adjusted as
follows:

PATFEED_IMAGE=|/screens/rss.gif|Subscribe to a feed of your library
record.|88|31

And important it only works with IE7 and Firefox 2




Anette Lessing
AIS Information Systems & Technology
Academic Information Service
University of Pretoria
PRETORIA 0002.South Africa
Tel: +27 12 4204718
Fax: +27 12 3625100




>>> "Bill Jupp" <w dot p dot jupp at leeds dot ac dot uk> 2007/07/23 03:50 PM >>>
At Leeds our patron record feed does not validate (against
http://feedvalidator.org/ http://validator.w3.org/feed/)
I can't see any other post on the list about this issue, so wonder if
it
is just a Leeds local config problem. Does anybody else have the same
problem, or better still, a fix?

Thanks, Bill


The problem is that the date format doesn't meet RFC822 spec, eg
<lastBuildDate>Mon, Jul 23 13:05:30 2007 GMT</lastBuildDate>

The feed works fine in:
Firefox 2
IE 7
Opera 8 & 9
RssReader 1.0.88.0

The feed breaks in:
Firefox 1.5
IE 6.0
SharpReader 0.9.7

Here's an example feed:

<lastBuildDate>Mon, Jul 23 13:05:30 2007 GMT</lastBuildDate>

<rss version="2.0">
<channel>
<title>Leeds University Library</title>
<link>http://wam.leeds.ac.uk:80/patroninfo/****** (
http://wam.leeds.ac.uk/patroninfo/****** )</link>
<description>
Follow links to your Library record for full details.
</description>
<lastBuildDate>Mon, Jul 23 13:19:11 2007 GMT</lastBuildDate>
<generator>Millennium Patron Feed Builder</generator>
<ttl>1440</ttl>
<image>
<url>http://wam.leeds.ac.uk:80/screens/gengfx/rss.gif (
http://wam.leeds.ac.uk/screens/gengfx/rss.gif )</url>
<title>Subscribe to a feed of your library record.</title>
<link>http://wam.leeds.ac.uk:80/feeds/pat/******.xml (
http://wam.leeds.ac.uk/feeds/pat/******.xml )</link>
<width>36</width>
<height>14</height>
</image>
<item>
<title>You have new fines</title>

<link>http://wam.leeds.ac.uk:80/patroninfo/******/overdues (
http://wam.leeds.ac.uk/patroninfo/******/overdues )</link>
<guid isPermaLink="false">New fine or fee</guid>
</item>
</channel>
</rss>



--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---