[Standards-JIG] Re: JEP 0060 (Pubsub) node meta-data

Stijn Van Rompaey stijnvr at gmail.com
Wed Jan 19 09:51:31 UTC 2005

On Tue, 18 Jan 2005 13:56:27 -0700, Peter Saint-Andre
<stpeter at jabber.org> wrote:
> In article <20050114133005.GA49509 at localhost>,
>  Ralph Meijer <jabber.org at ralphm.ik.nu> wrote:
> > On Thu, Jan 13, 2005 at 05:00:19PM +0100, Stijn Van Rompaey wrote:
> > > I have a question about the node creation process, regarding sections
> > > 8.1.2 (Create a new Node) and 8.1.12 (Discover Node Meta-Data). Before
> > > requesting the node meta-data (DCMI) it seems logical that you first
> > > have to specify this meta-data upon node creation.
> > > How do you specify this meta-data?
> > > Is this done using the configure tag?
> >
> > It is assumed that most meta data is set via the <configure/> element. Other
> > information, like node creation, current publishers, etc., can be added
> > to this dynamically.
> And if non-dynamic metadata is missing from the configuration options,
> please point that out so we can finish cleaning up this JEP. :-)
> /psa

So if I understand correctly, specifying the nodes meta-data should
looks something like the following, or am I missing the picture. If
this is correct maybe it is usefull to add an extra example of this to
the section 8.1.2 about node creation?

<iq type="set"
 from="pgm at jabber.org"
 <pubsub xmlns="http://jabber.org/protocol/pubsub">
  <create node="generic/pgm-mp3-player"/>
    <x xmlns="jabber:x:data" type="submit">
     <field var="FORM_TYPE" type="hidden">
     <field var="pubsub#delive_payloads">
     ... (other fields)
    <x xmlns="jabber:x:data" type="submit">
     <field var="FORM_TYPE" type="hidden">
     </field var="pubsub#description" label="A description of the node">
      <value>This node rocks!</value>
     ... (other fields)

<iq type="result"
 to="pgm at jabber.org"

Stijn Van Rompaey

More information about the Standards mailing list