MagicMirror² module that shows Celtic FC "On This Day" historical events. Author: gitgitaway
Source: The Celtic Wiki — https://www.thecelticwiki.com/
- This site’s aim is to create the most comprehensive internet guide to Celtic FC, a football team based in Glasgow, Scotland.
- They hope to have everything that you won’t find on other Celtic sites, official or unofficial.
- Fetches daily historical events from The Celtic Wiki.
- Ticker-style single line display suited for
bottom_bar
region. - Shows year when available, configurable item limit and separator.
- Robust parsing with daily caching in node_helper.
- Navigate to your MagicMirror modules directory.
cd MagicMirror/modules
- Clone the module
git clone https://github.com/gitgitaway/MMM-Celtic-OnThisDay.git
- Install dependencies:
cd modules/MMM-Celtic-OnThisDay
npm install
Add to your config/config.js
:
{
module: "MMM-Celtic-OnThisDay",
position: "bottom_bar",
header: "On This Day",
config: {
updateInterval: 60 * 60 * 1000, // hourly frontend refresh request
maxItems: 5,
showYear: true,
bulletSeparator: " • ",
sourceLink: true,
sourceAtEnd: true
}
}
- Data courtesy of The Celtic Wiki — https://www.thecelticwiki.com/
- HTML structure of the source website may change. The parser aims to be resilient, but if items do not appear, check logs and open an issue.
- No data is stored locally on the mirror.
- All external content is credited with a link to the source.
This is the 5th module in my Celtic themed man cave magicmirror.
-The other modules can be found here:-
- Module 1: https://github.com/gitgitaway/MMM-MyTeams-Clock
- Module 2: https://github.com/gitgitaway/MMM-MyTeams-LeagueTable
- Module 3: https://github.com/gitgitaway/MMM-MyTeams-Fixtures
- Module 4: https://github.com/gitgitaway/MMM-JukeBox
MIT License