Code

Various code downloads of current and old projects

Please note that this code comes at absolutely no warranties. It probably is not of a very high quality and you definitely need to know what you're doing to get it work.

Django code for tsonny.ch

These are the bits that power the web site yo're starring at. You should only have to change the settings.pyaggregator application (a straight copy from djangoproject.com), you must have the feedparser library installed.

Additionally, configure a cron job to regularly execute the python file under tsonny/aggregator/bin/. It's very likely that you first need to append your Django project folder to the Python path:

 export PYTHONPATH=$PYTHONPATH:/path/to/your/django/projects

Then, give the path to your settings file as an argument to the aggregator script like so:

python /home/norbert/django/tsonny/aggregator/bin/update_feeds.py --settings=tsonny.settings

Download

tsonny.zip