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

Views Output Formats

描述

This plugin provides JSON and XML output formats for Toolset Views.

The plugin will also fetch all available custom fields for each post, making it truly simple to integrate WordPress
with other systems that speak JSON and XML.

New in version 2.0

This plugin now supports Taxonomy and User queries!

Usage

Basic usage

Create your View, go to Settings -> Views Output Formats and pick your format. You will get a link to the XML or JSON version of the query.

必需条件

  • PHP 5.3 or higher

翻译

Upcoming features

Support for attaching taxonomy data to posts is planned

Feel free to contribute over at GitHub:
https://github.com/khromov/wp-views-output-formats

屏幕截图

  • Administration menu
  • Exported XML example

安装

  1. Upload the views-output-formats folder to /wp-content/plugins/
  2. 通过WordPress的“插件”菜单激活插件
  3. Create your View using Toolset Views, go to Settings -> Views Output Formats and pick your format to get a link!

常见问题

What are the prerequisites for using this plugin?

You need to have the Toolset Views plugin installed.

More information can be found here:

http://wp-types.com/home/views-create-elegant-displays-for-your-content/

评价

此插件暂无评价。

贡献者及开发者

“Views Output Formats” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Views Output Formats”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.1

  • New field: _thumbnail_url – This field returns the URL of the featured image for the post

2.0

  • Support for Taxonomy queries
  • Support for User queries (Views 1.4 and up)
  • Improved XML validation
  • Improved security with per-view API tokens and global token

1.0

  • Initial release