Support for Podcast, Vodcast and Media Feeds?

7 views
Skip to first unread message

Vision Jinx

unread,
Oct 9, 2008, 5:20:55 AM10/9/08
to Google AJAX API
Hi Group,

As far as I have been able to tell this API just does not properly
support media feeds like podcasts and vodcasts.

I know Blogger will give/generate special podcasting enclosure links
for podcasters and Feedburner has its own way of detecting media
content (and tools for podcasters) so it would only make sense to want
to see this ability on the AJAX Feed API.

Sample from BMW >> http://vodcast.bmw.com/rss will generate the
enclosure tag but the feed API does not return data (the url) for this
tag.

Anyone else wanting to get more from feeds? I had added a temp
workaround method for podcast feeds in my API toolbox but when pushed/
syndicated through feedburner it has the opposite effect of breaking
podcast feeds with this current API. I use the Gadgets API for
fetching XML content (over feed data) to side step this issue on the
gadgets platform (and a very popular gadget also!) but this Google
feed API does not support fetching XML alone as far as I know. My own
server side feed/JSON/JSONP API script does this but I have been
migrating over the the Google one and don't want to run multiple back
end services that do similar things. (mine also handles xspf >>
http://www.xspf.org/)

So, Please Google, give the villagers access to enclosure or media
tags or something as part of the REST/JSON/JSONP portion at least ;-)
I have some neat plans for it. Many thanks in advance. :-)

Cheers!
Vision Jinx

Jeremy R. Geerdes

unread,
Oct 9, 2008, 6:34:22 AM10/9/08
to Google-AJAX...@googlegroups.com
Can you get the data you're looking for if you use
"feed.setResultFormat(google.feeds.Feed.XML_FORMAT);" or - probably
even better - "feed.setResultFormat(google.feeds.Feed.MIXED_FORMAT);"?

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
jgee...@mchsi.com

Unless otherwise noted, any price quotes contained within this
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!

Vision Jinx

unread,
Oct 9, 2008, 7:07:36 AM10/9/08
to Google AJAX API
Hey Jeremy,

I am using the JSONP aspects of the API, do you know a way to trigger
it that way?

If it helps here is my demo API >> http://apitoolbox.blogspot.com/

Here is the data I am getting back >>

http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http%3A%2F%2Fvodcast.bmw.com/rss

I will also try to see if I can use your suggestion, but if the JSON
string returned just kept/retained the data instead of removing it
things would be sa-weet and simple ;-)

Many thanks again! (You totally rock this group :-))
Vision Jinx


On Oct 9, 4:34 am, "Jeremy R. Geerdes" <jgeer...@mchsi.com> wrote:
> Can you get the data you're looking for if you use  
> "feed.setResultFormat(google.feeds.Feed.XML_FORMAT);" or - probably  
> even better - "feed.setResultFormat(google.feeds.Feed.MIXED_FORMAT);"?
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.com
> jgeer...@mchsi.com
>
> Unless otherwise noted, any price quotes contained within this  
> communication are given in US dollars.
>
> If you're in the Des Moines, IA, area, check out Debra Heights  
> Wesleyan Church!
>
> On Oct 9, 2008, at 4:20 AM, Vision Jinx wrote:
>
>
>
> > Hi Group,
>
> > As far as I have been able to tell this API just does not properly
> > support media feeds like podcasts and vodcasts.
>
> > I know Blogger will give/generate special podcasting enclosure links
> > for podcasters and Feedburner has its own way of detecting media
> > content (and tools for podcasters) so it would only make sense to want
> > to see this ability on the AJAX Feed API.
>
> > Sample from BMW >>http://vodcast.bmw.com/rsswill generate the

Jeremy R. Geerdes

unread,
Oct 9, 2008, 7:25:16 AM10/9/08
to Google-AJAX...@googlegroups.com
Try adding &output=json_xml to your query string. This should return
both the JSON and XML. Depending on how you're using the REST/JSONP
output, you may have to do a little parsing on the xml (i.e., it's
escaped and not really divided up for each entry), but considering the
other stuff you're doing with your toolkit, I suspect you'll have no
problem!

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com

jgee...@mchsi.com

Unless otherwise noted, any price quotes contained within this
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!

Vision Jinx

unread,
Oct 9, 2008, 7:31:30 AM10/9/08
to Google AJAX API
I guess I should have also added....

Ideally, (best case scenario) is not to have to make a separate parser
for it as I would like my script to be "smart enough" to detect media
content in feeds and auto generate the link to play the content.
Similar to how I have it working with YouTube videos (like their video
feeds), if it picks up/detects a YouTube video it will auto generate
an extra link to play the content.

Your suggestion may work quite well for another idea I have based off
one of my gadgets is a sitemap generator. It currently is mostly for
Google Pages and Hosted Apps sites and will take the Google generated
sitemap and output the links from it. This was mostly from them
mapping to the long ugly hosted names and not your domain name, my
gadget fixes this issue.

Thanks again for the suggestion, but let me know if there is another
way to trigger that from what I have.

Cheers!
Vision Jinx

On Oct 9, 5:07 am, Vision Jinx <vjn...@gmail.com> wrote:
> Hey Jeremy,
>
> I am using the JSONP aspects of the API, do you know a way to trigger
> it that way?
>
> If it helps here is my demo API >>http://apitoolbox.blogspot.com/
>
> Here is the data I am getting back >>
>
> http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http%3A%2F...
> > > Sample from BMW >>http://vodcast.bmw.com/rsswillgenerate the

Vision Jinx

unread,
Oct 9, 2008, 7:36:22 AM10/9/08
to Google AJAX API
Hey Awesome!

Re: "Try adding &output=json_xml to your query string."

I will try that, that may work! I see the data!

Many thanks again, I will post back with my success or failure ;-)

Cheers!
Vision Jinx

On Oct 9, 5:25 am, "Jeremy R. Geerdes" <jgeer...@mchsi.com> wrote:
> Try adding &output=json_xml to your query string.  This should return  
> both the JSON and XML.  Depending on how you're using the REST/JSONP  
> output, you may have to do a little parsing on the xml (i.e., it's  
> escaped and not really divided up for each entry), but considering the  
> other stuff you're doing with your toolkit, I suspect you'll have no  
> problem!
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.com
> jgeer...@mchsi.com
>
> Unless otherwise noted, any price quotes contained within this  
> communication are given in US dollars.
>
> If you're in the Des Moines, IA, area, check out Debra Heights  
> Wesleyan Church!
>
> On Oct 9, 2008, at 6:07 AM, Vision Jinx wrote:
>
>
>
> > Hey Jeremy,
>
> > I am using the JSONP aspects of the API, do you know a way to trigger
> > it that way?
>
> > If it helps here is my demo API >>http://apitoolbox.blogspot.com/
>
> > Here is the data I am getting back >>
>
> >http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http%3A%2F...
> >>> Sample from BMW >>http://vodcast.bmw.com/rsswillgenerate the
Reply all
Reply to author
Forward
0 new messages