fix rss mismatches
This commit is contained in:
parent
78b4af6914
commit
a7397a09e0
|
@ -48,7 +48,7 @@ def create_feed():
|
||||||
' <lastBuildDate>%s</lastBuildDate>\n'%tyto.nowdate() + \
|
' <lastBuildDate>%s</lastBuildDate>\n'%tyto.nowdate() + \
|
||||||
' <copyright>%s</copyright>\n'%db.domain_license + \
|
' <copyright>%s</copyright>\n'%db.domain_license + \
|
||||||
' <webMaster>%s</webMaster>\n'%db.domain_mail + \
|
' <webMaster>%s</webMaster>\n'%db.domain_mail + \
|
||||||
' <generator>%s/generator>'%tyto.Tyto
|
' <generator>%s</generator>'%tyto.Tyto
|
||||||
|
|
||||||
rss_item = False
|
rss_item = False
|
||||||
# Loop published articles. Get databases of articles
|
# Loop published articles. Get databases of articles
|
||||||
|
@ -86,10 +86,9 @@ def create_feed():
|
||||||
|
|
||||||
set_f = \
|
set_f = \
|
||||||
'%s\n'%set_f + \
|
'%s\n'%set_f + \
|
||||||
' </chanel>\n' + \
|
' </channel>\n' + \
|
||||||
'</rss>'
|
'</rss>'
|
||||||
|
|
||||||
tyto.set_file(db.www_rss, 'New', set_f)
|
tyto.set_file(db.www_rss, 'New', set_f)
|
||||||
logs.out("33", db.www_rss, False)
|
logs.out("33", db.www_rss, False)
|
||||||
print('')
|
|
||||||
print(set_f)
|
|
||||||
|
|
Loading…
Reference in New Issue