Expert Python Programming - Main package for Atomisator app
Project description
This package is part of the Expert Python Programming book written by Tarek Ziadé.
For more information, go to http://atomisator.ziade.org
Atomisator merge several feeds into on single feed, storing entries in a database to avoid doublons.
To use it, create an atomisator.cfg file somewhere, using the -c option:
$ atomisator -c atomisator.cfg
A default configuration file will be generated, that looks like this:
[atomisator] # put here the feeds you wish to parse sites = rss http://tarekziade.wordpress.com/atom rss http://digg.com/rss2.xml # put here the database location database = sqlite:///atomisator.db # this is the file that will be generated file = atomisator.xml # infos that will appear in the generated feed. title = meta description = Automatic feed created by Atomisator. link = http://atomisator.ziade.org/example
You can then call the atomisator tool using this file with the -f option:
$ atomisator -f /path/to/atomisator.cfg
You can specify the path as a free argument as well:
$ atomisator /path/to/atomisator.cfg
It will generate the atomisator.xml file, after reading the sources.
You can also call separately the process that fills the database:
$ atomisator -r -f /path/to/atomisator.cfg
In this case the feed generation will not occur.
The -g option can be used to generate the xml file on its own:
$ atomisator -g -f /path/to/atomisator.cfg
This is useful to read sources and generate the feed within different process and different time basis.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file atomisator.main-0.2.2.tar.gz
.
File metadata
- Download URL: atomisator.main-0.2.2.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8044b5f1ba34cae93d85b23b25bc377bd3e46d41d27d0bab7ca58564ed296273 |
|
MD5 | 93e30ecd75e7288d0a0e6779077460e6 |
|
BLAKE2b-256 | 5f4798a2bc83604dba54574802023197ce0cb632cb4a0271d2f00a8f55c99c7e |