Getting RSS using JQuery

y0dag33k

New Member
I'm new to RSS parsing and am having trouble using jQuery to access feeds. I tried (and would like to) use \[code\]$.get()\[/code\] but that got me less than this. (This at least triggers the error.) What am I doing wrong?\[code\]function GetFedFeeds(){ $.ajax({ type: 'GET', url: 'http://www.federalreserve.gov/feed/press_enforcement.xml', dataType: 'xml', success: function(xml){ $(xml).find('item').each( function(){ var t = $(this).find('title').text(); $('#content').append(t); }); }, error: function() { alert('RSS Error'); } });}\[/code\]
 
Back
Top