Customizable XML Feeds

Custom XML feeds with adjustable post counts, word counts, and image sizes.

Author:Chris W. Gerber (profile at wordpress.org)
WordPress version required:3.0.0
WordPress version tested:4.2.3
Plugin version:1.0.0
Added to WordPress repository:27-07-2015
Last updated:27-07-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://www.github.com/ThatGerber/customizabl...
Total downloads:2 010
Active installs:10+
plugin download
Click to start download

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:

<item> <title>Title of the Post</title> <link>Permalink to the Post</link> <image>Associated Image URL</image> <description>Story Description</description> </item> <pre><code></code></pre>

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').

ChangeLog