90 likes | 217 Views
RSS Feeds, Blogs, and Podcasts. Mark Branom, IT Services Tech Briefing http://techbriefing.stanford.edu/ June 8, 2007. Using RSS. RSS in plain english: http://www.commoncraft.com/rss_plain_english Some Online RSS readers: www.google.com/reader www.bloglines.com www.newsgator.com
E N D
RSS Feeds, Blogs, and Podcasts Mark Branom, IT Services Tech Briefing http://techbriefing.stanford.edu/ June 8, 2007
Using RSS • RSS in plain english: • http://www.commoncraft.com/rss_plain_english • Some Online RSS readers: • www.google.com/reader • www.bloglines.com • www.newsgator.com • Some Offline RSS readers: • www.getfirefox.com • www.getthunderbird.com • www.feedreader.com • www.rssreader.com
Creating RSS Feeds <?xml version="1.0"?> <rss version="2.0"> <channel> <title>Title of Feed Goes Here</title> <description>Description of Feed Goes Here</description> <link>Link to the Feed Goes Here</link> <item> <title>Title of Item 1 Goes Here</title> <description>Description of Item 1 Goes Here</description> <link>Link to Item 1 Goes Here</link> </item> <item> <title>Title of Item 2 Goes Here</title> <description>Description of Item 2 Goes Here</description> <link>Link to Item 2 Goes Here</link> </item> </channel> </rss>
Creating an Atom Feed <?xml version="1.0"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Title of Feed Goes Here</title> <subtitle>SubTitle of Feed Goes Here</subtitle> <link href="http://LinkToTheFeedGoesHere"/> <updated>Today's Date</updated> <author> <name>Author's Full Name</name> <email>Author's Email</email> </author> <id>Identifying information For the Feed Goes Here</id> <entry> <title>Item 1 Title Goes Here</title> <link href="http://Item1LinkGoesHere"/> <id>Item 1's ID Goes Here</id> <updated>Item 1's Updated Date Goes Here</updated> <summary>Summary Text Goes Here</summary> </entry> <entry> <title>Item 2 Title Goes Here</title> <link href="http://Item2LinkGoesHere"/> <id>Item 2's ID Goes Here</id> <updated>Item 2's Updated Date Goes Here</updated> <summary>Summary Text Goes Here</summary> </entry> </feed>
Some RSS Examples • CNN’s Top Stories:http://rss.cnn.com/rss/cnn_topstories.rss • NY Times:http://nytimes.com/services/xml/rss/nyt/HomePage.xml • Stanford Events:http://events.stanford.edu/xml/rss.xml • Stanford Daily:http://daily.stanford.edu/xml/rss2
Submitting RSS Feeds • Doing it yourself…
Submitting RSS Feeds • Using a service • http://www.submitrssfeed.com/ • http://www.feedsubmitter.com/ • http://www.dummysoftware.com/rsssubmit.html • http://allrss.com/rsssubmission.html
Linking Your Web Page to Your RSS Feed • Option 1: with a regular link, usually using the orange RSS icon: <a href="linktomyrssfeed.xml"><img src="rss.gif" alt="RSS" /></a> • Option 2: by linking your web page using the <link> tag (in the <head> of your document) <head> <link rel="alternate" type="application/rss+xml" title="Title for Your Feed" href="linktomyrssfeed.xml" />
Resources • en.wikipedia.org/wiki/RSS • en.wikipedia.org/wiki/Atom_(standard) • www.rss-specifications.com/creating-rss-feeds.htm • searchenginewatch.com/showPage.html?page=2175271