It would be great if Drupal could interface with Twitter. Twitter supports several methods of delivering messages; using instant messaging, using RSS, using SMS to your mobile phone, and more. For small sites like mine, it would be great to get notified about new comments through MSN or Jabber. Drupal event notifications to the desktop!

Who says I want to track my friends? I want to track my websites. ;-)

It's pretty obvious that Twitter-like services with less focus on social networking will arrive soon. It fits the line of existing web services rather well, and enables these services to better talk to the user.

The question is; who is going to offer this service so we don't have to abuse Twitter? And when it gets built, let's hope it will be based on Jabber, so it is truly open, standard, decentralized, secure and extensible.

(Actually, I know some people who have built exactly that, but I don't know whether they are going to open it up, or make it available as a service.)

If anything, this begs for Drupal's logging functionality to be refactored so messages can selectively be delivered to multiple registered output channels, be it database logging, Twitter, Jabber, MSN, e-mail or syslog.

Comments

joeri poesen (not verified):

How about refactoring the logger functionality along the lines of log4j and its clones? Basically specify communication adapters per logging channel (mail, logfile, sms, ...) and indicate which adapter(s) thhe various log levels (info, alert, debug, critical, ...) get piped to...

Boris Mann (not verified):

Yep...that would be the right way to do it. The subscriptions module does *some* of this for content...but right away we start thinking about a "Subscriptions API" in core, since many things will want to re-use it.

Making a subscriptionsapi.module to get started and a patched watchdog as an example would be a good start.

Wim Leers (not verified):

I actually wrote a SoC proposal some time ago that's pretty much exactly what you're seeking, Dries. :) I handed it over to someone else instead though, because I was offered something even better than SoC.

I sure hope this proposal gets selected, because the new features that can be created through this are virtually endless!

Andy Smith (not verified):

Uh, jaiku can do that for y'all, make sure to ping me about feature requests and I'll code that stuff up, we've also got groups in the pipe and a nice way to represent status passively.

Jeff Eaton (not verified):

Just a ping... Twitter is now on the list of services that can easily be integrated with a Drupal 6 site. https://www.drupal.org/project/twitter allows local caching of Twitter messages, integration with Views 2 for displays in listing pages and blocks, and allows easy posting to twitter when new nodes are created. It's also designed to provide a clean API for other module developers to work with when rolling custom Drupal/Twitter integration code.

Drupal's a great engine for building web-service-base sites... and getting better every day!