Here is a quick tip for anyone sick of working with the xml in RSS feeds. You can use the
Google Feed API in your scripts to automatically convert the XML in the RSS feed to JSON which makes working with them much easier. For example, there is an
RSS Feed from the
Consumer Product Safety Commission and it has all the government recalls in the United States. Using this simple trick, you could easily pull the fresh feed on a regular basis and parse out information about recalls to use in your account. You can also configure Google Alerts to generate RSS feeds based on specific keywords you are interested in. For example, here is an
RSS feed for the keyword "smx".
Thanks,
Russ
/******************************************
* Use Google Feed API to convert RSS to json
* Version 1.0
* Created By: Russ Savage
* FreeAdWordsScripts.com
******************************************/
// Usage: var jsonData = convertRssToJson('http://www.cpsc.gov/en/Newsroom/CPSC-RSS-Feed/Recalls-RSS/');
function convertRssToJson(rssUrl) {
var FEED_API_URL = "https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q="
var url = FEED_API_URL+encodeURIComponent(rssUrl);
var resp = UrlFetchApp.fetch(url);
if(resp.getResponseCode() == 200) {
return JSON.parse(resp.getContentText());
} else {
throw "An error occured while trying to parse: "+rssUrl;
}
}
ReplyDeleteyour explanation way is too good, very easy to understand for all readers. Thank you for providing the best details and I want more unique posts.
Primavera Training in Chennai
Primavera Course in Chennai
Tableau Training in Chennai
Spark Training in Chennai
Power BI Training in Chennai
Excel Training in Chennai
Oracle Training in Chennai
Oracle DBA Training in Chennai
Social Media Marketing Courses in Chennai
I have read your blog its very attractive and impressive. I like it your blog.
ReplyDeleteTechnology
businessexceltemplates
If you want to improve your writing skill I recommend you to visit this site!
ReplyDeleteI am hoping the same best effort from you in the future as well. In fact your creative writing skills has inspired me. buy Google reviews
ReplyDeleteVery informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. convert money
ReplyDeleteWhen you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. Buy Pinterest Followers
ReplyDeletebuenos dias mi amor Very informative information on your site here. I like this post because we can get some useful information from your blog. I expect more post from you
ReplyDeletebuenos dias mi amor Very informative information on your site here. I like this post because we can get some useful information from your blog. I expect more post from you
ReplyDeleteThis customer is incredibly blessed to have built up a reliable after among past clients who generously examine their inclinations, buys and post photographs of their prized exclusively improved autos on various well known, exceptional intrigue vehicle gatherings on the Internet.Google Ads Audit
ReplyDeleteAnyConv is very easy to use. Just visit their website, upload your original files, choose the format you want to convert them to, and then hit Convert Now. Converted files can be downloaded immediately. https://anyconv.com/
ReplyDeleteIt was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks. buy likes on instagram idigic
ReplyDeleteArtificial intelligence is the branch in Computer science which aims to develop machines to act the way humans work with his intelligence. artificial intelligence courses in hyderabad
ReplyDeleteThis is my first visit to your blog! We are a team of volunteers and new
ReplyDeleteinitiatives in the same niche. Blog gave us useful information to work. You
have done an amazing job!
artificial intelligence training in Bangalore
First off, data science training helps candidates choose better career paths. Therefore, these jobs are offered across the world. This training will help you be more skillful, proficient and technological aware. data science course in hyderabad
ReplyDeleteGoogle+ allows businesses to come up with pages for their accounts. This gives an advantage to businesses for they can choose one cover picture or go for five smaller ones for the top side of page. This means that businesses would now have the choice to focus from five different facets of their business. best email spider
ReplyDeleteWith the visual computerization industry being so serious, it's imperative to make yourself stand apart from your rivals.Professional graphic design
ReplyDeletethis blog was really great, never seen a great blog like this before. i think im gonna share this to my friends..
ReplyDeleteBest Digital Marketing Courses in Hyderabad
Can I Fix Error During HP Printer Wireless Setup? Here you can find steps to setup HP Wireless instantly. For support call us ...
ReplyDeleteThanks for the writeup... more info
ReplyDeleteI'm not going to add photographs or labels since I'm attempting to test 1 variable - if Google and Bing favor their own properties and applications. Likewise, since the posts are made utilizing Lorem Ipsum, we shouldn't run into rivalry attempting to rank similar gibberish words. Lead generation website
ReplyDeleteThanks for sharing the information. It's Very Useful.
ReplyDeleteprimavera online course | primavera online training