Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atomisator.main-0.2.4.tar.gz (11.7 kB view details)

Uploaded Source

File details

Details for the file atomisator.main-0.2.4.tar.gz.

File metadata

File hashes

Hashes for atomisator.main-0.2.4.tar.gz
Algorithm Hash digest
SHA256 6cbcbbc6e90cbdf8d61c85b88c29b36d96718b6e9631edfd02455f32bc5de3ca
MD5 5335520d8906313c69f39f56afdfc1c0
BLAKE2b-256 f79260f96f6bc61d369b68e07681e4c89029e884cc168691b64c14396020e0f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page