Commit 5f76a4a8 authored by yPhil's avatar yPhil
Browse files

Version Corona Circus - 07/08/2020 14:43:35

parent 6e040b62
This diff is collapsed.
......@@ -29,7 +29,7 @@
"feedparser": "2.2.9",
"feedrat": "0.1.48",
"iconv": "2.3.2",
"npm": "6.5.0",
"pm2": "3.2.8"
"npm": "^6.14.7",
"pm2": "^4.4.0"
}
}
......@@ -173,7 +173,7 @@ PTL.feed = {
$feedBody.empty();
}).fail(function(error) {
console.log('ERROR!!');
PTL.util.console(PTL.tr('Problem reading feed [%1] Error type [%2]', feedUrl, error), 'error');
}).done(function(data) {
$feedLink.text(data.feedTitle || feedUrl)
......@@ -282,22 +282,16 @@ PTL.feed = {
'image/gif',
'image/png'];
console.log('DESCRIPTION!! (%s)', feedUrl);
if (item.summary){
console.log('item.summary : %s', item.summary)
summary = item.summary;
}
if (item.description){
console.log('item.description : %s', item.description)
summary = item.description;
}
if (item['media:group']) {
if (item['media:group']['media:description']) {
console.log('group : %s', item['media:group']['media:description']["#"])
summary = item['media:group']['media:description']["#"];
}
}
......
......@@ -36,8 +36,8 @@ PTL.prefs = (function() {
{"name":"img",
"columns": [
[
{"url":"https://www.reddit.com/r/EarthPorn.rss","type":"photo","limit": 16},
{"url":"http://cabinporn.com/rss/","type":"photo","limit": 16}
{"url":"http://cabinporn.com/rss/","type":"photo","limit": 16},
{"url":"https://www.reddit.com/r/EarthPorn.rss","type":"photo","limit": 16}
]
]
},
......
......@@ -125,7 +125,6 @@
<div class="logoType">
<i class="icon-petrolette"></i>
</div>
<span id="beta-badge">beta</span>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment