Technology Tools for Ministry

Community

Web-Empowered Church User Community
Total Posts: 3 - Pages (1): [1]
Author: Peter Berntson
Posted: Mar 21 2008 - 08:48 PM
Subject: RSS Feed Pub Date
I have an RSS (type=222) feed coming from my sermon page. The feed is not validating because the PubDate tag is not in the correct RFC-822 format (The day of the week is the full word, not the allowed abbreviation - see validator output below) Most times this is not a problem, but when the date is Thursday (e.g. Maundy Thursday) the pubdate is not recognized by reader such as bloglines. The result is the item does not appear in the list or is in the wrong order.

Can somone point me to the location where I can set the date to be in RFC-822 format for the RSS feeds.

Many thanks
Pete
------------------------------------------------
line 35, column 48: pubDate must be an RFC-822 date-time: Thursday, 20 Mar 2008 00:00:00 -0400 (10 occurrences) [help]

<pubDate>Thursday, 20 Mar 2008 00:00:00 -0400</pubDate>
Author: Matt Bradshaw
Posted: Mar 25 2008 - 10:27 AM
Subject: re: RSS Feed Pub Date
Hey there, Peter. :-)

Yeah, it looks like the iTunes-specific podcast format is slightly incorrect (although the RSS2.0 template is correct, strangely enough). I've made the correction in the development version of wec_api now and plan to release this alongside wec_sermons 0.10.0 within a couple of days at most (after some final testing).

If you want to fix this before then, you can modify <T3Root>/typo3conf/ext/wec_api/static/itunes/setup.txt yourself, setting 'item_pubdate.strftime = %a, %d %b %Y %H:%M:%S %z'. Oh what difference %a makes (compared with %A). :-)

Thank you for your help!

Regards,

Matt
Author: Peter Berntson
Posted: Apr 01 2008 - 10:16 PM
Subject: re: RSS Feed Pub Date
Matt,
changing the %A to %a resolved my issues...

Many thanks!
Pete
Total Posts: 3 - Pages (1): [1]
You must login to post a message to this conference.