[StoriesIGBridge] Add timestamp to feed items (#1331)
This commit is contained in:
parent
a70e00a76d
commit
0f01cc97a4
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class StoriesIGBridge extends BridgeAbstract {
|
|||
$item['title'] = $this->getInput('username') . ' story';
|
||||
$item['uri'] = $result->find('div.download', 0)->find('a', 0)->href;
|
||||
$item['author'] = $this->getInput('username');
|
||||
$item['timestamp'] = strtotime($result->find('time', 0)->datetime);
|
||||
$item['uid'] = $result->find('time', 0)->datetime;
|
||||
|
||||
$item['content'] = $result;
|
||||
|
|
Loading…
Reference in a new issue