News mirror path

main
Bob Mottram 2020-10-19 22:19:22 +01:00
parent b9fc4bbf6e
commit 3e08f63cdb
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
mirrored = item[7]
postUrl = url
if mirrored and '://' in url:
postUrl = '/newsmirror/' + url.split('://')[1]
postUrl = '/newsmirror/' + statusNumber + '/' + url.split('://')[1]
# add the off-site link to the description
if rssDescription and not dangerousMarkup(rssDescription):