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
e399612f
Commit
e399612f
authored
Mar 04, 2021
by
yPhil
Browse files
New img in "Twitter card" update
parent
e12cc173
Pipeline
#394783
passed with stage
in 58 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/js/PTL.feed.js
View file @
e399612f
...
...
@@ -282,6 +282,8 @@ PTL.feed = {
}
else
{
$feedBody
.
css
(
'
height
'
,
feedLimit
);
$
.
get
(
"
/favicon
"
,
{
url
:
decodeURI
(
feedHost
),
dataType
:
"
json
"
...
...
public/js/PTL.prefs.js
View file @
e399612f
...
...
@@ -7,6 +7,7 @@ PTL.prefs = (function() {
"
columns
"
:
[
[
{
"
url
"
:
"
https://www.sciencemag.org/rss/weekly_news_email.xml
"
,
"
type
"
:
"
photo
"
,
"
limit
"
:
200
,
"
status
"
:
"
off
"
},
{
"
url
"
:
"
https://www.youtube.com/feeds/videos.xml?channel_id=UCAYKj_peyESIMDp5LtHlH2A
"
,
"
type
"
:
"
mixed
"
,
"
limit
"
:
140
,
"
status
"
:
"
on
"
},
{
"
url
"
:
"
https://www.popsci.com/arcio/rss/
"
,
"
type
"
:
"
mixed
"
,
"
limit
"
:
300
,
"
status
"
:
"
on
"
},
{
"
url
"
:
"
https://www.wired.com/category/science/feed
"
,
"
type
"
:
"
mixed
"
,
"
limit
"
:
300
,
"
status
"
:
"
on
"
}
...
...
views/index.html
View file @
e399612f
...
...
@@ -46,9 +46,10 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
property=
"og:title"
content=
"Pétrolette"
>
<meta
property=
"og:description"
content=
"The news reader that doesn't know you"
>
<meta
property=
"og:description"
content=
"The news / RSS reader that doesn't know you"
>
<meta
name=
”twitter:creator”
content=
”@yassinphilip”
>
<meta
name=
"description"
content=
"The news reader that doesn't know you"
/>
<meta
property=
"og:image"
content=
"https://
framagit.org/yphil/assets/-/raw/main/img/petrolette
.png"
>
<meta
property=
"og:image"
content=
"https://
yphil.bitbucket.io/images/misc/petrolette-screenshot
.png"
>
<meta
property=
"og:url"
content=
"http://petrolette.space"
>
<meta
name=
"twitter:card"
content=
"summary_large_image"
>
...
...
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