forked from blallo/rss-bridge
Fix tag name for timestamp
This commit is contained in:
parent
371a52e2b9
commit
5189741c7b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class BastaBridge extends BridgeAbstract{
|
|||
$item = new \Item();
|
||||
$item->title = $element->find('title', 0)->innertext;
|
||||
$item->uri = $element->find('guid', 0)->plaintext;
|
||||
$item->timestamp = strtotime($element->find('pubDate', 0)->plaintext);
|
||||
$item->timestamp = strtotime($element->find('dc:date', 0)->plaintext);
|
||||
$item->content = $this->file_get_html($item->uri)->find('div.texte', 0)->innertext;
|
||||
$this->items[] = $item;
|
||||
$limit++;
|
||||
|
|
Loading…
Reference in a new issue