• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Atom and rss
 

Atom and rss

on

  • 573 views

 

Statistics

Views

Total Views
573
Views on SlideShare
573
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Atom and rss Atom and rss Presentation Transcript

    • Atom and RSS Web Syndication FormatsNathan Quach – 17325178@student.uws.edu.au
    • Agenda  What are Atom & RSS?  History  Benefits of Atom & RSS  How to read a Atom/RSS feed  Compare Atom & RSS  Implement Atom & RSS in Joomla2 8/7/2012
    • What are Atom & RSS?  Families of web content syndication format.  XML-based  used in web feed3 8/7/2012
    • What are Atom & RSS? Atom RSS  Atom Syndication  Really Simple Format Syndication  File extension: .atom,  File extension: .rss, .xml .xml  Internet media type:  Internet media type: application/rss+xml application/atom+xml  Type of format: Web  Type of format: Web syndication syndication  Extended from: XML  Extended from: XML  Latest version: RSS 2.04  Latest version: Atom 1.0 8/7/2012
    • What are Atom & RSS? Atom example document <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Example Feed</title> <subtitle>A subtitle.</subtitle> <link href="http://example.org/feed/" rel="self" /> <link href="http://example.org/" /> <id>urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</id> <updated>2003-12-13T18:30:02Z</updated> <author> <name>John Doe</name> <email>johndoe@example.com</email> </author> <entry> <title>Atom-Powered Robots Run Amok</title> <link href="http://example.org/2003/12/13/atom03" /> <link rel="alternate" type="text/html” href="http://example.org/2003/12/13/atom03.html"/> <link rel="edit" href="http://example.org/2003/12/13/atom03/edit"/> <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> <updated>2003-12-13T18:30:02Z</updated> <summary>Some text.</summary> </entry>5 </feed> 8/7/2012
    • What are Atom & RSS? RSS example document <?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0"> <channel> <title>RSS Title</title> <description>This is an example of an RSS feed</description> <link>http://www.someexamplerssdomain.com/main.html</link> <lastBuildDate>Mon, 06 Sep 2010 00:01:00 +0000 </lastBuildDate> <pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate> <item> <title>Example entry</title> <description>Here is some text containing an interesting description.</description> <link>http://www.wikipedia.org/</link> <guid>unique string per item</guid> <pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate> </item> </channel> </rss>6 8/7/2012
    • History 1997 scriptingNews (UserLand) Deprecated 1999 RSS 0.9 scriptingNews (Netscape) RSS 0.91 2.01 (UserLand) (Netscape) 2000 RSS 0.91 RSS 1.0 (RSS- (UserLand) RSS 0.92 DEV Working (UserLand) Group) 2002 RSS 2.0 (UserLand) Froze Atom Project n started 2003 RSS 2.0 (Harvard) 2005 Atom 1.07 8/7/2012
    • Why Atom & RSS?  Need to distribute content through Internet  Site to site  Site to end user  Simple & fast method/standard/format8 8/7/2012
    • Benefits from Atom & RSS  To users:  Save time  Protect privacy  To publishers:  Allow content to wider audience  Increase site’s awareness, traffic  Improve site-user relationship  Syndicate other feeds to generate new content9 8/7/2012
    • “Disadvantage” of Web Feed  To users:  learn new thing.  personal preference concern  To publishers:  hard to know subscriber’s info (compare to newsletter)  server load concern10 8/7/2012
    • 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
    • Compare RSS and Atom RSS Atom Schema No Yes Specifications RSS2.0 is frozen IETF RFC 4287 Publishing Protocols MetaWeblog, Blogger AtomPub Namespace No XML namespace Unregistered IANA registered Autodiscovery Application/rss+xml Application/atom+xml Feed & entry title, uid Feed title, link, Required content & last updated description timestamp Number of elements 30 2012 8/7/2012
    • Implement Atom & RSS in Joomla  Demo environment:  Windows/Linux  XAMPP 1.7.4  Joomla 1.7  Joomla already has integrated Syndication modules for:  Publishing feeds.  Syndicating feeds from other sites.13 8/7/2012
    • Implement Atom & RSS in Joomla  Feed Publishing:  Login to Administrator  Select Extensions > Module Manager  Click New > Select Syndication Feeds Module14 8/7/2012
    • Implement Atom & RSS in Joomla  Feed Publishing (cont)15 8/7/2012
    • Implement Atom & RSS in Joomla  Feed Publishing (cont)  Enter required information and Save  Go to a page and check the result16 8/7/2012
    • Implement Atom & RSS in Joomla  Feed Syndication:  Login to Administrator  Select Extensions > Module Manager  Click New > Select Feed display Module17 8/7/2012
    • 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
    • Questions and comments?19 8/7/2012
    • Thank you for listening20 8/7/2012