danmermel / cryptario

Cryptic crossword solver
0 stars 0 forks source link

Anagram of the day #127

Open glynnbird opened 3 years ago

glynnbird commented 3 years ago

The aim is to create more "content" by having a daily "Anagram of the day" containing:

This would be published as a Jekyll static blog and served out from GitHub Pages. Our home page could have links to the last 5 anagrams of the day pages and each page would link to the "previous" & "next" anagram of the day, so that the whole site is indexable.

To publish a page each day we'd have to script a "commit" to the cryptariofront repo every day. I would suggest having at least a month's worth of anagrams ready to go in a CSV file somewhere.

date anagram clue solution
2020-08-01 A Flirty Swot US Singer, born 1989 Taylor Swift
2020-08-02 I need job US politician. Joe Biden

A cron would run, find today's anagram and write a new entry into the Jekyll _posts directory and commit the change. A few minutes later it could also tweet the anagram of the day from a Twitter account.

We would regularly top-up the anagram CSV file with fresh content so that publication could be automatic.