Skip to content

SW_DevNews

Rolf Obrecht edited this page Jun 21, 2023 · 13 revisions

Device Module "News"

Description

The news device monitors a configurable directory for new entries and prints the content of such files at the teleprinter. It is only useful in conjunction with the tool rssFileWriter.py from the RSS subdirectory which collects and provides printable files for the news module from configurable RSS-feeds. Be careful to specify the same pathname as for rssFileWriter.py.

System

System Comments
RPi OK
PC Linux OK
PC Windows OK
Mac OK

Dependencies

Python
Module
Install Anaconda
watchdog pip install watchdog -

Command Line Arguments

-N PATH
--news PATH

Config File Parameter

Param Default Description
pathname 'news' Directory to be monitored for printable files
       "news": {
            "type": "news",
            "enable": false,
            "newspath": "/home/pi/piTelex/RSS-feed/news/"
          },      

Implementation

TODO

Clone this wiki locally