Hello Google API developers,
I have imported the namespace xmlns:ev="
http://purl.org/rss/1.0/modules/event/" into my RSS feed, adding <ev:startdate>2011-10-19</ev:startdate>, for example, to my RSS feed. I can consume the 'standard' RSS items... title, link, descripton, throught the Google Feed API using var entry = result.feed.entries[0]; and say newsBlockTitleWrapper.innerHTML = "<a href='"+entry.link+"'>"+entry.title+"</a>";.
However I was questioning how I do I consume the namespace ev items, a guess would be var eventdate = document.createElement("p");eventdate.appendChild(document.createTextNode(new Date(entry.ev:startdate))); but to no avail... ns defines it as a date.
Can I drop the ev namespace in the RSS feed?, or can I have to search and replace of var entry = result.feed.entries[0]; replacing <ev:startdate> with <startdate>, so I can then consume it via var eventdate = document.createElement("p");eventdate.appendChild(document.createTextNode(new Date(entry.startdate)));
Any help much appreciated.
Thanks,
UninvitedInquirer.