RSS (.rss)

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 fully supports RSS version 2.0.1 and earlier.

Import and ExportImport and 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.

ElementsElements

  • 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 element by default.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Import an example RSS file as a Cell expression:

In[1]:=
Click for copyable input
Out[1]=

Import an RSS file and format it as a notebook:

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