forked from blallo/rss-bridge
Merge pull request #141 from GregThib/patch-1
[Rue89] AuthorName in the output
This commit is contained in:
commit
fde1dfa194
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class Rue89Bridge extends BridgeAbstract{
|
||||||
if($limit < 5) {
|
if($limit < 5) {
|
||||||
$item = new \Item();
|
$item = new \Item();
|
||||||
$item->title = Rue89StripCDATA($element->find('title', 0)->innertext);
|
$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->uri = str_replace('#commentaires', '', Rue89StripCDATA($element->find('comments', 0)->plaintext));
|
||||||
$item->timestamp = strtotime($element->find('pubDate', 0)->plaintext);
|
$item->timestamp = strtotime($element->find('pubDate', 0)->plaintext);
|
||||||
$item->content = Rue89ExtractContent($item->uri);
|
$item->content = Rue89ExtractContent($item->uri);
|
||||||
|
|
Loading…
Reference in a new issue