How-to Install

Download

Last release

Bleeding edge SVN

svn checkout http://svn.mathieu-leplatre.info/svn/uhm uhm

Dependencies

Check README file for a complete list of dependencies.

Extract libs folder at the same level than uhm-run

If you need online video extraction, install clive

Using your software repository

Verify that versions required are provided (e.g. django >= 1.0)

If you need online video extraction, install clive

First Run

$ cd uhm

$ ls -l
total 44
-rw-r--r-- 1 mat mat  481 2008-09-19 14:28 channel-example.xml
drwxr-xr-x 5 mat mat 4096 2008-09-19 15:06 libs
-rw-r--r-- 1 mat mat 1655 2008-09-19 15:06 README
-rw-r--r-- 1 mat mat  887 2008-09-19 15:06 setup.py
drwxr-xr-x 3 mat mat 4096 2008-09-19 15:09 uhm
-rwxr-xr-x 1 mat mat 3349 2008-09-19 14:28 uhm-run

$ ./uhm-run -v channel-example.xml
uhm         : DEBUG    Create missing configuration file from template
uhm         : DEBUG    Load configuration file 'uhm.conf'
uhm         : WARNING  Storage folder './public' does not exist. Create it.
uhm         : INFO     Load 'channel-example.xml'
uhm         : DEBUG    XML node type SourceRSS with id 'src rss'
uhm         : DEBUG    XML node parameter : url = http://domain/multiple.rss
uhm         : DEBUG    XML node option : download = False
...
...
...

Configure

Edit uhm.conf file to adjust parameters.

Create a channel

A channel is a XML file representing a workflow of nodes.

To list all available nodes types:

$ ./uhm-run --nodes-doc

Schedule your channel

Using cron :

Example, every hour :

$ crontab -e

0 * * * *   cd /home/you/uhm/ && ./uhm-run -v yourchannel.xml

Also available in: HTML TXT