這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

Requirements

  • PHP 5.3 or higher

Translations

  • None

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. Activate the plugin through the ‘Plugins’ menu in 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