Login   Register  
PHP Classes
elePHPant
Icontem

File: rss.xml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Richard Lucas  >  ABC_RSS  >  rss.xml  >  Download  
File: rss.xml
Role: Sample output
Content type: text/plain
Description: Example output
Class: ABC_RSS
Compose and generate RSS 2.0 feeds
Author: By
Last change: Added support for multiple category elements in channels and items
Date: 4 years ago
Size: 2,432 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>News.dom</title>
    <link>http://www.news.dom/</link>
    <description><![CDATA[All the News You Can Stand]]></description>
    <language>en-us</language>
    <copyright>Copyright 2010-2012, News.dom</copyright>
    <managingEditor>editor@news.dom (John Smith)</managingEditor>
    <webMaster>webmaster@news.dom (Jane Doe)</webMaster>
    <pubDate>Fri, 05 Mar 2010 11:00:00 -0500</pubDate>
    <lastBuildDate>Fri, 05 Mar 2010 11:00:00 -0500</lastBuildDate>
    <category domain="local,regional,national,world">news</category>
    <category domain="local,regional,national">sports</category>
    <category domain="local,regional,national">entertainment</category>
    <cloud domain="rpc.news.dom" port="80" path="/RPC2" registerProcedure="pingMe" protocol="soap" />
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>ABC_RSS PHP Class</generator>
    <ttl>60</ttl>
    <rating><![CDATA[(PICS-1.1 "http://www.gcf.org/v2.5" l r (suds 0.5 density 0 color/hue 1) r (subject 2 density 1 color/hue 1))]]></rating>
    <textInput>
      <title>Search</title>
      <description><![CDATA[Find an article on News.dom]]></description>
      <name>q</name>
      <link>http://www.news.dom/search/</link>
    </textInput>
    <image>
      <url>http://www.news.dom/logo.jpg</url>
      <title>News.dom</title>
      <link>http://www.news.dom/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <skipHours>
      <hour>0</hour>
      <hour>1</hour>
      <hour>2</hour>
      <hour>3</hour>
    </skipHours>
    <skipDays>
      <day>Saturday</day>
    </skipDays>
    <item>
      <title>New Water Park Makes Big Splash in Local Economy</title>
      <link>http://www.news.dom/headlines/</link>
      <description><![CDATA[Reporter Peter Griffin talks to Bob Smith, the owner-operator of Quahog's new attraction, Wetworld.]]></description>
      <author>Peter Griffin</author>
      <category domain="local">news</category>
      <category domain="local">entertainment</category>
      <comments>http://www.news.dom/comments/?article=7836453</comments>
      <enclosure url="http://www.news.dom/video/?id=68737" length="12216320" type="video/quicktime" />
      <pubDate>Sun, 19 May 2002 15:21:36 GMT</pubDate>
      <guid isPermaLink="true">http://www.news.dom/articles/?id=7836453</guid>
    </item>
</channel>
</rss>