Add index

main
Bob Mottram 2020-10-19 23:17:06 +01:00
parent bddb7495d5
commit 5297eb1b64
1 changed files with 2 additions and 1 deletions

View File

@ -491,7 +491,8 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
mirrored = item[7]
postUrl = 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
if rssDescription and not dangerousMarkup(rssDescription):