jQuery RSS/ATOM feed parser plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
jfh 0d411f761c Updated builds. 13 years ago
build Updated builds. 13 years ago
jquery Updated jQuery to 1.6.4 and fixed syntax error. 13 years ago
src Fixed syntax error. 13 years ago
xml Added files from 1.0 14 years ago
GPL-license.txt Added files from 1.0 14 years ago
MIT-license.txt Added files from 1.0 14 years ago
Makefile Updated Makefile to comply with naming and svn to git migration. 13 years ago
README.mediawiki Cosmetic changes. 13 years ago
example-proxy.html Added files from 1.0 14 years ago
example.html Added files from 1.0 14 years ago
proxy.php Added files from 1.0 14 years ago
test-dist-packed.html Added files from 1.0 14 years ago
test-dist.html Added files from 1.0 14 years ago
test-src.html Added files from 1.0 14 years ago

README.mediawiki

'''jFeed: jQuery feed parser plugin'''

Copyright (C) 2007-2011 Jean-François Hovinne - http://hovinne.com/<br />
Dual licensed under the MIT (MIT-license.txt) and GPL (GPL-license.txt) licenses.

== Usage ==

<pre lang="javascript">jQuery.getFeed(options);</pre>

'''Options:'''
* <code>url</code>: the feed URL (required)
* <code>data</code>: data to be sent to the server. See [http://api.jquery.com/jQuery.ajax/ <code>jQuery.ajax</code>] data property
* <code>success</code>: a function to be called if the request succeeds. The function gets passed one argument: the <code>JFeed</code> object

'''Example:'''
<pre lang="javascript">
jQuery.getFeed({
url: 'rss.xml',
success: function(feed) {
alert(feed.title);
}
});
</pre>

== JFeed properties ==

* <code>feed.type</code>
* <code>feed.version</code>
* <code>feed.title</code>
* <code>feed.link</code>
* <code>feed.description</code>
* <code>feed.language</code>
* <code>feed.updated</code>
* <code>feed.items:</code> an array of JFeedItem

== JFeedItem properties ==

* <code>item.title</code>
* <code>item.link</code>
* <code>item.description</code>
* <code>item.updated</code>
* <code>item.id</code>

Please see the provided examples for more information.

A basic PHP proxy is also available (<code>proxy.php</code>), if you need to load external
feeds (for testing purposes only, do not use it on public websites).