RSS Date issue

All errors or issues on the website/forums should be reported here and will be investigated. Support questions about how to use/access features not documented in the forum FAQ and discussion about the site forums are also welcome here, but please read this thread before posting such items.
Locked
hyperair
Experienced
Experienced
Posts: 202
Joined: Sun Oct 14, 2007 4:04 pm

RSS Date issue

Post by hyperair » Thu Nov 29, 2007 7:18 pm

I've been following Routertech's RSS feed for some time now, and recently, all the dates disappeared from my RSS reader. I looked into the matter and found that the dates in the feed were formatted in this manner:

Code: Select all

Thu Nov 29, 2007 2:12:46 am
where the W3C standards say that it should be in this format:

Code: Select all

Thu, 29 Nov 2007 02:12:46 +0800
The result is that the RSS reader I am using (I'm using Liferea-not sure about others) cannot display the time properly, as shown in the screenshot.
Attachments
Screenshot-Liferea.png
(101.5 KiB) Downloaded 314 times
User avatar
Kieran
RouterTech Team
RouterTech Team
Posts: 2675
Joined: Fri Jan 20, 2006 11:30 am
Location: London
Contact:

Post by Kieran » Thu Nov 29, 2007 7:20 pm

Thanks for the report. Has this changed recently? You mention it working before?
Kieran
"Indeed!"
Invaluable links: Forum Rules | Networking Guides | FAQ | Site Search | Forum Search <-- Use it or feel my wrath!
No support via PM, please ask your questions in the forum!
hyperair
Experienced
Experienced
Posts: 202
Joined: Sun Oct 14, 2007 4:04 pm

Post by hyperair » Thu Nov 29, 2007 7:21 pm

My memory's really bad, but I don't remember noticing the missing dates, so the issue must have cropped up only recently.
User avatar
Kieran
RouterTech Team
RouterTech Team
Posts: 2675
Joined: Fri Jan 20, 2006 11:30 am
Location: London
Contact:

Post by Kieran » Tue Dec 04, 2007 5:40 pm

OK, thanks for the report, I'll have a look into this and see if i can correct the feed. It might have something to do with the time change from BST to GMT (thats the only change I can think of that has occurred) but we'll see.
Kieran
"Indeed!"
Invaluable links: Forum Rules | Networking Guides | FAQ | Site Search | Forum Search <-- Use it or feel my wrath!
No support via PM, please ask your questions in the forum!
hyperair
Experienced
Experienced
Posts: 202
Joined: Sun Oct 14, 2007 4:04 pm

Post by hyperair » Tue Dec 04, 2007 5:44 pm

Like I said, it's probably the date format, though I could be wrong.
hyperair
Experienced
Experienced
Posts: 202
Joined: Sun Oct 14, 2007 4:04 pm

Post by hyperair » Sat Dec 15, 2007 9:13 pm

I'd like to mention that it's still not fixed :(

Also, it's related to this topic: viewtopic.php?t=255

If you fix the date issue, just change the format to follow the RSS standards, it'll fix both issues completely.

For more information:
http://cyber.law.harvard.edu/rss/rss.ht ... OfLtitemgt
http://asg.web.cmu.edu/rfc/rfc822.html#sec-5


p.s. The error was probably there before, but I didn't notice it.
User avatar
Kieran
RouterTech Team
RouterTech Team
Posts: 2675
Joined: Fri Jan 20, 2006 11:30 am
Location: London
Contact:

Post by Kieran » Sun Dec 16, 2007 11:15 am

Yes, I've looked at how the feed is generated and located the problem. What we currently do is inspect the currently logged in users date settings (or the board wide one if a guest is viewing) and format the RSS date in that way. Because the way users wish to view the date differs from the way RSS expects the date, we are seeing this issue.

I'll see if I can apply a quick fix now. I'll post back when I think I've cracked it ;)
Kieran
"Indeed!"
Invaluable links: Forum Rules | Networking Guides | FAQ | Site Search | Forum Search <-- Use it or feel my wrath!
No support via PM, please ask your questions in the forum!
hyperair
Experienced
Experienced
Posts: 202
Joined: Sun Oct 14, 2007 4:04 pm

Post by hyperair » Sun Dec 16, 2007 11:30 am

Glad to hear it. You can always ask me if you need any help. =)

EDIT: I reckon RSS readers usually use the board-wide one, especially external RSS readers. I know Liferea doesn't support cookies so there's no way it can authenticate. Well, there's the whole HTTP authentication thing but I don't think you implemented it on your RSS feed.
User avatar
Kieran
RouterTech Team
RouterTech Team
Posts: 2675
Joined: Fri Jan 20, 2006 11:30 am
Location: London
Contact:

Post by Kieran » Sun Dec 16, 2007 11:46 am

Ok, can you let me know what your feed reader makes of it now?

EDIT: Nope, its still broken, I'll have another play ;)
Kieran
"Indeed!"
Invaluable links: Forum Rules | Networking Guides | FAQ | Site Search | Forum Search <-- Use it or feel my wrath!
No support via PM, please ask your questions in the forum!
hyperair
Experienced
Experienced
Posts: 202
Joined: Sun Oct 14, 2007 4:04 pm

Post by hyperair » Sun Dec 16, 2007 11:51 am

Well following a link from the feed validator page: http://feedvalidator.org/docs/error/Inv ... 2Date.html

That should do it I reckon.
User avatar
Kieran
RouterTech Team
RouterTech Team
Posts: 2675
Joined: Fri Jan 20, 2006 11:30 am
Location: London
Contact:

Post by Kieran » Sun Dec 16, 2007 12:01 pm

I believe the feed is fixed, it certainly validates now (I also fixed a small issue with the feed language and the usernames of the posters - they are supposed to be e-mail addresses apparently)

Let me know if your reader is happy with it :)
Kieran
"Indeed!"
Invaluable links: Forum Rules | Networking Guides | FAQ | Site Search | Forum Search <-- Use it or feel my wrath!
No support via PM, please ask your questions in the forum!
hyperair
Experienced
Experienced
Posts: 202
Joined: Sun Oct 14, 2007 4:04 pm

Post by hyperair » Sun Dec 16, 2007 12:05 pm

Awesome thanks. It works perfectly now. =)
User avatar
Kieran
RouterTech Team
RouterTech Team
Posts: 2675
Joined: Fri Jan 20, 2006 11:30 am
Location: London
Contact:

Post by Kieran » Sun Dec 16, 2007 12:08 pm

Excellent, another bug squashed :)

Thread closed.
Kieran
"Indeed!"
Invaluable links: Forum Rules | Networking Guides | FAQ | Site Search | Forum Search <-- Use it or feel my wrath!
No support via PM, please ask your questions in the forum!
Locked