RSS/Atom feed manager library.
Leolo is a RSS/Atom feed manager library. It allows you to:
- Add/Edit a list of feeds.
- Get any content from feeds:
- Feed title.
- Feed url.
- Feed’s last update.
- Feed’s new entries:
- Entry title.
- Entry link.
- Entry content.
- Entry enclosures.
- Entry links (included in content).
- Filter new entries.
- Python 2.6
There is more than one way to do this:
In Debian/Ubuntu with root access
$ sudo apt-get install python-sqlalchemy python-pyparsing python-feedparser python-sqlite
If you have root access, then you can do:
$ sudo easy_install feedparser pyparsing pysqlite SQLAlchemy
If you haven’t, make sure you set a valid –install-dir which is also in your PYTHONPATH:
$ easy_install –install-dir=$HOME/lib/python feedparser pyparsing pysqlite SQLAlchemy
First, download the source code from the official page: http://github.com/Menda/Leolo
$ sudo python setup.py install
$ python setup.py install –home=$HOME
If installation was successful, configure the ‘’settings.py’’ file.
Unfortunatelly, there isn’t a ‘’python setup.py uninstall’’, you have to do it manually.
Go to the place where you installed the application - e.g. $HOME/lib/python - and delete the .egg file(s) and the line which points at it in ‘’easy-install.pth’’.
Take a look to the examples directory to have an idea of how to use this library.