這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Customizable XML Feeds

外掛說明

CustomXML uses a custom taxonomy to create rss feeds that can be utilized by Exact Target or
other services.

This plugin creates a custom xml feed, formatted to be usable by Exact Target or other any
other service that relies on information from RSS/XML feeds.

Activating the plugin adds a custom taxonomy called “Email Tags” to posts. This custom
taxonomy is utilized by the plugin to generate custom endpoints for rss feeds. “Email Tags”
are custom tags that appear like any other archive in WordPress. However, custom layout
settings can be applied on the plugin settings page to customize the length of the feed,
the size of the images in the feed, and the length of the content in the feed.

Note about images:

  • Because of the nature of image sizes, I will not add functionality to go back and resize
    all images for the correct categories. If you need to change it and go back to change image
    sizes, try the Regenerate Thumbnails plugin

Right now, this is limited to just “posts”. However, to add it to additional post types,
create a new filter on ‘CustomXML\tag_post_types’ to and add the custom post types to the
array.

The plugin also creates a custom excerpt that can be used to override the default grabbed
by the feed. Rather than using a portion of the content to generate the description, it
will use the custom excerpt, if it exists. Otherwise, it’ll pull an excerpt from the except,
and finally from the post.

The format of the feed is:

``

Title of the Post
Permalink to the Post
Associated Image URL
Story Description

Feeds can be located at

  1. Base: example.com/?feed=xtxml
  2. Custom Email Tag: example.com/email-tag/email-tag-slug/?feed=xtxml
  3. Other taxonomy: example.com/category/category_name/?feed=xtxml

Upcoming

  • Create setting to choose which post types the taxonomy should be registered with. Accessible
    currently only by using a filter (‘CustomXML\tag_post_types’).

安裝方式

  1. Upload customizable-xml-feeds to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create email tags to be used in stories.
  4. Go to the settings page and configure layout for the tags.
  5. Tag stories to appear in those feeds.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Customizable XML Feeds〉的開發相關工作。

參與者

將〈Customizable XML Feeds〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

Version 1.0.0

  • Initial Release