Class FeedItem

Description

A FeedItem is a part of a FeedCreator feed.

Located in /includes/feedcreator.class.php (line 74)

HtmlDescribable
   |
   --FeedItem
Variable Summary
mixed $author
mixed $authorEmail
mixed $authorURL
mixed $category
mixed $comments
mixed $contributor
mixed $creator
mixed $date
mixed $description
mixed $enclosure
mixed $guid
mixed $image
mixed $link
mixed $source
mixed $title
Variables
mixed $additionalElements = array() (line 119)

Any additional elements to include as an assiciated array. All $key => $value pairs

will be included unencoded in the feed item in the form <$key>$value</$key> Again: No encoding will be used! This means you can invalidate or enhance the feed if $value contains markup. This may be abused to embed tags not implemented by the FeedCreator class used.

mixed $author (line 83)

Optional attributes of an item.

mixed $authorEmail (line 83)
mixed $authorURL (line 83)
mixed $category (line 83)
mixed $categoryScheme (line 83)
mixed $comments (line 83)
mixed $contributor (line 83)
mixed $creator (line 83)
mixed $date (line 98)

Publishing date of an item. May be in one of the following formats:

RFC 822: "Mon, 20 Jan 03 18:05:41 +0400" "20 Jan 03 18:05:41 +0000"

ISO 8601: "2003-01-20T18:05:41+04:00"

Unix: 1043082341

mixed $description (line 78)
mixed $enclosure (line 109)

Add <enclosure> element tag RSS 2.0, supported by ATOM 1.0 too modified by : Mohammad Hafiz bin Ismail (mypapit@gmail.com)

display : <enclosure length="17691" url="http://something.com/picture.jpg" type="image/jpeg" />

mixed $guid (line 83)
mixed $image (line 83)
mixed $link (line 78)
mixed $source (line 83)
mixed $title (line 78)

Mandatory attributes of an item.

Inherited Variables

Inherited from HtmlDescribable

HtmlDescribable::$descriptionHtmlSyndicated
HtmlDescribable::$descriptionTruncSize
Methods

Inherited Methods

Inherited From HtmlDescribable

HtmlDescribable::getDescription()

Documentation generated on Wed, 28 Mar 2007 09:54:15 -0600 by phpDocumentor 1.3.1