XMPP Robots in chatrooms

Dave Cridland <dave@cridland.net> Tue, 27 July 2010 17:00 UTC

Return-Path: <dave@cridland.net>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 735EA3A683E for <ietf@core3.amsl.com>; Tue, 27 Jul 2010 10:00:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.237
X-Spam-Level:
X-Spam-Status: No, score=-2.237 tagged_above=-999 required=5 tests=[AWL=-0.238, BAYES_00=-2.599, J_CHICKENPOX_12=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id maSFS0MMZCQt for <ietf@core3.amsl.com>; Tue, 27 Jul 2010 10:00:04 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id EB0553A688D for <ietf@ietf.org>; Tue, 27 Jul 2010 10:00:03 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 6BB38116809F for <ietf@ietf.org>; Tue, 27 Jul 2010 18:00:25 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZL8IjsZ1FvSZ for <ietf@ietf.org>; Tue, 27 Jul 2010 18:00:22 +0100 (BST)
Received: from puncture (puncture [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 6D965116809E for <ietf@ietf.org>; Tue, 27 Jul 2010 18:00:22 +0100 (BST)
Subject: XMPP Robots in chatrooms
MIME-Version: 1.0
Message-Id: <2378.1280250022.423470@puncture>
Date: Tue, 27 Jul 2010 18:00:22 +0100
From: Dave Cridland <dave@cridland.net>
To: IETF-Discussion <ietf@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jul 2010 17:00:05 -0000

The XSF's primary chatroom (xmpp:jdev@conference.jabber.org?join)  
has, for as long as I can remember, had a bot present which responds  
to certain carefully crafted utterances with responses containing  
useful information.

As some people have already noticed, on hallway@jabber.ietf.org, one  
of my colleagues (Kevin Smith, the XMPP Council's chair) has put this  
bot adapted to service queries about IETF related documents.

It'll respond to several verbs, including "cite", "rfc", "id", and  
"xep". These all take either a reference, or a search term.

Verbs and arguments are either inlined into other discussion by  
enclosing in [], or else are the sole thing in a message by prefixing  
with !.

It's most useful when the chatroom is actively being used for  
discussions, but to give some potted examples of how to use it:

[14:25:20] brian.bnsmith: !rfc 4041
[14:25:20] XMPPBot: brian.bnsmith: rfc4041: requirements for morality  
sections in routing area drafts (april 1 2005) See:  
http://tools.ietf.org/html/4041

[17:57:03] dwd: !xep 45
[17:57:06] XMPPBot: dwd: XEP-0045: Multi-User Chat is Standards Track  
(Draft, 2008-07-16) See: http://xmpp.org/extensions/xep-0045.html

[17:57:28] dwd: And I need to mention [cite randomly] here.
[17:57:49] XMPPBot: dwd: rfc748: telnet randomly-lose option (april'  
day='1 1978) See: http://tools.ietf.org/html/748

"cite" will search all of RFCs, I-Ds, W3Cs and anything else it can  
find in the citation indices at http://xml.resource.org/

Have fun, and please let either Kevin Smith <kevin.smith@isode.com>  
or myself know if you have any feedback.

We'll keep it running throughout IETF week at least, and if it seems  
useful, beyond.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade