DokuWiki

It's better when it's simple

User Tools

Site Tools


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

devel/event/feed_item_add.txt · Last modified: 2018-12-08 15:16 by torpedo

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki