Cleartext Enterprise Messaging 2.0

David Banes, from Cleartext, has released a new opensource product: an Enterprise Messaging 2.0, based on ejabberd.

ProcessOne
· 3 min read
Send by email

At the SeaBeyond event to day in Paris, David Banes, CEO of Cleartext, has introduced a new way of doing microblogging. It is a client-compatible, standards-based protocol extension, based on message stanzas. It is not relying on PubSub nor XEP-0277: Microblogging over XMPP, that may not be ready yet, or not completely address all the requirements.

It features of course EIM, Group Chat & Microblogging, has security and compliance designed in, and notably has Integrated Content Filtering, Malware Protection, URL & Image Filtering and Archiving with eDiscovery.

Inspired by “XMPP:The Definitive Guide”, it is modelled on ProcessOne Twitter Gateway, and it is a Python XMPP component (XEP-0114). It is NOT federated (yet)!

The client has text-based commands:

"me" - shows who you are, your username and jid (Jabber ID)
"ers" - shows your followers
"ing" - shows who you follow
"f username" - follow this user
"u username" - unfollow this user "
"d username message text" - send direct message to the user
"@username message text" - mention a user, a public message to a user
"s" - show saved searches
"s word" - save live search term
"us word" - delete live search term
"help" - show this help

Custom Stanzas

To Tweet:

<message id="156"
         from="dbanes@cleartext.com/9643007101295859746231576"
         to="cleartext.cleartext.com"
         type="chat">
  <body>it's time for end of month expenses please</body>
  <active xmlns="https://jabber.org/protocol/chatstates"/>
  <x from="dbanes@cleartext.com/9643007101295859746231576"
     stamp="2011-01-24T10:49:05Z"
     xmlns="urn:xmpp:delay"/>
  <x xmlns="https://cleartext.net/mblog">
    <buddy type="sender">
    <displayName>dbanes@cleartext.com</displayName>
    <userName>dbanes</userName>
    <jid>dbanes@cleartext.com</jid>
    <avatar type="hash">56a03afdd9ab286d43c8f1715fac013d4c53f15a</avatar>
    <serviceJid>cleartext.cleartext.com</serviceJid>
</buddy> </x>
</message>

Incoming Tweet:

<message from='cleartext.cleartext.com'
         to='dbanes@cleartext.com'
         type='chat'>
    <body>@admin: my expenses will be late</body>
    <x xmlns='https://cleartext.net/mblog'>
      <buddy type='sender'>
        <displayName>Ozzie</displayName>
        <userName>admin</userName>
        <jid>admin@cleartext.com</jid>
        <avatar type='hash'>ed90623da0e6963516abce705dd24bf0e84a03bd</avatar>
        <serviceJid>cleartext.cleartext.com</serviceJid>
        <text xmlns='https://cleartext.net/mblog'>my expenses will be late</text>
      </buddy>
    </x>
</message>

Follow command:

<message id="41"
         from="dbanes@cleartext.com/4732502611296587389793170"
         to="twitter.cleartext.com"
         type="chat">
  <body>f noornet</body>
  <active xmlns="https://jabber.org/protocol/chatstates"/>
  <x from="dbanes@cleartext.com/4732502611296587389793170"
     stamp="2011-02-01T19:23:38Z"
     xmlns="urn:xmpp:delay"/>
</message>

Server response:

<message from='twitter.cleartext.com'
         to='dbanes@cleartext.com/4732502611296587389793170'
         type='chat'>
  <body>User noornet has been added to your following list</body>
</message>

If you need more information, got to the Cleartext website, and follow David Banes’s GitHub account.