-#! /usr/local/bin/python -O
+#! /usr/bin/env python
# -*- coding: koi8-r -*-
__version__ = "$Revision$"[11:-2]
__revision__ = "$Id$"[5:-2]
__date__ = "$Date$"[7:-2]
-__author__ = "Oleg BroytMann <phd@phd.pp.ru>"
-__copyright__ = "Copyright (C) 2006 PhiloSoft Design"
+__author__ = "Oleg Broytman <phd@phd.pp.ru>"
+__copyright__ = "Copyright (C) 2006-2009 PhiloSoft Design"
import sys, os
from rss_20 import rss_20
namespace = {
- "title": "Oleg Broytmann's Personal Page - News",
+ "title": "Oleg Broytman's Personal Page - News",
"baseURL": "http://phd.pp.ru/",
"indexFile": "news.html",
"description": "",
"lang": lang,
- "author": "Oleg Broytmann",
+ "author": "Oleg Broytman",
"email": "phd@phd.pp.ru",
+ "generator": os.path.basename(sys.argv[0]),
"posts": news_items,
}
if lang == "ru":
- namespace["title"] = "Oleg Broytmann's Personal Page - Russian News"
+ namespace["title"] = "Oleg Broytman's Personal Page - Russian News"
namespace["baseURL"] = baseURL = "http://phd.pp.ru/Russian/"
for item in news_items:
item.baseURL = baseURL