RssReader

Overview

This service provide a way to read the content of an RSS syndication feed. It also define a data model (simplified compared to existing syndication feed models) to handle the informations in a more easier way.

Architectural Description

Dependencies

  • This service use rome-1.0RC2 to parse RSS feeds.
    • Rome use jDOM to handle XML data

Business Objects

  • Atomic types: xsd:string & xsd:anyURY
  • Complex types:
    • feedNode
      <xs:complexType name="feedNode">
        <xs:sequence>
          <xs:element name="author"  type="xs:string" minOccurs="0"/>
          <xs:element name="content" type="xs:string" minOccurs="0"/>
          <xs:element name="title"   type="xs:string" minOccurs="0"/>
          <xs:element name="type"    type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
    • feedContent
      <xs:complexType name="feedContent">
        <xs:sequence>
          <xs:element name="content"  type="tns:feedNode" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
          <xs:element name="language" type="xs:string"    minOccurs="0"/>
          <xs:element name="link"     type="xs:string"    minOccurs="0"/>
          <xs:element name="title"    type="xs:string"    minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

Operations

  • feedContent read(xsd:anyURI url)
    • Parse the content of a feed (located at url address) and transform it into a feedContent.

Download

services/ws/rssreader.txt · Last modified: 2009/03/12 22:09 by mosser
CC Attribution-Noncommercial-Share Alike 3.0 Unported www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0