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