forked from indymedia/epicyon
Add index
parent
bddb7495d5
commit
5297eb1b64
|
@ -491,7 +491,8 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
|
||||||
mirrored = item[7]
|
mirrored = item[7]
|
||||||
postUrl = url
|
postUrl = url
|
||||||
if mirrored and '://' in url:
|
if mirrored and '://' in url:
|
||||||
postUrl = '/newsmirror/' + statusNumber + '/' + url.split('://')[1]
|
postUrl = '/newsmirror/' + statusNumber + '/' + \
|
||||||
|
url.split('://')[1] + '/index.html'
|
||||||
|
|
||||||
# add the off-site link to the description
|
# add the off-site link to the description
|
||||||
if rssDescription and not dangerousMarkup(rssDescription):
|
if rssDescription and not dangerousMarkup(rssDescription):
|
||||||
|
|
Loading…
Reference in New Issue