RSS

Using Siftlinks and IFTTT to Aggregate Links From Your Twitter Timeline Into a Slack Channel

Ever wonder if there was an easy way to get the links people post to a Twitter timeline fed into a Slack channel? Wonder no more!

For this Rube Goldberg machine to work, you’ll need 3 components:

  • A Twitter account.
  • A Siftlinks account tied to your Twitter account. Siftlinks is a paid service that makes an RSS feed out of the links posted to your timeline (as well as an RSS feed of links from your Twitter favorites) and offers a 30-day free trial. After that it’s $10 a year. That’s 83.3 cents a month. Cheap cheap!
  • An IFTTT account.
  • A Slack team and a channel to post links to.

After following the instructions below, you get something looking like this screenshot my #links channel from a few minutes ago:

Screenshot of my #links channel in Slack.

Instructions

  1. Login to Siftlinks with your Twitter account.
  2. If you haven’t already, activate the Slack channel in IFTTT.
  3. Create a channel in Slack just for links incoming from Twitter. It might make sense to use an existing channel, but the large amount of links in my timeline doesn’t justify it, so I post to a separate #links channel that I dip my toes in every couple of hours.
  4. Create a new recipe in IFTTT.
  5. Select Feed as the trigger channel.
  6. Select “New feed item” as the trigger.
  7. Title the recipe “Filtered Siftlinks to Slack”
  8. Siftlinks provides the RSS feed for you to paste in at this point. It’s the URL in “Here’s the latest links in your Twitter feed. You access them via RSS by adding [your secret URL here to your RSS Reader.” message at the top of the screen in Siftlinks.
  9. For the Action, select the channel you want to post in.
  10. As the Message, use just {{EntryUrl}}.
  11. Leave the Title, Title URL, and Thumbnail URL fields blank. Slack will gather the title and some information about the link on its own.

At some point, Siftlinks promised to add a feature to filter out image links (pic.twitter.com, Instagram, etc.) and other URLs like Foursquare/Swarm and Untappd checkins. I couldn’t wait, so I use Yahoo! Pipes to filter out URLs that start with certain domains and used the RSS feed it produces in place of step #8. (That list is up to 16 domains, by the way.)

What this won’t show is who posted the link. That means you can evaluate whether you should click through based on its content, not who shared it.

Why not use Slack’s built-in RSS integration? That integration pulls in the metadata (like title and description) from the RSS feed itself. The metadata-gathering Slack does itself when presented with just a URL is much prettier.

I pull in a few other RSS feeds this way—i.e. using IFTTT—and have them post URLs to Slack channels, like a Talkwalker alerts feed for news about the game Ingress and an RSS feed I made out of Belong.io using XPath (I wasn’t the only one who did that). Slack is my second-favourite RSS aggregator these days1, a fun way to see what links get posted to my Twitter timeline without having to visit Twitter at all.

Previously:


Also published on Medium on May 14th, 2015.


  1. Reeder for both the Mac and iOS is my #1 fave at the moment. ↩︎

Like user's favorites and their comments on other people's photosl. All you need to know is how to hack URLs and find out a Flickr user's NSID.
RSS for all threads on the MetaFilter network
Not being able to follow comments to individual posts without visiting the HTML page was the thing that discouraged me from participating there. Now I might actually rejoin MeFi.
Solving feed overload
"Human filtering can work." Though at the end, Adam Kalsey worries about monoculture.
Flickr Camera Finder is good but not great: I want the river of Canon Rebel XTI photos so I can learn from those who have similar equipment to me.
My Google Reader shared items
The URL might change once I can use my Google Apps for Domains, but here are some of the things I'm too lazy to tell you why I think they're interesting.
Aggregator of writing and photos about China
Similar to Watching China's aggregator, except the feeds have partial content and it's not obvious how to directly subscribe to each source's feed.
Michel-Adrien notes the Canadian Parliament's interesting use of RSS
Each bill has a feed, and you can watch in your aggregator as the bill progresses through each stage.

A Group of Feeds That Follow Everything

Regular readers know I'm a fan of both PubSub and baseball (alright, I don't talk about the latter a lot, since none of my TV channels show any games). PubSub lets you subscribe to feeds of searches that match 'on-the-fly', that is, once someone writes about something you're interested in, it matches against a search, and pings you either by RSS or—okay, RSS is the way that the overwhelming majority of people using PubSub get their notifications. PubSub is theoretically faster than Technorati because the former matches posts to your search where the latter matches searches to a database. (I say theoretically because PubSub doesn't have the instant gratification and pretty website that Technorati has. PubSub over IM would kill, by the way, but Adium—for example—doesn't yet support Publish-Subscribe.) Today PubSub announced PubSub Baseball, which pre-defined feeds for all the Major League Baseball teams including all of their players. See the Toronto Blue Jays page as an example.

PubSub Baseball

I'd be interested to know if they account for trades during the season for what if Eric Hinske gets traded to the Cleveland Indians? Do both the Cleveland Indians and Toronto Blue Jays pages get updated? If so, the OPML feeds would work great as 'reading lists' for individual teams, as any player that gets traded gets removed automatically from the list of players I follow and new players get added automatically. It can happen automatically and immediately after the trade because I would find out about the trade via the team's main feed.

It's a great demonstration of a way to create, for example, a group of feeds that follows everything about an organization, that organization being anything from a small startup to a medium-size non-profit to a heartless, multinational corporation. Spam is a major problem—for all services, not just PubSub—and especially so with things that cost money. (I found this with books and music albums I was tracking, as stores would feed in RSS to all the services knowing that people like me would syndicate them on their sites and increase their search engine ranking.) Reading lists seem like a really great idea, if not so much to decrease the amount of information that comes in (hypothesis: most attempts to reduce the amount of information coming not only fail but make the problem worse) but to let subject-area experts handle the creation and maintenance of feeds of writing and video and audio that help the reader better understand that field. There is no doubt the political problem of what goes in and what stays out, but since it's should, in the near future, be fairly easy to create your own reading list, if you don't like what one person is doing, other than time and energy there's no reason you couldn't start your own.

Pages