Web Services
  Home arrow Web Services arrow Page 2 - Introduction to RSS
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

Introduction to RSS
By: Unknown User
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2003-10-07

    Table of Contents:
  • Introduction to RSS
  • RSS Syntax
  • Creating RSS Files
  • The Four Main Sections of an RSS File
  • Working with RSS Files

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Introduction to RSS - RSS Syntax


    (Page 2 of 5 )

    RSS defines an XML grammar (a set of HTML-like tags) for sharing news. Each RSS text file contains both static information about your site, plus dynamic information about your new stories, all surrounded by matching start and end tags.

    Each story is defined by an <item> tag, which contains a headline TITLE, URL, and DESCRIPTION. Here's an example:

    ...
    <item>
      <title>RSS Resources</title>
      <link> http://www.webreference.com/authoring/languages/xml/rss/ </link>
      <description>Defined in XML, the Rich Site Summary (RSS) format has
      quietly become a dominant format for distributing headlines on the Web.
      Our list of links gives you the tools, tips and tutorials you need to get
      started using RSS. 0323</description>
    </item>
    ...

    Each RSS channel can contain up to 15 items and can be easily parsed using Perl or other server-side software like ASP, PHP, etc.

    RSS files are metadata.

    An RSS file commonly contains four main types of elements: channel, image, items, and text input. These elements are easy to identify and code, as the example in Listing 1 demonstrates. An example of an item within an RSS 0.91 file, Listing 1 contains three easily identifiable parts: a title, a link, and a description.

    <item>
        
    <title>Mozilla Dispenses with Old, Proprietary DOM</title>

    <link>http://www.mozillazine.org/talkback.html?article=604</link>

    <description>The Mozilla team has decided to forgo backwards
    compatibility with Netscape's proprietary DOM.</description>

    More Web Services Articles
    More By Unknown User


     

    WEB SERVICES ARTICLES

    - Safety, Idempotence, and the Resource-Orient...
    - The Resource-Oriented Architecture in Action
    - Features of the Resource-Oriented Architectu...
    - The Resource-Oriented Architecture
    - Getting Started with Flex
    - Automated Billing and Faxing for the Web
    - An Introduction to Web Services
    - The Foundations of Web Services: From Novice...
    - Web Services Reengineering: Finishing Touches
    - Fault Handling with Web Services
    - Flow and Web Services
    - Process Lifecycles and Web Services
    - Business Processes and Web Services
    - Orchestrating Web Services
    - Notifications and Resources in the WS-Resour...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek