www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > XML

    XML Discussion and technical support for using and deploying XML applications and websites.

    Reply
     
    Thread Tools Rate Thread Display Modes
      #1  
    Old 03-05-2010, 06:11 PM
    Joseph Witchard's Avatar
    Joseph Witchard Joseph Witchard is offline
    Mac Kills His Inner Child
     
    Join Date: Dec 2007
    Location: Mississippi
    Posts: 1,020
    RSS vs. Atom

    Is there a need for both an RSS and Atom feed on a website, or an argument to use one over the other? I have both on my website, but from what I can tell on Firefox live bookmarks, they basically do the same thing.
    Reply With Quote
      #2  
    Old 03-06-2010, 07:35 AM
    Charles's Avatar
    Charles Charles is offline
    JavaScript Banned
     
    Join Date: Nov 2002
    Location: Baltimore, Maryland
    Posts: 11,954
    It really just depends upon what you are doing with the feed and how you are generating it. If it's being auto generated then my thought is always the more the better. If by hand you have to ask just what the feed will be used for. If you are just pushing out stuff to humans then the more simple is better. If you are trying to communicate to machines and give users and user agents lots of possibilities then the more info the better.
    __________________
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web
    Reply With Quote
      #3  
    Old 03-06-2010, 09:14 PM
    Joseph Witchard's Avatar
    Joseph Witchard Joseph Witchard is offline
    Mac Kills His Inner Child
     
    Join Date: Dec 2007
    Location: Mississippi
    Posts: 1,020
    Both my Atom and RSS feeds are fed by MySQL and generated by PHP.
    Reply With Quote
      #4  
    Old 03-10-2010, 04:43 AM
    rnd me's Avatar
    rnd me rnd me is offline
    working on the chain...
     
    Join Date: Jul 2008
    Location: urbana, il
    Posts: 1,821
    my two cents: stick with rss. if rss is the swiss army knife of repetitive data, atom is a 16 drawer steel toolchest on casters.
    Reply With Quote
      #5  
    Old 03-10-2010, 08:26 AM
    Charles's Avatar
    Charles Charles is offline
    JavaScript Banned
     
    Join Date: Nov 2002
    Location: Baltimore, Maryland
    Posts: 11,954
    I agree with you on the tool chest image but RSS is not Swiss Army knife. It does one thing but it does it well. If all you want is that one thing then go for RSS but if you want to give your users some more options then use Atom.
    __________________
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web
    Reply With Quote
      #6  
    Old 03-10-2010, 04:44 PM
    rnd me's Avatar
    rnd me rnd me is offline
    working on the chain...
     
    Join Date: Jul 2008
    Location: urbana, il
    Posts: 1,821
    Quote:
    Originally Posted by Charles View Post
    I agree with you on the tool chest image but RSS is not Swiss Army knife. It does one thing but it does it well.
    i think rss does a lot of things from podcast subscriptions, site change logs, news wire stories, to event announcements. don't forget that rss can be enhanced by extensions; dublin core, itunes, yahoo, etc. Even with all the extra info tucked in, i can still use an rss feed just fine in any reader.

    i did a massive rss study three years ago (might be impossible now), and at that time 68% of feeds were 2.0, and atom was only 7%. if we pretend that those numbers are browser statistics, it's obvious me what system you should develop for. atom is a full (r/w) publishing protocol, rss is more of a stream-acting RESTful data resource.

    but ether one can be used for the things most rss2.0 feeds do.
    They both show up in browsers just fine nowadays, though atom probably doesn't have as many apps/widgets that can use it.

    Last edited by rnd me; 03-10-2010 at 04:47 PM.
    Reply With Quote
      #7  
    Old 03-10-2010, 10:03 PM
    Joseph Witchard's Avatar
    Joseph Witchard Joseph Witchard is offline
    Mac Kills His Inner Child
     
    Join Date: Dec 2007
    Location: Mississippi
    Posts: 1,020
    What options can you give your users with Atom?
    Reply With Quote
      #8  
    Old 03-11-2010, 04:50 AM
    Charles's Avatar
    Charles Charles is offline
    JavaScript Banned
     
    Join Date: Nov 2002
    Location: Baltimore, Maryland
    Posts: 11,954
    With Atom you are giving them more meta-information. The chances are, I admit, really small that any one is going to make use of that information. But someone just might. That's why I wrote above, if you are typing this out then use RSS. Otherwise you have options.

    But the browser analogy doesn't hold. You don't want to know what syndication is used, you want to know what syndication is supported. Just because nobody uses a particular color doesn't mean that your web site should eschew it.

    And, of course, the best of all possible worlds to the users is options. Best to give them both in this instance.
    __________________
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web
    Reply With Quote
      #9  
    Old 03-11-2010, 05:04 PM
    Joseph Witchard's Avatar
    Joseph Witchard Joseph Witchard is offline
    Mac Kills His Inner Child
     
    Join Date: Dec 2007
    Location: Mississippi
    Posts: 1,020
    So since I'm using PHP to generate both feeds rather than update them by hand, it's beneficial to use both?
    Reply With Quote
      #10  
    Old 03-12-2010, 06:39 AM
    Charles's Avatar
    Charles Charles is offline
    JavaScript Banned
     
    Join Date: Nov 2002
    Location: Baltimore, Maryland
    Posts: 11,954
    Why wouldn't it be?
    __________________
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web
    Reply With Quote
      #11  
    Old 03-12-2010, 02:30 PM
    rnd me's Avatar
    rnd me rnd me is offline
    working on the chain...
     
    Join Date: Jul 2008
    Location: urbana, il
    Posts: 1,821
    Quote:
    Originally Posted by Charles View Post
    Why wouldn't it be?
    one reason, and this might just be a personal thing that only bothers me, but i don't like being offered more than one or two feeds by firefox because i often click the wrong one. when i click the rss icon, i'm not expecting to have to make a choice. it a usability thing.



    if a choice will seldom be used, it might be worth the efficiency of not forcing a decision upon the user. in web, less is often more; google vs yahoo front pages for example...
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 11:50 AM.



    Acceptable Use Policy

    Internet.com
    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.