1
0
Fork 0
forked from blallo/rss-bridge

Merge pull request #141 from GregThib/patch-1

[Rue89] AuthorName in the output
This commit is contained in:
Mitsu 2015-07-30 11:21:58 +02:00
commit fde1dfa194

View file

@ -38,6 +38,7 @@ class Rue89Bridge extends BridgeAbstract{
if($limit < 5) {
$item = new \Item();
$item->title = Rue89StripCDATA($element->find('title', 0)->innertext);
$item->name = Rue89StripCDATA($element->find('dc:creator', 0)->innertext);
$item->uri = str_replace('#commentaires', '', Rue89StripCDATA($element->find('comments', 0)->plaintext));
$item->timestamp = strtotime($element->find('pubDate', 0)->plaintext);
$item->content = Rue89ExtractContent($item->uri);