vote up 0 vote down
star

I'd like to display the title and a snippet of the last 2 or 3 entries of an RSS feed on another site.

I do not have access to a server-side technology on the receiving page, only Javascript/JQuery.

What do I need in order to get that done?

flag

3 Answers

vote up 1 vote down

If you have access to an xml you can use something like this:

    $(function() {
        $.ajax({
            type: "GET",
            url: "myxml.xml",
            dataType: "xml",
            success: function(xml) {
                $(xml).find('infoContainer').each(function() {
                    var day = $(this).find('nodeName').text();
                    $("#xml-container").append("<div class='day'>" + day + "</div>");

                        }
                    }
                }); 
            }
        });

more information: http://think2loud.com/reading-xml-with-jquery/

link|flag
vote up 0 vote down

try feedburner or widgetbox

link|flag
vote up 0 vote down

You might want to try Yahoo! Pipes. Visually construct and manipulate data and then select on of the many options they provide for embedding it on your site.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.