diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-07 15:13:07 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-07 15:13:07 +0100 |
commit | 0be30fc27d62952e909d920d90716d793b14cfd0 (patch) | |
tree | 6e211de89f1983f735c857419a0224545f236e95 /vendor/fguillot/picofeed/lib/PicoFeed/Parser/Parser.php | |
parent | c53250f18730b2edef57f098cec3ad706d6efb53 (diff) |
update picofeed
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Parser/Parser.php')
-rw-r--r-- | vendor/fguillot/picofeed/lib/PicoFeed/Parser/Parser.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Parser/Parser.php b/vendor/fguillot/picofeed/lib/PicoFeed/Parser/Parser.php index 7ada6d10f..4d45f539c 100644 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Parser/Parser.php +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Parser/Parser.php @@ -164,7 +164,7 @@ abstract class Parser // Id generation can use the item url/title/content (order is important) $this->findItemId($entry, $item, $feed); - $this->findItemDate($entry, $item); + $this->findItemDate($entry, $item, $feed); $this->findItemEnclosure($entry, $item, $feed); $this->findItemLanguage($entry, $item, $feed); @@ -333,7 +333,7 @@ abstract class Parser if ($timezone) { $this->date->timezone = $timezone; } - + return $this; } @@ -532,9 +532,10 @@ abstract class Parser * * @access public * @param SimpleXMLElement $entry Feed item - * @param \PicoFeed\Parser\Item $item Item object + * @param Item $item Item object + * @param \PicoFeed\Parser\Feed $feed Feed object */ - public abstract function findItemDate(SimpleXMLElement $entry, Item $item); + public abstract function findItemDate(SimpleXMLElement $entry, Item $item, Feed $feed); /** * Find the item content |