feedcache - 1.3

Wrapper for the Universal Feed Parser which caches the results

A class to wrap Mark Pilgrim's Universal Feed Parser module so that parameters can be used to cache the feed results locally instead of fetching the feed every time it is requested. Uses both etag and modified times for caching. The cache is parameterized to use different backend storage options.

Released: Sun Nov 25 11:08:10 2007
Download: Download version 1.3
Bug Reports and Source Code: http://bitbucket.org/dhellmann/feedcache/

Supports purging cache contents, based on a suggestion by Thomas Perl.

Changelog

2007-11-25 Doug Hellmann

  • feedcache/test_server.py (TestHTTPServer.__init__): Initialize

System Message: WARNING/2 (<string>, line 4)

Bullet list ends without a blank line; unexpected unindent.

the expected response.

  • feedcache/cache.py (Cache.purge): Add a method to clear old

System Message: WARNING/2 (<string>, line 7)

Bullet list ends without a blank line; unexpected unindent.

content from the cache.

  • feedcache/test_server.py (TestHTTPHandler): Use a separate

System Message: WARNING/2 (<string>, line 10)

Bullet list ends without a blank line; unexpected unindent.

method for handling each response code so we can have different behaviors based on what the test wants returned.

  • feedcache/test_cache.py (CacheRedirectHandlingTest): Add tests

System Message: WARNING/2 (<string>, line 14)

Bullet list ends without a blank line; unexpected unindent.

for redirect handling.

  • feedcache/cache.py (Cache.fetch): Update docstring to explain

System Message: WARNING/2 (<string>, line 17)

Bullet list ends without a blank line; unexpected unindent.

how redirected URLs are handled.

Bookmark and Share