Hi there

I have a strange problem with the pubDate element.

I have the following code.

$.jGFeed('http://london2012.cswp.org.uk/rssfeed-
mobile',function(feeds)
{
        // Check for errors
        if(!feeds)
        {
                // there was an error
                return false;
        }

        for(var i=0; i<feeds.entries.length; i++)
        {
                var entry = feeds.entries[i];
                var title = entry.title;
                var date = entry.publishedDate;
                alert(title + '-' + date);
        }
}, 50);

This produces the following 2 alerts:

London 2012 Festival - Tickets on sale-Thu, 03 Nov 2011 17:00:00 -0700

Coventry Solihull Warwickshire Sports Awards-Wed, 02 Nov 2011 17:00:00
-0700

Now if you go to:

http://london2012.cswp.org.uk/rssfeed-mobile

and/or

http://developer.yahoo.com/yql/console/#h=SELECT%20*%20FROM%20feed%20WHERE%20url%3D%22http%3A//london2012.cswp.org.uk/rssfeed-mobile%22

You can see that the pubDate is actually a day later than what the
Google Feed is telling me.

Any ideas what is going on?

Thank you
Gemma

-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to