SW_DevNews - fablab-wue/piTelex GitHub Wiki

Device Module "News"

Description

The news device monitors a configurable directory for new and changed files and prints the content of such files at the teleprinter. The files should contain pure ASCII text without attributes (e.g. bold, underline ...). The closer to the printing capabilities of a teleprinter, the better.

It is also useful e.g. 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. For use in conjunction with rssFileWriter.py, be careful to specify the same pathname as for the rssFileWriter.py output files.

System

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

Dependencies

PythonModule 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

Eample Config File snippet

       "news": {
            "type": "news",
            "enable": false,
            "newspath": "/home/pi/piTelex/RSS-feed/news/"
          },