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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for atomisator.main-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7038f8ebba11f68c823a57077993d8a7de2b1640994292e0c58bf9f821620d4d
MD5 f3e62ce3d493f0c0bd2c413b4b4b2483
BLAKE2b-256 0d2a47235eedab5cf80a8ab292a8cebc8f80803a37da028a8750f910048cff2a

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