Skip to main content

Module feed_ext

Module feed_ext 

Available on crate features http and rss only.
Expand description

RSS/Atom feed extension system.

Six supported extension namespaces: iTunes, Podcasting 2.0, Dublin Core, content:encoded, Media RSS, and Podlove Simple Chapters (PodloveChapters, item-level only). Each contributes a typed struct stored on ItemExtensions (item-level) and FeedExtensions (feed/channel-level) — direct field access (item.extensions.itunes) or via the inherent shortcuts on the per-format item/feed types (.itunes(), .podcast(), .dublin_core(), .content(), .media(), .podlove()).

Modules§

content
content:encoded extension (http://purl.org/rss/1.0/modules/content/).
dublin_core
Dublin Core elements extension (http://purl.org/dc/elements/1.1/).
itunes
iTunes podcast extension (http://www.itunes.com/dtds/podcast-1.0.dtd).
media
Media RSS extension (http://search.yahoo.com/mrss/).
podcast
Podcasting 2.0 namespace extension (https://podcastindex.org/namespace/1.0).
podlove
Podlove Simple Chapters extension (https://podlove.org/simple-chapters).

Structs§

Content
content:encoded extension — carries full HTML/XHTML body for a feed item.
DublinCore
Dublin Core extension fields for a feed item.
DublinCoreFeed
Dublin Core extension fields at the feed (channel) level.
FeedExtensions
Extension container for feeds (channel-level for RSS 2.0, feed-level for Atom).
ITunes
iTunes extension fields for a single podcast episode item.
ITunesFeed
iTunes extension fields at the feed (channel) level.
ItemExtensions
Extension container for feed items (RSS 2.0 items and Atom entries).
MediaContent
A single media:content element.
MediaRss
Media RSS extension for a feed item.
MediaThumbnail
A media:thumbnail element.
Podcast
Podcasting 2.0 extension fields for a single episode item.
PodcastChapters
A podcast:chapters reference.
PodcastEpisode
A podcast:episode element.
PodcastFeed
Podcasting 2.0 extension fields at the feed (channel) level.
PodcastFunding
A podcast:funding element (feed-level).
PodcastLocation
A podcast:location element.
PodcastPerson
A podcast:person element (used at both item and feed level).
PodcastRemoteItem
A podcast:remoteItem element (feed-level).
PodcastSeason
A podcast:season element.
PodcastSoundbite
A podcast:soundbite element. Podcasting 2.0 spec uses decimal seconds for both start and duration (sub-second precision is meaningful).
PodcastTrailer
A podcast:trailer element (feed-level).
PodcastTranscript
A podcast:transcript element.
PodloveChapter
A single <psc:chapter> element.
PodloveChapters
A <psc:chapters> element. Item-level only (a chapter list applies to a single episode).