TRssFeedDocument class
TRssFeedDocument represents an RSS feed. RSS is a family of web feed formats, specified in XML and used for Web syndication. RSS is used by (among other things) news websites, weblogs and podcasting.
Located in /Xml/TRssFeedDocument.php (line 25)
DOMDocument | --TFeedDocument | --TRssFeedDocument
Constructor
Specify one or more categories that the channel belongs to.
A URL that points to the documentation for the format used in the RSS file. It's probably a pointer to this page. It's for people who might stumble across an RSS file on a Web server 25 years from now and wonder what it is.
The language the channel is written in. This allows aggregators to group all Italian language sites, for example, on a single page. A list of allowable values for this element, as provided by Netscape, is here.
You may also use values defined by the W3C.
The URL to the HTML website corresponding to the channel.
The publication date for the content in the channel. For example, the New York Times
publishes on a daily basis, the publication date flips once every 24 hours. That's when the pubDate of the channel changes. All date-times in RSS conform to the Date and Time Specification of RFC 822, with the exception that the year may be expressed with two characters or four characters (four preferred).
A list of hour's indicating the hours in the day, GMT, when the channel is unlikely to be updated. If not set, the channel is assumed to be updated hourly.
ttl stands for time to live. It's a number of minutes that indicates how long a channel can be cached before refreshing from the source.
The name of the channel. It's how people refer to your service. If you have an HTML website that contains the same information as your RSS file, the title of your channel should be the same as the title of your website.
Inherited From TFeedDocument
TFeedDocument::__construct()
TFeedDocument::getEncoding()
TFeedDocument::setEncoding()
Documentation generated on Sun, 14 Jan 2007 21:44:11 -0500 by phpDocumentor 1.3.0RC4