3.3.9 - RSS Feed

This section contains all the bug reports that have been solved in version 2 or version 3. / Cette section contient tous les rapports d'erreur qui ont été résolu dans la version 2 ou version 3.
Post Reply
hscommish
New in Town / Le Ptit Nouveau
Posts: 35
Joined: Sat Nov 07, 2020 2:41 pm

3.3.9 - RSS Feed

Post by hscommish »

Hello Simon,

The RSS Feed for our website stopped working. I ran a validation test and was given the following information as to why it won't work:

Message
element must be an RFC-822 date-time

Explanation
Invalid date-time. The value specified must meet the Date and Time specifications as defined by RFC822, with the exception that the year should be expressed as four digits.

Solution
Change the date-time format to comply with RFC822. Here are examples of valid RFC822 date-times:

<pubDate>Wed, 02 Oct 2002 08:00:00 EST</pubDate>

<pubDate>Wed, 02 Oct 2002 13:00:00 GMT</pubDate>

<pubDate>Wed, 02 Oct 2002 15:00:00 +0200</pubDate>

Common errors include localizing the month name or the days of the week, not using the exact abbreviation provided by the specification, or attempting to use a time zone name that is not listed. See Section 5.1 for the list of allowable values for these portions of the date.

Here is an example of an invalid RFC822 date-time. This is commonly seen in RSS 1.0 feeds generated by older versions of Movable Type:

<pubDate>2002-10-02T08:00:00-05:00</pubDate>

Would you be able to explain how I might be able to fix the way the date is displayed in our RSS feed?

Thank you!
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14776
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: RSS Feed

Post by SimonT »

Website URL?
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
hscommish
New in Town / Le Ptit Nouveau
Posts: 35
Joined: Sat Nov 07, 2020 2:41 pm

Re: RSS Feed

Post by hscommish »

https://hshockey.ca/index.php

We use an edited Index.php and Menu.php file and a few other ones, but most of the files we use are the ones the simulator creates (including the RSSFeed.xml file).

The URL for our RSS feed is:
https://hshockey.ca/RSSFeed.xml
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14776
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: RSS Feed

Post by SimonT »

Fix for 3.4.0.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Post Reply