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
the expected response.
- feedcache/cache.py (Cache.purge): Add a method to clear old
content from the cache.
- feedcache/test_server.py (TestHTTPHandler): Use a separate
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
for redirect handling.
- feedcache/cache.py (Cache.fetch): Update docstring to explain
how redirected URLs are handled.