Skip to main content

Feed Filters

Filters for Feed. Every other area is listed on the Filter Hooks Reference. Each name links to its own page, with its parameters, notes and an example.

Filter what goes into a feed’s compiled RSS XML — the episode list, per-episode data, enclosure URLs, Podcasting 2.0 tags, and the final XML string itself.

Filter Description
benecaster_feed_episodes Filters the array of episode objects for a feed tier before XML serialization
benecaster_feed_episode_data Filters the data array for a single episode before XML rendering, itunes: tags and <content:encoded> included, plus a trailing $tier_slug — most granular per-episode customization point. For a video enclosure, enclosure_type arrives already inferred from the video file
benecaster_feed_enclosure_url Filters the audio/video URL placed in the RSS <enclosure> tag
benecaster_feed_item_xml Filters the compiled XML string for a single episode item after serialization
benecaster_feed_episode_limit Filters the feed’s page size; 0 (the default) puts every episode on one page
benecaster_feed_channel_data Filters the channel-level RSS data array before XML compilation, itunes: tags included, plus a trailing $tier_slug; includes new_feed_url key for controlling the <itunes:new-feed-url> tag
benecaster_rss_extra_channel_tags Filters an array of extra tags appended to the RSS channel block, which Benecaster escapes and renders — not a raw XML string
benecaster_rss_extra_item_tags Filters an array of extra tags appended to each episode item, which Benecaster escapes and renders — not a raw XML string
benecaster_feed_xml Filters the complete compiled RSS XML string; two call sites — per-tier (string third arg) and assembled multi-tier (string[] third arg)
benecaster_podcast_chapters Filters podcast:chapters data for an episode item; Benecaster’s built-in Chapter Markers populates it automatically
benecaster_podcast_transcripts Deprecated: filters podcast:transcript entries for an episode item. Use the transcript key of benecaster_feed_podcast_episode_tags instead
benecaster_feed_podcast_channel_tags Filters the channel-level Podcasting 2.0 tag array before XML output; array pre-populated from show meta (guid, locked, funding, block, txt, license)
benecaster_feed_podcast_episode_tags Filters the per-episode Podcasting 2.0 tag array before XML output; integration point for Transcription Service (podcast:transcript) and Chapter Markers (podcast:chapters). Guest Manager’s podcast:person credits go through benecaster_podcast2_episode_auto_feed_credits instead
benecaster_feed_podcast_funding_label Filters the <podcast:funding> element label text; defaults to “{show title} Listener Support”
benecaster_episode_references Filters an episode’s references when the episode page renders them. Not applied to REST responses

See Also

Need this built rather than just documented? See our services →