Provides feeds in JSON form
Author: | Chris Northwood (modified by Dan Phiffer) (profile at wordpress.org) |
WordPress version required: | 2.7.1 |
WordPress version tested: | 2.9.2 |
Plugin version: | 1.3 |
Added to WordPress repository: | 16-05-2009 |
Last updated: | 19-11-2009
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://wordpress.org/extend/plugins/json-feed... |
Total downloads: | 12 404 |
Active installs: | 200+ |
Click to start download |
Pretty simple, really. Adds a new type of feed you can subscribe to. Simply
add ?feed=json
to anywhere you get a normal feed to get it in JSON form
(but with a cutdown version of events).
Version 1.1 added support for JSONP. To get a JSONP response instead of a
normal JSON structure, simply add jsonp=callbackName
to your query, where
callbackName is the name of the function to be wrapped with.
To use this with jQuery, you'll want to do something like:
$.getJSON("http://example.com/feed/?feed=json&jsonp=?",
function(data){
console.debug(data[0].title); // print title of first item to firebug console
});
});
(thanks to Dan "Tack" Trudell)
FAQ
ChangeLog