RSS Feed Date does not seem correct

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
8/22/2010 10:43:16 PM
Gravatar
Total Posts 2

RSS Feed Date does not seem correct

This is the first website I have ever built so forgive my ignorance.

I have an RSS feed from: http://www.biblegateway.com/votd/get/?format=atom

which produces the following:

Bible Gateway's Verse of the Day A daily word of exultation. 2010-08-22T00:00:00Z Bible Gateway tag:biblegateway.com,2010-08-22:NIV Romans 8:32 tag:biblegateway.com,2010-08-22:NIV 2010-08-22T00:00:00Z

 

My web page shows the correct data but the wrong date:  www.lccsrobotics.com

 

The date show Aug 21, 2010.  The 21 is nowhere in the feed so where is this coming from???  It always seems to be a day behind.

Is something be cached?

 

Any help is much appreciated!!

 

Thanks,

 

charlie 

8/23/2010 7:39:49 AM
Gravatar
Total Posts 18439

Re: RSS Feed Date does not seem correct

It is working correctly, the feed has the timezone specified as T00:00:00Z which means Greenwich Meantime. In mojoPortal we adjust it to local time for display. If your local timezone has a negative offset from GMT like -1 hours or more, then it will correctly adjust to the previous day.

So really the problem boils down to the fact that they aren't really using a time in their datetime, so it is just 12am, ie the beginning of the day in GMT and with the correct adjustment for local time it shows as the previous day. It is a true fact that at 12am in Greewich on August 22, it is still August 21 in timezones with a negative GMT offset.

You could probably solve this using some external service to modify the feed before it is consumed in feed manager. Yahoo Pipes for example provides tools for manipulating feeds and producing a new feed with your manipulations. You could just add 12 hours to the date to make it 12pm instead of 12am and that should solve it for your time zone since 12pm GMT would still have the same date when adjusted to local time.

Hope it helps,

Joe

8/23/2010 10:56:50 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: RSS Feed Date does not seem correct

You might also consider just turning off the display of the date/time altogether in the feature's settings, unless it's important to show that. People will probably assume the current date if it's "verse of the day."

Jamie

8/23/2010 8:16:09 PM
Gravatar
Total Posts 2

Re: RSS Feed Date does not seem correct

Joe - thank you for your help.  Yahoo pipes was very interesting.

 

Jamie - How do i, as you say,

"just turning off the display of the date/time altogether in the feature's settings"

 

I would be totally happy not showing the date....but where do i turn the date off?

 

Thanks for your help!

charlie

8/24/2010 9:58:09 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: RSS Feed Date does not seem correct

In the settings for the RSS Feed feature instance, you can uncheck the "show date" checkbox.

You must sign in to post in the forums. This thread is closed to new posts.