jquery-simplerss

A simple jQuery plugin to parse RSS feeds.

Stars
9

jquery.simplerss

Inspired by some recent contract work, this is a really simple plugin to parse an RSS feed with jQuery - my first anyway.

Usage

Download 0.1.0 from downloads, include it along with jQuery then:

$('ul.posts').simplerss({url:'/rssfeed'}); // cross-domain is not supported

See demo.html in examples for a working example.

Available options (and their defaults) are:

url: '',
html: '<em><a href="{link}">{title}</a></em><br />{text}',
wrapper: 'li',
dataType: 'xml',
display: 2

For bleeding edge, you can also use jquery.simplerss.js but it may be broken. So better grab a download.

That's all.

License

New BSD License