plugin-icon

JSON feed

제작자: chrisnorthwood·
Pretty simple, really. Adds a new type of feed you can subscribe to. Simply
버전
1.3
활성화된 설치 항목
100
최근 업데이트일
Nov 19, 2009

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)

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 2.9.2
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.