Forums

  • TWG
    # January 16, 2013 at 5:07 pm

    I have an RSS feed that I want to read using JQuery and take the data and populate a list with. Can anyone give me a shove in the right direction?

    # January 16, 2013 at 5:16 pm

    Maybe check out the [jQuery Google Feed Plugin](http://jquery.malsup.com/gfeed/) (you don’t need an API key anymore)

    # January 25, 2013 at 7:58 pm

    RSS is just XML, so you should be able to use [jQuery’s XML capabilities (`$.parseXML()`)](http://api.jquery.com/jQuery.parseXML/).

    Then you can navigate it just as you would any other DOM.

    # January 28, 2013 at 9:58 am

    Would you consider using php to do this?

    # January 28, 2013 at 1:30 pm

    You can do it with `$.parseXML()`.

    Example:

    $.ajax(“rss_url”, function(rss) {

    xml = $.parseXML(rss);
    $(xml).find(“item title”).each(function() {

    $(“ul”).append($(“

  • “, {html: $(this).html()}));

    });
    });

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag