I am reading a feed from feeds.feedburner.com, using the tool at http://www.zazar.net/developers/jquery/zrssfeed/
My requirement is to read a feed from feeds.feedburner.com and get its Title, Content and then use these 2 parameters to post a thread on my site using a rest API. Currently, I am not able to get the Title and Content of the feed using the plugin at http://www.zazar.net/developers/jquery/zrssfeed/.
My code is below:
$(document).ready(function () {
$('#test').rssfeed('http://feeds.feedburner.com/thesartorialist',{},function(e) {
$('h4 a',e).each(function(i) {
var title = $(this).text();
if (title.length > 14)
$(this).text(title);
});
});
});
The code snippet is used from the zazar.net, it fulfills my requirement if I am able to fetch the title and content as I need to pass it on to the REST API.
Let me know in case i need to provide more details.
Thanks in advance