1. Adam Gomaa
  2. django-kindle-aggregator


django-kindle-aggregator /

Filename Size Date modified Message
1.3 KB
436 B
``django-kindle-aggregator`` is an application styled after

It's implemented as a Django project.


 * Django_ 1.0
 * `Universal Feed Parser`_
 * `django-authopenid`_
 * opml_ for OPML imports
 * httplib2_

.. _Django: http://www.djangoproject.com/
.. _Universal Feed Parser: http://feedparser.org/
.. _django-authopenid: http://code.google.com/p/django-authopenid/
.. _opml: http://pypi.python.org/pypi/opml
.. _httplib2: http://code.google.com/p/httplib2/


    Update all feeds that need an update.

    For all feeds with a data set of sufficient size, estimate how
    often the feed should be queried and set the feed's
    ``refresh_interval`` attribute.

    Update the ``num_subscribers`` attribute on all Feed objects.

All of these should probably be put into a cron job. ``update_feeds``
should be set to run every minute - it will only take action when
there's a feed awaiting update. ``calculate_refresh_interval`` should
likely be run weekly or so, while ``denormalize_subscribers`` should
be run hourly or daily.


    Default number of seconds that each feed should be updated. Default of 1 hour.