Announcements Protocol

Last Modified: August 10, 2004

An announcement is the same message sent to multiple recipients. In Gush, Announcements are sent to all the people for a given group.

To send an announcement via Jabber to a Gush client, the following is required.
  1. The message stanza type must be "normal".
  2. An 'x' element using the Announcements namespace must be used.
The namespace for Announcements is:
The Announcements 'x' element requires a single 'id' child element. 'id' should be a unique opaque identifier of that Announcement. Gush takes a sha1 digest of the date-time, subject, and text to from the ID.

Example Announcement message:
<message from='/Work' 
   <subject>Announcement Subject</subject>
   <body>This is a test announcement.</body>
   <html xmlns=''>
     <body xmlns=''>
       <span style='font-size:11px;color:#333333;font-family:verdana;text-align:left'>
         This is a <span style='font-weight:bold'>test</span> announcement.</span>
   <x xmlns=''>

Gush implementation caveats:
  1. The ID is currently ignored, but we're planning on using the ID to allow users to edit announcements.
  2. Gush currently excepts only the XHTML body for the message text. This is a bug and will be fixed for the next release.

Creative Commons License
Except where otherwise noted, this site is
licensed under a Creative Commons License