jfhovinne / jFeed

jQuery RSS/ATOM feed parser plugin
http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin
GNU General Public License v2.0
448 stars 168 forks source link

Namespace Support and new Itunes fields (if any) #18

Open johnsin opened 11 years ago

johnsin commented 11 years ago

Just forked your project because I have been updating it myself to work with the most recent iTunes Podcast RSS XML. Long story short.. if you want to reconfigure this source to work with namespaces, edit up your own: jfeed.js file.. and follow this pattern..

item.description = jQuery(this).find("[nodeName=itunes\:summary]").eq(0).text();

Instead of what is currently under the "Item" parsing area. It's important that you double excape the ":" within the namespace.

Enjoy