atom and rss

Click here to load reader

Upload: nathan-quach

Post on 15-May-2015

522 views

Category:

Technology


0 download

TRANSCRIPT

2. Agenda What are Atom & RSS? History Benefits of Atom & RSS How to read a Atom/RSS feed Compare Atom & RSS Implement Atom & RSS in Joomla28/7/2012 3. What are Atom & RSS? Families of web content syndication format. XML-based used in web feed3 8/7/2012 4. What are Atom & RSS?Atom RSS Atom Syndication Really SimpleFormat Syndication File extension: .atom, File extension: .rss, .xml.xml Internet media type: Internet media type: application/rss+xmlapplication/atom+xml Type of format: Web Type of format: Websyndicationsyndication Extended from: XML Extended from: XML Latest version: RSS 2.04 Latest version: Atom 1.08/7/2012 5. What are Atom & RSS?Atom example document Example FeedA subtitle.urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af62003-12-13T18:30:02ZJohn [email protected] Robots Run Amokurn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a2003-12-13T18:30:02ZSome text.5 8/7/2012 6. What are Atom & RSS?RSS example document RSS TitleThis is an example of an RSS feedhttp://www.someexamplerssdomain.com/main.htmlMon, 06 Sep 2010 00:01:00 +0000 Mon, 06 Sep 2009 16:45:00 +0000 Example entryHere is some text containing an interestingdescription.http://www.wikipedia.org/unique string per itemMon, 06 Sep 2009 16:45:00 +0000 68/7/2012 7. History1997 scriptingNews(UserLand) Deprecated1999 RSS 0.9 scriptingNews(Netscape) RSS 0.912.01 (UserLand)(Netscape)2000RSS 0.91 RSS 1.0 (RSS- (UserLand)RSS 0.92 DEV Working(UserLand) Group)2002 RSS 2.0 (UserLand)Froze Atom Project nstarted2003 RSS 2.0(Harvard)2005 Atom 1.078/7/2012 8. Why Atom & RSS? Need to distribute content through Internet Site to site Site to end user Simple & fast method/standard/format8 8/7/2012 9. Benefits from Atom & RSS To users: Save time Protect privacy To publishers: Allow content to wider audience Increase sites awareness, traffic Improve site-user relationship Syndicate other feeds to generate new content98/7/2012 10. Disadvantage of Web Feed To users: learn new thing. personal preference concern To publishers: hard to know subscribers info (compare to newsletter) server load concern108/7/2012 11. How to read a Feed Feed Reader or Feed Aggregator: Windows BottomFeeder: http://www.cincomsmalltalk.com/BottomFeeder/ FeedDemon: http://www.feeddemon.com/ Mac OS X BottomFeeder: http://www.cincomsmalltalk.com/BottomFeeder/ NetNewsWire: http://ranchero.com/netnewswire/ Linux BottomFeeder: http://www.cincomsmalltalk.com/BottomFeeder/ Android gReader FeedR iOS Reeder NetNewsWire11 8/7/2012 12. Compare RSS and AtomRSS Atom Schema NoYes Specifications RSS2.0 is frozenIETF RFC 4287 Publishing Protocols MetaWeblog, Blogger AtomPub NamespaceNoXML namespaceUnregisteredIANA registered AutodiscoveryApplication/rss+xml Application/atom+xmlFeed & entry title, uidFeed title, link, Required content & last updateddescriptiontimestamp Number of elements 3020128/7/2012 13. Implement Atom & RSS in Joomla Demo environment: Windows/Linux XAMPP 1.7.4 Joomla 1.7 Joomla already has integrated Syndicationmodules for: Publishing feeds. Syndicating feeds from other sites.13 8/7/2012 14. Implement Atom & RSS in Joomla Feed Publishing: Login to Administrator Select Extensions > Module Manager Click New > Select Syndication Feeds Module14 8/7/2012 15. Implement Atom & RSS in Joomla Feed Publishing (cont)158/7/2012 16. Implement Atom & RSS in Joomla Feed Publishing (cont) Enter required information and Save Go to a page and check the result16 8/7/2012 17. Implement Atom & RSS in Joomla Feed Syndication: Login to Administrator Select Extensions > Module Manager Click New > Select Feed display Module178/7/2012 18. Implement Atom & RSS in Joomla Feed Syndication (cont): Input the Feed URL you want to syndicate. Save and go to homepage to view the result.18 8/7/2012 19. Questions and comments?19 8/7/2012 20. Thank you for listening20 8/7/2012