+ output += '<div class="header">\n'
+ try:
+ output += open('header.html').read()
+ except:
+ pass
+ output += '</div>\n'
+ output += '<div class="sidebar">\n'
+ try:
+ output += open('sidebar.html').read()
+ except:
+ pass
+ output += '<h2>Last Updated</h2>\n'
+ output += '<p>\n'
+ output += '%s\n' % time.strftime('%A %B %d, %Y %H:%M AWST', time.localtime())
+ output += '</p>\n'
+ if self.parent:
+ output += '<h2>Feeds</h2>\n'
+ output += '<p>\n'
+ for blog in self.parent.blogs:
+ output += '<a href="%s">%s</a><br />\n' % (blog.blogURL, blog.blogTitle)
+ output += '</p>\n'
+ output += '</div>\n'
+ output += '<div class="items">\n'