template=jinja2.Template(open("template.rss").read())# self.feedtemplate would be useful to have in the conf
template=jinja2.Template(open("template.rss").read())# self.feedtemplate would be useful to have in the conf
withopen(feed_path,"w")asout:
withopen(feed_path,"w")asout:
feed=template.render(
feed=template.render(
log_path=os.path.join("https://vvvvvvaria.org/logs/",folder_name,"index.html"),# hardcoding the url now, self.baseurl would be helpful to have in the conf
log_path=os.path.join("https://vvvvvvaria.org/logs/",folder_name,"index.html"),# hardcoding the url now, self.baseurl would be helpful to have in the conf
feed_path=os.path.join("https://vvvvvvaria.org/logs/",folder_name,"feed.rss"),# hardcoding the url again
feed_path=os.path.join("https://vvvvvvaria.org/logs/",folder_name,"feed.rss.xml"),# hardcoding the url again
title=self.db[message.room]["title"],
title=self.db[message.room]["title"],
db=self.db[message.room],
db=self.db[message.room],
date=date.strftime("%a, %d%b %Y %H:%M:%S +0100")# timezone is hardcoded now
date=date.strftime("%a, %d%b %Y %H:%M:%S +0100")# timezone is hardcoded now