PHP Class Phergie_Plugin_FeedParser, phergie

Inheritance: extends Phergie_Plugin_Abstract
Show file Open project: phergie/phergie

Protected Properties

Property Type Description
$feed Feed object

Public Methods

Method Description
parseFeed ( Object/String $content, Object $header = '' ) : FeedParser Try to discover what kind of feed is it, parse the items and return some informations about it
parseItemsAtom ( string $items ) : Array Items parsing logic for Atom
parseItemsRSS ( string $items ) : Array Items parsing logic for RSS

Method Details

parseFeed() public method

Try to discover what kind of feed is it, parse the items and return some informations about it
public parseFeed ( Object/String $content, Object $header = '' ) : FeedParser
$content Object/String
$header Object Http Header (optional)
return FeedParser

parseItemsAtom() public method

Items parsing logic for Atom
public parseItemsAtom ( string $items ) : Array
$items string TODO desc
return Array

parseItemsRSS() public method

Items parsing logic for RSS
public parseItemsRSS ( string $items ) : Array
$items string TODO description
return Array

Property Details

$feed protected property

Feed object
protected $feed