From 0f01cc97a4e2d35e69c79495028e25668731aa67 Mon Sep 17 00:00:00 2001 From: Joseph Date: Wed, 16 Oct 2019 19:44:01 +0000 Subject: [PATCH] [StoriesIGBridge] Add timestamp to feed items (#1331) --- bridges/StoriesIGBridge.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bridges/StoriesIGBridge.php b/bridges/StoriesIGBridge.php index 7f2c396f..9b5f7cbf 100644 --- a/bridges/StoriesIGBridge.php +++ b/bridges/StoriesIGBridge.php @@ -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;