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 = new \Item();
|
||||||
$item->title = $element->find('title', 0)->innertext;
|
$item->title = $element->find('title', 0)->innertext;
|
||||||
$item->uri = $element->find('guid', 0)->plaintext;
|
$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;
|
$item->content = $this->file_get_html($item->uri)->find('div.texte', 0)->innertext;
|
||||||
$this->items[] = $item;
|
$this->items[] = $item;
|
||||||
$limit++;
|
$limit++;
|
||||||
|
|
Loading…
Reference in a new issue