RequestHub was initially a way to connect webhooks from one service to API calls to another services, using jq scripting for all the customization.
Later I realized it could be used for processing anything (even text!), not only webhooks, but it was too late. Maybe someday I'll do a Yahoo Pipes revival that will just use jq for scripting inside the boxes.
[1]: http://archive.is/nGyH3, https://github.com/fiatjaf/requesthub.xyz
What do you think? Do you think it had a bright future?
One thing that definitely makes it hard is the chicken&egg situation. I can't imagine many people paying for a service (or even using it for free), unless it has a solid reputation and is highly available. Otherwise, they'll either host something on their own, or use one of the bigger players.
from riko.modules import join, fetch, fetchdata
rss_url = 'http://site.com/rss'
json_url = 'http://site.com/json'
json_path = 'path.to.data'
fetch_conf = {'url': json_url, 'path': json_path}
rss = fetch.pipe(conf={'url': rss_url})
json = fetchdata.pipe(conf=fetch_conf)
joined = join.pipe(rss, other=json)
next(joined)
You can see the docs for the `join` pipe here [2].[1] https://github.com/nerevu/riko
[2] https://github.com/nerevu/riko/blob/master/riko/modules/join...
Side remark: Pipes uses https://github.com/feedparser/feedparser to normalize atom and rss feeds, and that gem just got support for the jsonfeed format. Untested, but worth a shot if you are looking for json input.