1 / 15

RSS

RSS. Really Simple Syndication. RSS is a web content syndication format RSS documents are XML and must conform to the xml 1.0 recommendation RSS files are used to keep subscribers informed about the most recent updates to news, blogs, discussion groups, site postings, etc. Overview.

jfrisina
Download Presentation

RSS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. RSS Really Simple Syndication

  2. RSS is a web content syndication format • RSS documents are XML and must conform to the xml 1.0 recommendation • RSS files are used to keep subscribers informed about the most recent updates to news, blogs, discussion groups, site postings, etc. Overview

  3. First began as scripting news in 1997 • RSS 0.90 was designed for use with Netscape 1999(had an RDF header) • RSS 0.91 (1999) more standard, no RDF header • RSS 0.92 which is 0.91 with optional elements • RSS 1.0, Developed by a private group at O’Reilly –again has an RDF header (2000) • RSS 2.0 –basically a modification of 0.92 (2003) Versions of RSS

  4. The root element of the document is <rss version=“2.0”> It has no namespaces, though namespaces can be added to accommodate extensions to rss and inclusion of other xml vocabularies The <rss> element has a single child, the <channel> element Basics of RSS 2.0

  5. The <channel> element can contain several elements. Most contain metadata about the rss feed • Three elements are required and several are optional • Additionally the <channel> element contains one or more <item> elements • The <item> elements contain the description and links of the syndicated content The <channel> Element

  6. Required Elements of <channel>

  7. Optional Elements of <channel>

  8. Optional Elements Continued

  9. Optional Elements (End)

  10. A channel many contain any number of items • The items may represent a link to a story or a resource or they may be complete in themselves • All child elements of <item> are optional however at minimum at least a title or description must be present The <item> Element

  11. Elements of <item>

  12. Elements of <item> Continued

  13. <?xml version="1.0"?> <rss version="2.0”> <channel> <title cf:type="text">Lift Off News</title> <link>http://liftoff.msfc.nasa.gov/</link> <description>Liftoff to Space Exploration.</description> <language>en-us</language> <pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate> <lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate> <docs>http://blogs.law.harvard.edu/tech/rss</docs> <generator>Weblog Editor 2.0</generator> <managingEditor>editor@example.com</managingEditor> <webMaster>webmaster@example.com</webMaster> <ttl>5</ttl> RSS Example Channel Metainformation

  14. <item> <title cf:type="text">Star City</title> <link>http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp</link> <description>How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's Star City.</description> <pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate> <guid>http://liftoff.msfc.nasa.gov/2003/06/03.html#item573</guid> </item> <item> <title>Space Exploration</title> <link>http://liftoff.msfc.nasa.gov/</link> <description>Sky watchers in Europe, Asia, and parts of Alaska and Canada will experience a partial eclipse of the Sun on Saturday, May 31st.</description> <pubDate>Fri, 30 May 2003 11:06:42 GMT</pubDate> <guid>http://liftoff.msfc.nasa.gov/2003/05/30.html#item572</guid> </item> </channel> </rss> RSS Example Items

  15. Much of the material for this slide show came from • http://cyber.law.harvard.edu/rss/rss.html • Theirs is the definitive document for defining RSS 2.0 Reference

More Related