Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yPhil
Pétrolette
Commits
5f76a4a8
Commit
5f76a4a8
authored
Aug 07, 2020
by
yPhil
Browse files
Version Corona Circus - 07/08/2020 14:43:35
parent
6e040b62
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
package-lock.json
View file @
5f76a4a8
This diff is collapsed.
Click to expand it.
package.json
View file @
5f76a4a8
...
...
@@ -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
"
}
}
public/js/PTL.feed.js
View file @
5f76a4a8
...
...
@@ -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
'
][
"
#
"
];
}
}
...
...
public/js/PTL.prefs.js
View file @
5f76a4a8
...
...
@@ -36,8 +36,8 @@ PTL.prefs = (function() {
{
"
name
"
:
"
img
"
,
"
columns
"
:
[
[
{
"
url
"
:
"
http
s
://
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
"
:
"
http
s
://
www.reddit.com/r/EarthPorn.
rss
"
,
"
type
"
:
"
photo
"
,
"
limit
"
:
16
}
]
]
},
...
...
views/index.html
View file @
5f76a4a8
...
...
@@ -125,7 +125,6 @@
<div
class=
"logoType"
>
<i
class=
"icon-petrolette"
></i>
</div>
<span
id=
"beta-badge"
>
beta
</span>
</div>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment