GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nowster/ceefax: Python3 implementation of CEEFAX page generator from online content

BranchesTags
Open more actions menu

Latest commit

 

History

118 Commits
118 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bbcents.py
bbcents.py
 
 
bbcnews.py
bbcnews.py
 
 
bbcparse.py
bbcparse.py
 
 
bbcsport.py
bbcsport.py
 
 
config.py
config.py
 
 
defaults.yaml
defaults.yaml
 
 
fetch.py
fetch.py
 
 
local.yaml
local.yaml
 
 
makeceefax.py
makeceefax.py
 
 
metoffer.py
metoffer.py
 
 
names.py
names.py
 
 
newsheaders.py
newsheaders.py
 
 
newsreel.py
newsreel.py
 
 
rss.py
rss.py
 
 
ttxcolour.py
ttxcolour.py
 
 
ttxpage.py
ttxpage.py
 
 
ttxutils.py
ttxutils.py
 
 
weather.py
weather.py
 
 
weathermap.py
weathermap.py
 
 
wx_gen_ids.py
wx_gen_ids.py
 
 
wx_ids.py
wx_ids.py
 
 

Repository files navigation

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: kata198/AdvancedHTMLParser#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

  • vbit2
  • raspi-teletext
  • set_overscan
  • Raspberry Pi composite cables

About

Python3 implementation of CEEFAX page generator from online content

Topics

ceefaxpython3raspberry-piteletext

Resources

Readme
GPL-3.0 license
Activity

Stars

8 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.