Easily Convert Rss Feeds in Json Format and Display in Web Pages

Get any Rss Feed in Json format for consuming in JavaScript easily.

Json

{{feed.title}}

{{feed.description}}

Items


Sample JavaScript to Consume Json Response of Rss Feed

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js">    
var url = "http://msxrmtools.com/api/feed/get?url=http://www.thehindu.com/?service=rss";

$.get(url, function(data) {

    var head = document.createElement('h1');
    head.innerText = data.title;
    document.body.appendChild(head);

    var description = document.createElement('p');
    description.innerText = data.description;
    document.body.appendChild(description);

    var list = document.createElement("ul");

    for (var i in data.items) {
        var anchor = document.createElement("a");
        anchor.href = data.items[i].links[0].uri;
        anchor.innerText = data.items[i].title;
        var elem = document.createElement("li");
        elem.appendChild(anchor);
        var para = document.createElement('p');
        para.innerHTML = data.items[i].description;
        elem.appendChild(para);
        list.appendChild(elem);
    }
    document.body.appendChild(list);

});