DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:feed_data_process

FEED_DATA_PROCESS

Description:
Process the feed data into feed items
DefaultAction:
Construct FeedItem instances that are passed to FEED_ITEM_ADD
Preventable:
yes
Added:
2009-11-10

This event is signalled by rss_buildItems() in feed.php when the cache isn't used and the feed mode is known, handlers can use it to modify the items that are added to the feed or process the data they've returned in FEED_MODE_UNKNOWN.

For compatibility the FEED_ITEM_ADD event should be called for each item instead of directly adding it to the feed creator object.

Passed Data

  • rss: The feed creator object
  • data: The items to add
  • opt: The feed options

See also

devel/event/feed_data_process.txt · Last modified: 2018-12-08 15:15 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