Summary:

Let me know whenever Trevor posts a 30DoC writeup, to amp up the competition.

Materials:

  • IFTTT Account
  • Ghost Blog w/ RSS API enabled
  • Email/Phone number/IFTTT App

Process:

The idea is pretty straightforward. First, we need to listen for changes to an RSS feed. Then, use some method to filter the RSS feed so it doesn't notify us about our activity. If the activity is worth notifying us about, trigger some sort of notification - text, email, mobile notification, etc - to let us know.

The RSS API

Since this blog has an RSS API we're gonna use it. That's easier than writing a webcrawler. For ghost, the API is http://{blog.url}/rss.

rss

But it can do even more work for us. Using the author or tag options we can automatically filter on a specific tag or author feed. For example, to get only tags by an author, use the rss endpoint http://{blog.url}/author/{author_slug}/rss/.

Watching RSS with IFTTT

IFTTT makes RSS watching super easy. First, we create a new applet.

new_applet

Then we can use the RSS Feed input service to trigger on 'New feed item'.

rss_service

We want to trigger an event every time Trevor uploads, so I'll use his author rss feed.

rss_triggers

IFTTT Notification Methods

I want to get aggressive on-phone notifications, because I want to feel the losses personally. For the most impact, I'll use rich text notifications. These allow notifications to include images, titles, etc.

After selecting the Notifications service as our action service, select the 'Send a rich notification from the IFTTT app' trigger.

notifications_action_service

I want to select an appropriately pressure-inducing message for each part of the notification.

title_message

I also want to include the post's image, and a link so I can read it and feel badly and hopefully get started on my own code.

link_image

Testing

To Test I'll create a stub article and add Trevor as a co-author. This should trigger the IFTTT action when I publish it.

test_article

And it works!

phone

Further Use

Since this recipe is entirely contained within IFTTT, it's pretty easy to envision extra use cases. Get notified about your favorite blogger's posts, new tech articles, etc.

Since the article also explains rich notifications using the IFTTT app, this process can be extended using the IFTTT Webhhooks service to create a custom endpoint for generating notifications.