summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-01-24 11:36:08 +0100
committeremkael <emkael@tlen.pl>2018-01-24 11:36:08 +0100
commit76dc5c4be53a6eda2e45fec3d9fe64030877a8cd (patch)
tree9419b86b9ca5dcc388532843c2c14e295a8e463b
parent178b61aae171b6e0052cfde96ac7957df9e89964 (diff)
RSS proxy update
-rw-r--r--config/rss.jsonbin160 -> 254 bytes
-rw-r--r--providers/Rss.php2
2 files changed, 1 insertions, 1 deletions
diff --git a/config/rss.json b/config/rss.json
index 059333a..e2231e9 100644
--- a/config/rss.json
+++ b/config/rss.json
Binary files differ
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);