如何最好地将通知传递到各种IM/通知服务? [英] How best to deliver notifications to various IM / notification services?

查看:174
本文介绍了如何最好地将通知传递到各种IM/通知服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个网站,它提供有关FOO值变化的时间紧迫的更新,并希望通过各种IM协议传递新数据的通知.

We have a website which provides time-critical updates on changes in the value of FOO, and want to deliver notifications of new data via various IM protocols.

出于对自己(和他们的父母)最了解的原因,FOO交易者使用Yahoo! Messenger,MSN,gTalk,AIM,请命名.他们希望在台式机上接收更新,以便可以实时买卖FOO.

For reasons best known to themselves (and their parents), the FOO-traders use Yahoo! Messenger, MSN, gTalk, AIM, you name it. They want to receive their updates on their desktops so they can buy and sell FOO realtime.

我们希望通过各种网络向他们提供更新,而无需花费大量时间来支持新网络.

We want to deliver the updates to them via the various networks, without investing a huge amount of time in supporting new networks.

我知道诸如RPX(或现在称为它)之类的服务和Gigya,它们使您可以跨多个网站进行身份验证.我想要类似的东西,但允许我们将IM传递到相同的各种网络.

I'm aware of services like RPX (or whatever it's now called) and Gigya, which allow you to authenticate across multiple websites. I want something similar, but which allows us to deliver IM to the same various networks.

该服务应该能够轻松公开对来自PHP(Drupal 7)网站的通知的访问.

The service should be able to readily expose access to notifications coming from a PHP (Drupal 7) website.

该网站是一项付费订阅服务;在跨网络垃圾邮件解决方案之后,我们不是.我这么说是(1),所以您不会讨厌我(2),因为如果我们要发送垃圾邮件,则可能会排除网关提供商.

The website is a paid subscription service; we are not after a cross-network spam solution. I say this (1) so you won't hate me (2) because if we wanted to send spam, that would probably preclude gateway providers.

诸如PHPurple之类的自托管解决方案也是一种选择,但我还没有找到很多在线推荐它作为选择的解决方案.

Self-hosted solutions like PHPurple are an option also, but I haven't found much online to recommend it as an option yet.

对其他网络的支持将是一个奖励,尽管我还没有看到任何FOO交易者使用Twitter.我们还将包括短信和电子邮件通知,以增加原有的信誉.

Support for other networks will be a bonus, although I haven't seen any of the FOO-traders use Twitter yet. We will also include SMS and email notification for added old-school cred.

推荐答案

通过Jabber服务器.

Through Jabber server.

  1. 设置Jabber服务器
  2. 注册您要使用的所有服务的帐户
  3. 注册网关,所有的jabber服务器都支持它们
  4. 通过GUI jabber客户端进行测试
  5. 编写一个守护程序(或到达某个地方),该守护程序登录到jabber中,启动网关,从某个地方读取消息并将其立即发送.

有一些命令行实用程序,但是它们无法正常工作,因为除非单独依靠服务器,否则服务器将无法保持网关的连接.

There are command-line utilities, but they won't work, because server won't keep gateways connected unless on it's own.

XMPP协议非常简单,并且具有许多库.

XMPP protocol is quite straightforward and has many libraries.

为获得可靠的SMS,您可能需要使用其他第三方协议或实用程序.

For reliable SMS you might need to use other, 3rd party protocols or utilities.

这篇关于如何最好地将通知传递到各种IM/通知服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆