Rah's Custom Feed

Customize the output of your feeds with Textpattern tags, like any other form.

Download

Version 0.2 Jul 12, 2012
Other versions...

A cup of coffee
via PayPal

Requirements

  • Textpattern v4.2.0 or newer.
  • PHP5

Usage

The plugin uses a Form partial called rah_feed_body customize feeds output. The automatic setup should have created it, but if it didn’t, you can create the form as normal. This form will hold your RSS and Atom feed’s item body contents. You can use Textpattern tags, including individual article tags, as you would with a normal page template.

Example

A form partial named rah_feed_body can be used to customize feed items’ output. For example, the form markup could look something like this:

<txp:excerpt />
<p><txp:permlink>Read more...</txp:permlink></p>

Snippet above outputs an excerpt and a read more link.

Changelog

Version 0.2 – 2012/07/12

  • Improved help file.
  • Use plugin-lifecycle callbacks to remove the added form during uninstall.
  • Now requires PHP5 or newer.

Version 0.1 – 2008/01/22

  • Initial release.