return "%s_%s.cache" % (title.replace(' ', '_'), feed.replace(' ', '_').replace('http://', '').replace('/', '_'))
def storeBlog(self, blog):
- name = self.__create_name__(blog.blogTitle, blog.feedURL)
+ name = self.__create_name__(blog.blogName, blog.feedURL)
# write the blog to disk
try:
cPickle.dump(blog, open(os.path.join('cache', name), 'w'))
+2004-03-22
+==========
+ * CacheHandler.py
+ Fixed glitch caused by previous changes.
+ * FOAFWriter.py
+ XML mistake, oops.
+
2004-03-20
==========
* update-planet, XMLWriter.py, XHTMLWriter.py, RSS1Writer.py, RSS2Writer.py,
output += ' <foaf:Agent>\n'
output += ' <foaf:name>%s</foaf:name>\n' % blog.blogName
output += ' <foaf:weblog>\n'
- output += ' <foaf:Document rdf:about="%s" />\n' % blog.blogURL
+ output += ' <foaf:Document rdf:about="%s">\n' % blog.blogURL
output += ' <dc:title>%s</dc:title>\n' % blog.blogTitle
output += ' <rdfs:seeAlso>\n'
output += ' <rss:channel rdf:about="%s" />\n' % blog.feedURL