mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 03:16:33 +03:00
AuthorName in the output (usefull for RSS readers)
Add the Author's name in the output fields.
This commit is contained in:
parent
6456d145a0
commit
17e887631c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue