Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikweb
Commits
cb21673a
Commit
cb21673a
authored
May 27, 2017
by
fred
Browse files
use full URL for feed images
parent
72d04edf
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb/views.py
View file @
cb21673a
...
...
@@ -666,9 +666,9 @@ class RssCustomPodcastsFeed(Rss201rev2Feed):
else
:
handler
.
addQuickElement
(
'title'
,
'Radio Panik'
)
if
emission
and
emission
.
image
and
emission
.
image
.
url
:
handler
.
addQuickElement
(
'url'
,
emission
.
image
.
url
)
handler
.
addQuickElement
(
'url'
,
urlparse
.
urljoin
(
self
.
feed
[
'link'
],
emission
.
image
.
url
)
)
else
:
handler
.
addQuickElement
(
'url'
,
'/static/img/logo-panik-500.png'
)
handler
.
addQuickElement
(
'url'
,
urlparse
.
urljoin
(
self
.
feed
[
'link'
],
'/static/img/logo-panik-500.png'
)
)
handler
.
endElement
(
'image'
)
def
root_attributes
(
self
):
...
...
Write
Preview
Markdown
is supported
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