Remaining bug with URLs in RSS feed

This commit is contained in:
Phyks 2014-07-17 23:50:26 +02:00
parent 24cb3a9182
commit e63bf27c2f

View File

@ -832,8 +832,8 @@ for i, article in enumerate(["gen/"+x[4:-5]+".gen" for x in last_articles]):
"\t\t\t<content:encoded><![CDATA[" + "\t\t\t<content:encoded><![CDATA[" +
replace_tags(get_text_rss(content), replace_tags(get_text_rss(content),
search_list, search_list,
replace_list).replace(params['BLOG_URL'], replace_list).replace('"'+params['BLOG_URL'],
params['BLOG_URL_RSS']) + '"'+params['BLOG_URL_RSS']) +
"]]></content:encoded>\n" + "]]></content:encoded>\n" +
"\t\t\t<pubDate>"+date_rss+"</pubDate>\n" + "\t\t\t<pubDate>"+date_rss+"</pubDate>\n" +
("\n".join(["\t\t\t<category>" + i.strip() + "</category>" ("\n".join(["\t\t\t<category>" + i.strip() + "</category>"