diff options
author | emkael <emkael@tlen.pl> | 2018-01-24 11:36:08 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-01-24 11:36:08 +0100 |
commit | 76dc5c4be53a6eda2e45fec3d9fe64030877a8cd (patch) | |
tree | 9419b86b9ca5dcc388532843c2c14e295a8e463b | |
parent | 178b61aae171b6e0052cfde96ac7957df9e89964 (diff) |
RSS proxy update
-rw-r--r-- | config/rss.json | bin | 160 -> 254 bytes | |||
-rw-r--r-- | providers/Rss.php | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/config/rss.json b/config/rss.json Binary files differindex 059333a..e2231e9 100644 --- a/config/rss.json +++ b/config/rss.json diff --git a/providers/Rss.php b/providers/Rss.php index 9f64088..cc0aaf8 100644 --- a/providers/Rss.php +++ b/providers/Rss.php @@ -41,7 +41,7 @@ class Rss extends \Providers\Provider { $itemObject = new Item(); $itemObject->ID = strval($item->id ?: $item->guid); $itemObject->Title = strval($item->title); - $itemObject->Time = strval($item->updated ?: $item->pubDate); + $itemObject->Time = strval($item->published ?: $item->pubDate); $itemObject->Text = strval($item->summary ?: $item->description); $itemObject->Link = strval(is_string($item->link) ? $item->link : $item->link->attributes()['href']); $itemObject->Author = strval(is_string($item->author) ? $item->author : $item->author->name); |