render_scripting_news_20

Function render_scripting_news_20 

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

Render a Feed into ScriptingNews 2.0 (version 2.0b1) format.

ScriptingNews 2.0 extends 1.0 with additional header elements for parity with RSS 0.9:

  • channelTitle, channelLink, channelDescription
  • imageTitle, imageUrl, imageLink
  • managingEditor, webmaster, language
  • imageHeight, imageWidth, imageCaption
  • skipHours, skipDays (not implemented here)

ASCII-only output (non-ASCII replaced with ?).