Title: JSON feed
Author: chrisnorthwood
Published: <strong>2009 年 5 月 16 日</strong>
Last modified: 2009 年 11 月 19 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/json-feed.svg)

# JSON feed

 作者：[chrisnorthwood](https://profiles.wordpress.org/chrisnorthwood/)

[下载](https://downloads.wordpress.org/plugin/json-feed.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/json-feed/#description)
 * [评价](https://cn.wordpress.org/plugins/json-feed/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/json-feed/#developers)

 [支持](https://wordpress.org/support/plugin/json-feed/)

## 描述

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)

## 常见问题

  There doesn’t appear to be much in the feed is there?

That’s right, I made this plugin for a very specific purpose – to provide
 feeds
for information screens around a University campus. It’s very simple, so should 
be easy to modify, or contact me and I might do it.

  Why does it require 2.7.1?

It probably doesn’t, but I’ve not tested it on any other version. Try it
 and see,
and let me know 🙂

## 评价

此插件暂无评价。

## 贡献者及开发者

「JSON feed」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ chrisnorthwood ](https://profiles.wordpress.org/chrisnorthwood/)

[帮助将「JSON feed」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/json-feed)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/json-feed/)，查看[SVN仓库](https://plugins.svn.wordpress.org/json-feed/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/json-feed/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/json-feed/)。

## 更新日志

#### 1.0

Initial version

#### 1.1

_NEW FEATURE_ Added support for JSONP

#### 1.2

_BUG FIX_ Display date alongside time in JSON packet.

#### 1.3

Improved documentation
 _NEW FEATURE_

## 额外信息

 *  版本 **1.3**
 *  最后更新：**17 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 2.7.1 或更高版本 **
 *  已测试的最高版本为 **2.9.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/json-feed/)
 * 标签
 * [feed](https://cn.wordpress.org/plugins/tags/feed/)[feeds](https://cn.wordpress.org/plugins/tags/feeds/)
   [JSON](https://cn.wordpress.org/plugins/tags/json/)
 *  [高级视图](https://cn.wordpress.org/plugins/json-feed/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/json-feed/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/json-feed/reviews/)

## 贡献者

 *   [ chrisnorthwood ](https://profiles.wordpress.org/chrisnorthwood/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/json-feed/)