render_rss_091_netscape

Function render_rss_091_netscape 

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

Render a Feed into RSS 0.91 (Netscape) format.

This variant includes the required <!DOCTYPE rss ...> 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

Specifications: