from news import NewsItem
if blog_root:
- baseURL = "http://phdru.name/%s/" % blog_root
+ blog_root_url = blog_root[
+ blog_root.find('/htdocs/phdru.name/') + len('/htdocs/phdru.name/'):]
+ baseURL = "http://phdru.name/%s/" % blog_root_url
else:
baseURL = "http://phdru.name/"