fix rss mismatches

This commit is contained in:
Cyrille L 2023-03-13 13:01:00 +01:00
parent 78b4af6914
commit a7397a09e0
1 changed files with 3 additions and 4 deletions

View File

@ -48,7 +48,7 @@ def create_feed():
' <lastBuildDate>%s</lastBuildDate>\n'%tyto.nowdate() + \
' <copyright>%s</copyright>\n'%db.domain_license + \
' <webMaster>%s</webMaster>\n'%db.domain_mail + \
' <generator>%s/generator>'%tyto.Tyto
' <generator>%s</generator>'%tyto.Tyto
rss_item = False
# Loop published articles. Get databases of articles
@ -86,10 +86,9 @@ def create_feed():
set_f = \
'%s\n'%set_f + \
' </chanel>\n' + \
' </channel>\n' + \
'</rss>'
tyto.set_file(db.www_rss, 'New', set_f)
logs.out("33", db.www_rss, False)
print('')
print(set_f)