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.3.tar.gz (11.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for atomisator.main-0.2.3.tar.gz
Algorithm Hash digest
SHA256 4dfb57da62263c3fef2473a091f6141342ef3cdb6569702b018cd8ca543d91b8
MD5 fcf233eae8fcc762a619aefb39d8024b
BLAKE2b-256 d45e8d5c360254eb7448acc4924893f2add9b055ddcec585d2a3ebb5c86cd50b

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