1 min read
Contexte: insulte contre les flamandshttps://
1 min read
Traduction (partielle) du post de u/Cmac0801 sur r/belgium : https://
1 min read
3 min read
This post has been heavily inspired by Chris Aldrich's recent post Using IFTTT to syndicate (PESOS) content from social services to WordPress using Micropub and finally finds an answer to the frustration I had ever since I realised it was not that easy to post bookmark on my Known-based website.
When you own an IndieWeb website, it quickly becomes clear that you want to centralize all your content in one place, including the posts you save on Reddit.
Now, I spend a fair amount of time on Reddit, but i never spend a long time in one go, meaning I usually scroll my feed, save things that catch my eyes, and come back to them later on when I have more time. The frustration comes from the decentralized part : I have saved bookmarks on my browser, in my company's Slack, on Reddit, you name it. The risk is that I finally forgot about some of them and never reads them at all.
If you need more information on IndieWeb, IFTTT, and why this is awesome, I encourage you to read Chris Aldrich's post. In this post, I'll only talk about the particular case I ran into : silo-ing my Reddit saved posts to a Known-based website.
If you played a bit with Known, you know there's no easy way to generate a token on the fly - as opposed to a Wordpress-based website for instance. But that's OK, Give Me A Token is here to save the day.
The process is not that long nor difficult, and at the end of step 3, you'll have the possibility to download your token file, save it on your disk for later, that's all we need to do with that right now.
We can now start to create our own IFTTT applet, in the first part (the if), we'll choose Reddit > New post saved by you as a trigger and i the second (the then), we'll choose Webhooks > Make a web request.
All we have left to do is to fill in the 4 fields in the form :
URL: your micropub server endpoint (find yours here)
Content Type: application/x-www-form-urlencoded
Body part is the trickiest, but once again I encourage you to ready Chris's post which explain it thoroughly. As far as i'm concerned here's what I typed in the
Body field - don't forget to replace YOUR_TOKEN_FILE_CONTENT_HERE by the content of the file we previously downloaded :
And that's it. All you have to do now is going back on Reddit and save a few posts, IFTTT should shortly trigger your webhook call and syndicate your saved posts on your own website.