Keeping myself busy, seeing what the wonderful people on Twitter were up to, I came across a fantastic premise… cartoons from The New Yorker could be coupled with comments from the Daily Mail to create brand new cartoons.
It’s a great idea with so much potential, just ripe for being turned into a bot.
Ten minutes later, I had scrabbled together some scruffy code using Tracery, and The Daily Mailer was born.
This is brilliant! You've inspired me to write a bot, @The_DailyMailer. I'm still adding DM comments (pray for me), and when I've got enough, I'll set it to post automatically. For now, I've manually posted a few as tests, like this one…https://t.co/GgVuGJ5p9t
— Everyone's Favourite Jim (@JimmerUK) March 28, 2020
If you want an idea of how Tracery works, have a read through how I built my first bot – Twitterbots, or how I learned to code and annoy the web.
Pulling in the cartoons themselves was easy. Cleverer people than I had already written the code that pulls from the TNY cartoon api and turns it into something that Tracery can use. – https://glitch.com/~new-yorker-cartoon-url Nice.
The bot then chooses a TNY cartoon at random and pairs it with a random comment from a list. Building the template on top that was just a case of sticking in some basic HTML to format the thing and Robert is indeed your mother’s brother.
The most difficult part of this project was actually having to delve into the bottom half of the Mail Online and suffer what their readers have to say about current events. It’s scary to think that there are genuinely people out there who have these sort of opinions. It makes you wonder how they function on a day-to-day basis in the outside world. But comedy can be found in the strangest of places.
After I got a list of about a hundred awful comments, The Daily Mailer was set live to publish every hour.
Once that was done, it was then just a case of tweaking things, tidying up the code, making it more presentable, and adding the logo and tag incase they went wide. With a few suggestions from Twitter chums, I also added a quick explainer and source/date for each caption.
Nearly every day, I visit the comment areas for the Daily Mail including their own new website, various Twitter accounts, and the Facebook page – the Mos Eisley of the internet. As of writing, there are now almost 500 comments in the list.
All of the comments are genuine, after a few days I started collecting URLs of the pages I’ve scoured. I do take extracts for brevity and correct some spelling and grammar to make them easier to read, unless this adds to the comedy value.
Sometimes the concept works, sometimes it doesn’t – especially if there is existing text in the comic (these often get deleted), but sometimes – when the stars align – serendipity produces something amazing.
Here are some of my favourites:
"You are as irritating as Markle and the Beckhams" pic.twitter.com/GQT2uaqoso
— The Daily Mailer (@The_DailyMailer) April 7, 2020
"I might aswell start writing articles and calling myself an expert." pic.twitter.com/C3gAXJFjXy
— The Daily Mailer (@The_DailyMailer) April 6, 2020
"Facebook is the only place now where we can get the facts we want." pic.twitter.com/z81iCywwau
— The Daily Mailer (@The_DailyMailer) April 6, 2020
"This is a good time to re-evaluate how and where you spend time." pic.twitter.com/5egEkDS7Vr
— The Daily Mailer (@The_DailyMailer) April 2, 2020
"WE'RE ALL GOING TO DIE!!!" pic.twitter.com/wdUpnt4P8W
— The Daily Mailer (@The_DailyMailer) April 1, 2020
"So this is ho the royal family pays us back for 1776!?" pic.twitter.com/R2HcHgdFcH
— The Daily Mailer (@The_DailyMailer) March 31, 2020
There are plans to bring it to Facebook and Instagram, but because I’m incredibly lazy, I’m looking to automate the whole thing, and Facebook doesn’t play nicely with other social networks. I’ll hopefully get it figured out soon, so watch this space.














Hi
Has this been switched off now, or blocked at source? It hasn’t updated in a while.
Sorry, didn’t see this for two months. Haven’t been into the backend of my site for ages.
Yes, It did get turned off. There was something wrong with the API that it wasn’t pulling pictures anymore and I didn’t have time to look into it until the other week. All up and running now though 🙂