add XML domain base, maybe for relative URLs
1 files changed, 1 insertions(+), 0 deletions(-) M quiescent/feed.py
M quiescent/feed.py +1 -0
@@ 26,6 26,7 @@ ET.register_namespace('', 'http://www.w3 def _feed(all_posts, date=None, name=None, domain=None, feed_link=None, feed_author=None): _feed = ET.Element('{http://www.w3.org/2005/Atom}feed') + _feed.attrib['xml:base'] = domain title = ET.SubElement(_feed, 'title') title.text = name link = ET.SubElement(_feed, 'link')