mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-29 14:48:52 +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) {
|
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