Skip to content
A simple jQuery plugin to parse RSS feeds.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
tests/fixtures
.gitignore
README.md
jquery.simplerss-0.1.0.js
jquery.simplerss.js

README.md

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

Something went wrong with that request. Please try again.