<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>works.<br>thanks.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> kael &lt;ka-el@laposte.net&gt;<br><b><span style="font-weight: bold;">To:</span></b> ejabberd@jabber.ru<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, January 20, 2010 2:31:10 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [ejabberd] xep-0223 Persistent Storage of Private Data via PubSub<br></font><br>
On 01/19/2010 10:52 PM, Pablo Platt wrote:<br>&gt; Is there a way I can define a whitelist and set the node to be persistent without 'publish-options'?<br><br>You can create and configure a node simultaneously before publishing items :<br><br>&lt;iq type='set'&gt;<br><span> <pubsub xmlns="&lt;a target=" _blank="" href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub'&gt;</pubsub></span><br>&nbsp; &lt;create node='storage:bookmarks'/&gt;<br>&nbsp; &lt;configure&gt;<br>&nbsp;  &lt;x xmlns='jabber:x:data' type='submit'&gt;<br>&nbsp; &nbsp; &lt;field var='FORM_TYPE' type='hidden'&gt;<br><span>&nbsp; &nbsp;  <value><a target="_blank" href="http://jabber.org/protocol/pubsub#node_config">http://jabber.org/protocol/pubsub#node_config</a></value></span><br>&nbsp; &nbsp; &lt;/field&gt;<br>&nbsp; &nbsp; &lt;field var='pubsub#persist_items'&gt;&lt;value&gt;1&lt;/value&gt;&lt;/field&gt;<br>&nbsp; &nbsp; &lt;field
 var='pubsub#access_model'&gt;&lt;value&gt;whitelist&lt;/value&gt;&lt;/field&gt;<br>&nbsp;  &lt;/x&gt;<br>&nbsp; &lt;/configure&gt;<br> &lt;/pubsub&gt;<br>&lt;/iq&gt;<br><br><br><span>cf. &lt;<a target="_blank" href="http://xmpp.org/extensions/xep-0060.html#owner-create-and-configure">http://xmpp.org/extensions/xep-0060.html#owner-create-and-configure</a>&gt;</span><br><br><br>Or configure an already created node :<br><br>&lt;iq type='set'&gt;<br><span> <pubsub xmlns="&lt;a target=" _blank="" href="http://jabber.org/protocol/pubsub#owner">http://jabber.org/protocol/pubsub#owner'&gt;</pubsub></span><br>&nbsp; &lt;configure node='storage:bookmarks'&gt;<br>&nbsp;  &lt;x xmlns='jabber:x:data' type='submit'&gt;<br>&nbsp; &nbsp; &lt;field var='FORM_TYPE' type='hidden'&gt;<br>&nbsp; &nbsp;  &lt;value&gt;<a href="http://jabber.org/protocol/pubsub#node_config" target="_blank">http://jabber.org/protocol/pubsub#node_config</a>&lt;/value&gt;<br>&nbsp; &nbsp;
 &lt;/field&gt;<br>&nbsp; &nbsp; &lt;field var='pubsub#persist_items'&gt;&lt;value&gt;1&lt;/value&gt;&lt;/field&gt;<br>&nbsp; &nbsp; &lt;field var='pubsub#access_model'&gt;&lt;value&gt;whitelist&lt;/value&gt;&lt;/field&gt;<br>&nbsp;  &lt;/x&gt;<br>&nbsp; &lt;/configure&gt;<br> &lt;/pubsub&gt;<br>&lt;/iq&gt;<br><br><br><span>cf. &lt;<a target="_blank" href="http://xmpp.org/extensions/xep-0060.html#owner-configure-submit">http://xmpp.org/extensions/xep-0060.html#owner-configure-submit</a>&gt;</span><br><br><br>-- kael<br><br>_______________________________________________<br>ejabberd mailing list<br><a ymailto="mailto:ejabberd@jabber.ru" href="mailto:ejabberd@jabber.ru">ejabberd@jabber.ru</a><br><span><a target="_blank" href="http://lists.jabber.ru/mailman/listinfo/ejabberd">http://lists.jabber.ru/mailman/listinfo/ejabberd</a></span><br></div></div>
<!-- cg17.c4.mail.gq1.yahoo.com compressed/chunked Wed Jan 20 04:35:10 PST 2010 -->
</div><br>



      </body></html>