namespace = {
"title": "Oleg Broytmann's Personal Page - News",
- "baseURL": "http://phd.pp.ru/news.html",
+ "baseURL": "http://phd.pp.ru",
"description": "",
"lang": lang,
"author": "Oleg Broytmann",
"posts": news_items,
}
+if lang == "ru":
+ namespace["title"] = "Oleg Broytmann's Personal Page - Russian News"
+ namespace["baseURL"] = "http://phd.pp.ru/Russian"
+
atom_tmpl = str(atom_10(searchList=[namespace]))
write_if_changed(os.path.join(root, "atom_10.xml"), atom_tmpl)
rss_tmpl = str(rss_20(searchList=[namespace]))