Public
Readme
fetch the contents of the Wikipedia "On this day in history" page. defaults to JSON output, but specify ?format=text
or ?format=html
for other outputs. e.g.
- https://jamiedubs-wikipediatoday.web.val.run/?format=json
- https://jamiedubs-wikipediatoday.web.val.run/?format=text
- https://jamiedubs-wikipediatoday.web.val.run/?format=html
#wikipedia
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
jamiedubs-wikipediatoday.web.val.run
Updated: August 14, 2024
Why does the wikipedia link show a page for July 20th (it's July 25th)? Come on wikipedia! :-)
@andrewn huh! Looks like they might've renamed it to "Selected Anniversaries" and July 20th was the last entry?! very annoying
Looks they've switched the Main_Page to transclude from a URL like:
{{Wikipedia:Selected anniversaries/{{#time:F j}}}}
sorta fixed now. including too much content! All events, births & deaths on that date. I only want Events but having trouble getting Cheerio to behave and ran out of time :)