Quantcast
Channel: Unable to parse atom feed using jQuery - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by karnyj for Unable to parse atom feed using jQuery

$
0
0

$.getFeed doesn't take "type" and "error" parameters.

From the jfeed source:

jQuery.getFeed = function(options) {

options = jQuery.extend({

    url: null,
    data: null,
    success: null

}, options);

if(options.url) {

    $.ajax({
        type: 'GET',
        url: options.url,
        data: options.data,
        dataType: 'xml',
        success: function(xml) {
            var feed = new JFeed(xml);
            if(jQuery.isFunction(options.success)) options.success(feed);
        }
    });
}

so you are most likely getting an error.

Try sending a simple Ajax request to see what error you are getting.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>