<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Ifttt on 读写错误</title>
    <link>https://ioerr.github.io/tags/ifttt/</link>
    <description>Recent content in Ifttt on 读写错误</description>
    <generator>Hugo -- 0.126.0</generator>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 08 Jun 2011 07:09:20 +0000</lastBuildDate>
    <atom:link href="https://ioerr.github.io/tags/ifttt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ifttt</title>
      <link>https://ioerr.github.io/posts/ifttt/</link>
      <pubDate>Wed, 08 Jun 2011 07:09:20 +0000</pubDate>
      <guid>https://ioerr.github.io/posts/ifttt/</guid>
      <description>这是一个神奇的网站，嗯，不是 XX 同城，而是 ifttt，if this then that，5月17日才对外开放 beta 测试的网站。 它的概念简单来说就是将其他提供接口的</description>
      <content:encoded><![CDATA[<p>这是一个神奇的网站，嗯，不是 XX 同城，而是<br>
<a href="http://ifttt.com/">ifttt</a>，<a href="http://ifttt.com/wtf">if this then<br>
that</a>，5月17日才对外开放 beta 测试的网站。</p>
<p>它的概念简单来说就是将其他提供接口的网站当作它的触发器（trigger）和动作（action），如果<br>
A 网站上发生指定事件，就触发 B 网站上的指定动作，成为一个任务（task）。<br>
这些贡献出接口的网站被称为通道（channel）。</p>
<p>官方说明中举出了一个任务的例子：</p>
<p>如果 ltibbets 保存书签到 Delicious，并且加上 tweet 标签<br>
那么就在 @ltibbets 的帐号上发 twitter 消息</p>
<p><img loading="lazy" src="http://ifttt.com/images/statement_ex.png?1302323172" alt="通道示例"  />
</p>
<p>相当于实现了跨站点的功能调用，只要通道和接口够丰富，可以组合出许多花样实现各种需求。<br>
而且，即使 ifttt 本身被墙，也可以作为 Web 2.0网站间的串联继续发挥作用。</p>
<p>我就利用 ifttt 实现了备份 twitter 消息到邮箱，并且 twitter<br>
上有@回复时通过 Google Talk 得到即时通知。</p>
<p>感觉目前的通道和接口还不够丰富，通道有日期时间、电话、短信（当然是国际短信，否则国内就可以通过短信直接发<br>
twitter 了）、雅虎财经股票信息、RSS<br>
feed、Delicious、Dropbox、Email/Gmail、Evernote、Facebook、ffffound!、Flickr、Foursquare、Google<br>
Reader、Google<br>
Talk、Instagram、Instapaper、LinkedIn、Pinboard、Posterous、Read it<br>
Later、Tumblr、Twitter、Vimeo、WordPress、Youtube、Zootool。<br>
不过有的网站接口功能还不够实用，比如 Flickr<br>
接口中，只有用户自己的操作能够触发动作，联系人或群组的变动还不能当触发器用。</p>
<p>ifttt 建立任务非常简单，全程都有明确提示，演示如下：</p>
<p>1、进入创建任务页面后，ifthisthenthat 中的 this 会突出显示：<br>
<a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_155437_1.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_155437_1.png" alt="Photobucket"  />
</a></p>
<p>2、点击那个 this，就会出现可以用来当做触发器的频道：<br>
<a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_155646_2.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_155646_2.png" alt="Photobucket"  />
</a></p>
<p>3、选择其中一个频道，比如 twitter，列出各种触发条件供你选择：<br>
<a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_155917_5.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_155917_5.png" alt="Photobucket"  />
</a></p>
<p>4、选定一个触发条件，比如“任何一个好友发推”，点击“创建触发器”：<br>
<a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_155955_6.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_155955_6.png" alt="Photobucket"  />
</a></p>
<p>5、接下来就到了 that 环节了：<br>
<a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_160033_7.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_160033_7.png" alt="Photobucket"  />
</a></p>
<p>6、还是频道列表，选择要执行动作的频道，比如 Email：<br>
<a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_160116_8.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_160116_8.png" alt="Photobucket"  />
</a></p>
<p>7、动作就是给我发邮件（邮箱地址就是注册 ifttt 时填写的地址）：<br>
<a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_160220_11.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_160220_11.png" alt="Photobucket"  />
</a></p>
<p>8、邮件内容和标题也是可以进一步自定义的：<br>
<a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_160323_12.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_160323_12.png" alt="Photobucket"  />
</a></p>
<p><a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_160510_13.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_160510_13.png" alt="Photobucket"  />
</a></p>
<p>9、一切选定以后，创建并激活任务，至此大功告成：<br>
<a href="http://s111.photobucket.com/albums/n154/calon_plus/?action=view&amp;current=2011-06-03_160619_14.png"><img loading="lazy" src="http://i111.photobucket.com/albums/n154/calon_plus/2011-06-03_160619_14.png" alt="Photobucket"  />
</a></p>
<p>任务管理和通道激活流程就不演示了。有的服务支持授权，还算安全，但像<br>
Delicious、Instapaper<br>
这样的要填写用户名、密码才能激活通道，安全问题就只能自己把握了。</p>
<p>补充一个坏消息：ifttt 目前最多只能配置10个任务…</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
