Project

iftttify

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
allow IFTTT to talk to our Rails app using wordpress xmlrpc protocol
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 4.1.6
 Project Readme

Build Status Gem Version

iftttify

IFTTTify your Rails app, enables IFTTT to talk to our Rails apps using Wordpress XMLRPC protocol.

Usage

  1. Modify routes.rb
post 'xmlrpc.php' => 'pages#ifttt_action'
  1. In your controller, add
iftttify :ifttt_action, with: :process_post

private
def process_post(post)
    puts post
    42 # This is sort of important, it would be the post ID
end
  1. (optional) authentication
iftttify :ifttt_action, auth: {username: "username", password: "password"}, with: :process_post