SW_DevRSS - fablab-wue/piTelex GitHub Wiki

Device Module "RSS"

Description

The news device monitors configurable URLs of RSS services for new entries and prints new entries at the teleprinter.

System

System Comments
RPi
PC Linux
PC Windows
Mac

Dependencies

PythonModule Install Anaconda
feedparser pip install feedparser -

Command Line Arguments

none

Config File Parameter

Param Default Description
urls '' URLs to be monitored, one per line
format '' Formatting rules, see feedparser documentation
    "rss" : {
      "type" : "rss",
      "urls" : [
        "http://rss.cnn.com/rss/edition.rss",
        "http://another.rss.site/"
      ],
      "format" : "{title}\r\n\r\n{description}\r\n{pubDate}\r\n{guid}\r\r---\r\n",
      "enable" : true
    }