render_rss_091_userland

Function render_rss_091_userland 

Source
pub fn render_rss_091_userland(feed: &Feed) -> Result<String>
Expand description

Render a Feed into RSS 0.91 (UserLand) format.

This variant omits the DOCTYPE declaration and enforces the RSS 0.91 URL constraints (http:// or ftp://).

Constraints enforced:

  • Maximum 15 items per channel
  • Title: max 100 chars, Description: max 500 chars, Link: max 500 chars
  • Item title: max 100 chars, Item link: max 500 chars
  • Item description: max 500 chars