devel:event:feed_item_add
Table of Contents
FEED_ITEM_ADD
- Description:
- Manipulate RSS feed items
- DefaultAction:
- Adds the feed item to the RSS/Atom feed
- Preventable:
- yes
- Added:
- 2007-07-18
This event is signalled by rss_BuildItems() in feed.php when the feed is build. You can use this to manipulate feed items before they are added to the feed. Eg. you could add advertising banners or add additional links in the description.
Passed Data
- $data['item'] - The Feed Item object prepared for insertion in the feed
- $data['opt'] - associative array of feed options
- $data['ditem'] - the raw item data as it was given to the rss_BuildItems function
- $data['rss'] - the full feed creator object
See also
- Code related to this event used in any DokuWiki's files, plugins and templates
devel/event/feed_item_add.txt · Last modified: 2018-12-08 15:16 by torpedo