SkillAgentSearch skills...

Ceefax

Python3 implementation of CEEFAX page generator from online content

Install / Use

/learn @nowster/Ceefax
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CEEFAX

This is a set of Python3 scripts which generate a Ceefax-like teletext service from the following websites:

  • BBC News
  • BBC Sport
  • UK Met Office

It can be configured using the YAML file defaults.yaml.

The output is in the "Viewdata escaped" version of the TTI file format.

Modules required to use

  • dateutil, to parse dates from feeds

    sudo apt install python3-dateutil
    
  • AdvancedHTMLParser, to extract information from HTML pages

    pip3 install AdvancedHTMLParser
    

    NB. There's a bug in AdvancedHTMLParser: https://github.com/kata198/AdvancedHTMLParser/pull/12

    Run

    pico +1272 ~/.local/lib/python3.7/site-packages/AdvancedHTMLParser/Parser.py
    

    and change "self.useIndex" to "useIndex".

  • CacheControl, to cache fetched pages. Filecache stores the contents in the fileystem

    pip3 install CacheControl[filecache]
    
  • feedparser, to fetch and parse RSS feeds.

    pip3 install feedparser
    
  • PyYAML, to read the configuration file.

    pip3 install PyYAML
    
  • MetOffer. Fixed version included here as upstream version has bugs which haven't been fixed for 18 months.

Credits

I'm indebted to Nathan for originally writing makeceefax.php, and for his subsequent help and encouragement.

  • https://github.com/nat2001/makeceefax
  • https://www.nathanmediaservices.co.uk/projects/projects.php?link=files/makeceefax

Other resources

Teletext on the Raspberry Pi

View on GitHub
GitHub Stars8
CategoryContent
Updated1mo ago
Forks1

Languages

Python

Security Score

90/100

Audited on Feb 27, 2026

No findings