[jdev] Publishing arbitrary meta-data

Steve Smith ssmith at vislab.usyd.edu.au
Thu May 19 22:48:26 CDT 2005


> You can publish arbitrary data forms to a node, but my sense is that
> service discovery extensions will probably solve your problem. Will you
> be dynamically updating the multicast addresses? If so, you might want
> to investigate the idea of pushing updates through your existing chat
> room. In a way, a chat room is like a specialized pubsub venue, so you
> could send messages with attached data forms through the room.

That's not exactly what I'm looking for, but it's an intriguing idea.
So you're saying I can send something like this to the room:

        <message
            from='bot at vislab.usyd.edu.au/notify'
            to='videoroom at vislab.usyd.edu.au'
            type='groupchat'>    
           <x xmlns='jabber:x:data' type='result'>
              <field var='FORM_TYPE' type='hidden'>
                <value>http://vislab.usyd.edu.au/multicastinfo</value>
              </field>
              <field var='vid.rtp.addr'>
                <value>233.2.178.9</value>
              </field>
              <field var='vid.rtp.port'>
                <value>17008</value>
              </field>
          </x>
        </message>
        
Chat clients will ignore it, but clients which understand the format can use it?  Is this correct?

However, the multicast addresses won't be changing through a session,
which suggests the service extensions may be better.  But it's an idea
that may have applications in other areas (I'd like to send page-turn
events to presentation apps through the chat-room, and that may be one
way of doing it).

BTW, is it possible to publish arbitrary data forms in pub-sub nodes?

Thanks,
Steve





More information about the JDev mailing list