Chris@0: source_string->value contains the raw feed data. Parse the data Chris@0: * and add the following properties to the $feed object: Chris@0: * - description: The human-readable description of the feed. Chris@0: * - link: A full URL that directly relates to the feed. Chris@0: * - image: An image URL used to display an image of the feed. Chris@0: * - etag: An entity tag from the HTTP header used for cache validation to Chris@0: * determine if the content has been changed. Chris@0: * - modified: The UNIX timestamp when the feed was last modified. Chris@0: * - items: An array of feed items. The common format for a single feed item Chris@0: * is an associative array containing: Chris@0: * - title: The human-readable title of the feed item. Chris@0: * - description: The full body text of the item or a summary. Chris@0: * - timestamp: The UNIX timestamp when the feed item was last published. Chris@0: * - author: The author of the feed item. Chris@0: * - guid: The global unique identifier (GUID) string that uniquely Chris@0: * identifies the item. If not available, the link is used to identify Chris@0: * the item. Chris@0: * - link: A full URL to the individual feed item. Chris@0: * Chris@0: * @return bool Chris@0: * TRUE if parsing was successful, FALSE otherwise. Chris@0: */ Chris@0: public function parse(FeedInterface $feed); Chris@0: Chris@0: }