![]() |
Tip for javascript people: parsing xml/rss feeds without php
I been wanting to parse feeds on a static only site, but usally you have to use a php file to do it, I just realized Google has a feed parsing api, which turns a xml/rss feed into a json object.
Thought I would pass it along. You basically take https://ajax.googleapis.com/ajax/ser...main.com/feed/ it turns the feed into a json object. I put up a jsfiddle demo which grabs the google trends. Code:
$(function() {Hope someone can use this ;) |
I tend to use the google playground to see what things look like quickly
http://code.google.com/apis/ajax/pla...eeds#load_feed |
thanks, will use it .
|
Thank you fris. I will also be using this.
>>>Winners WIN because they NEVER GIVE UP!<<< |
Wow.,,, The Grinch is being giving.
|
| All times are GMT -7. The time now is 08:37 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123