rah / rah_custom_feed
Textpattern CMS plugin for customizing Atom and RSS feeds
Fund package maintenance!
www.paypal.me/jukkasvahn
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Open Issues: 0
Type:textpattern-plugin
Requires
- php: >=7.1.0
- textpattern/installer: *
- textpattern/lock: >=4.7.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-24 22:26:03 UTC
README
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.