Skip to content

gocom/rah_custom_feed

Repository files navigation

rah_custom_feed

Download | Packagist | Issues

Textpattern CMS plugin that can be used to customize the output of RSS and Atom feeds with Textpattern template tags through a form partial. A form partial named rah_feed_body is used to set a feed item’s body contents, allowing the use of article-context template tags like with any other template.

Install

Using Composer:

$ composer require rah/rah_custom_feed

Or download an installer package.

Examples

Display except and read more link

In rah_feed_body form partial:

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

Display article image

In rah_feed_body form partial:

<txp:permlink>
    <txp:article_image />
</txp:permlink>

Changelog

Version 0.3.0 – 2019/03/31

  • Released as a Composer package.
  • Now requires Textpattern 4.7.0 or newer.

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.