RSS (.rss)

Background

    • MIME type: application/rss+xml
    • RSS web syndication format.
    • Commonly used to transmit frequently updated web content to feed readers or news aggregators.
    • RSS is an acronym for Really Simple Syndication.
    • Stores names, addresses, and other contact information.
    • XML-based format.
    • Stores news headlines together with date information and web links.
    • Introduced in 1999 by Netscape under the name RDF Site Summary.

Import & Export

  • Import["file.rss"] imports an RSS file as a notebook expression.
  • Import["file.rss"] reads an RSS file and returns its contents formatted as a notebook.
  • Import["file.rss",elem] imports the specified element from an RSS file.
  • Import["file.rss",{elem,suba,subb,}] imports a subelement.
  • Import["file.rss",{{elem1,elem2,}}] imports multiple elements.
  • The import format can be specified with Import["file", "RSS"] or Import["file",{"RSS",elem,}].
  • See the reference pages for full general information on Import.
  • ImportString supports the RSS format.

Import Elements

  • General Import elements:
  • "Elements"list of elements and options available in this file
    "Rules"full list of rules for each element and option
    "Options"list of rules for options, properties, and settings
  • Data representation elements:
  • "Notebook"gives an RSS file formatted as a notebook expression
    "NotebookObject"creates a notebook and opens it in a new window
    "SymbolicXML"RSS file imported as a symbolic XML expression
  • Import uses the "Notebook" element by default.

Examples

Basic Examples  (1)

Import an RSS feed and format it as a notebook:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2004
(5.1)
|
Updated in 2007
(6.0)