Skip to content
Very Simple Planet Aggregator
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates
.gitignore
COPYING
README.md
fetch.py
generate.py
init.py
requirements.txt

README.md

Very Simple Planet Aggregator

As Venus is Python 2 only I decided that I need something else to run my Developer's Planet aggregator.

This is the result of few hours of playing with FeedParser and Jinja2.

Usage

Run init.py planet.ini to create database and import feeds from Venus config file.

Next step is fetch.py which will connect to each feed and fetch it. First eight posts add then added to database. If server responds with HTTP 301 then address will be updated. ETag and last modified date are stored in database and used if present - adding '--force' to script will make it forget about them during run.

Last step is generate.py - it loads 'templates/index.html.j2' file and outputs result.

You can’t perform that action at this time.