X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=make-news.py;h=19ed93e2710b046c49867442bdbe0f0d63c0847e;hb=42465be8abac2fdb32c939bc7e5ad0fbca5df2f8;hp=e0779cf28e51e65c3ef7f369c74a4763aed8af0e;hpb=5f9cc4c82b2cb603968c843ea3a37c9aad82d4e6;p=phdru.name%2Fphdru.name.git diff --git a/make-news.py b/make-news.py index e0779cf..19ed93e 100755 --- a/make-news.py +++ b/make-news.py @@ -4,7 +4,7 @@ __version__ = "$Revision$"[11:-2] __revision__ = "$Id$"[5:-2] __date__ = "$Date$"[7:-2] -__author__ = "Oleg Broytman " +__author__ = "Oleg Broytman " __copyright__ = "Copyright (C) 2006-2009 PhiloSoft Design" @@ -51,7 +51,7 @@ elif lang == "ru": new_text.append("""\

#end def -$phd_pp_ru.respond(self) +$phd_site.respond(self) """) write_if_changed(os.path.join(root, "news.tmpl"), ''.join(new_text)) @@ -62,19 +62,19 @@ from rss_20 import rss_20 namespace = { "title": "Oleg Broytman's Personal Page - News", - "baseURL": "http://phd.pp.ru/", + "baseURL": "http://phdru.name/", "indexFile": "news.html", "description": "", "lang": lang, "author": "Oleg Broytman", - "email": "phd@phd.pp.ru", + "email": "phd@phdru.name", "generator": os.path.basename(sys.argv[0]), "posts": news_items, } if lang == "ru": namespace["title"] = "Oleg Broytman's Personal Page - Russian News" - namespace["baseURL"] = baseURL = "http://phd.pp.ru/Russian/" + namespace["baseURL"] = baseURL = "http://phdru.name/Russian/" for item in news_items: item.baseURL = baseURL