teletekst
This is a NodeJS/Express based webpage that generates a text view of a Teletekst page, including a few controls to select a page and subpage.
The data is extracted from a JSON file from https://nos.nl/teletekst webpage, or from a gif or png file. The result can be viewed at https://teletekst-display.herokuapp.com/tt. The image parsing of teletekst image pages is inspired on the php functions by https://github.com/rhuijben/tt-parser.
New local Teletext broadcaster
Updated the rendering to JSON and teletext images from local broadcastting stations. Included are:
*NOS Teletekst
*TV Rijnmond Tekst (_sadly they recently stopped using teletext_)
*InfoThuis
*Omroep West
*Omroep Gelderland
*Omroep L1mburg
*Omroep Brabant
*RTV Oost
*RTV Drenthe
Testing
To debug and find new character hashes use the testimg.js or testgif.js javascript file an pipe the output to a etx file. In the testimg.js alter the url with the teletext page image (a png-file in this case) For example, execute the following command on the commandline:
nodejs testimg > unknownhash.txt
All known characters will be ignored, the unknown ones will be exported into the text file with their posititon and hash. On the position the unknown character was found a = sign fill be put in the teletext text.
JSON output
The ttj.js will generate a JSON object to be used for example in a Arduino to show teletext messages like news or plane arrivals on Schiphol.