3C3JbrHvNfHDdRUZ38aMZG changeset

Changeset363063633335 (b)
Parent336131373761 (a)
ab
0+# Imagine this one script
0+
...
00"""   
11<iq type='set' to= 'roomname@conference.chat.oonair.net'  id='id1'>
22 <oo xmlns='http://oonair.com/muc#share'>
...
3-   <item name='Falda tubo' thumbnail='http://webpage.info/falda_tn.jpg' id='itemid1' action='add' url='http://webpage.info/falda.html’>
3+   <item name='Falda tubo' thumbnail='http://webpage.info/falda_tn.jpg' id='itemid1' action='add' url='http://webpage.info/falda.html’>
...
44      <metadata  path=' ' />
55   </item>
66 </oo>
...
2121    sub_interfaces = interfaces
2222    subitem = (Item,)
2323   
...
24+# And this one will be going in the xmpp client script
...
2424register_stanza_plugin(Iq, OO, Item)
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- Revision 336131373761
+++ Revision 363063633335
@@ -1,7 +1,9 @@
+# Imagine this one script
+
"""
<iq type='set' to= 'roomname@conference.chat.oonair.net' id='id1'>
<oo xmlns='http://oonair.com/muc#share'>
- <item name='Falda tubo' thumbnail='http://webpage.info/falda_tn.jpg' id='itemid1' action='add' url='http://webpage.info/falda.html’>
+ <item name='Falda tubo' thumbnail='http://webpage.info/falda_tn.jpg' id='itemid1' action='add' url='http://webpage.info/falda.html’>
<metadata path=' ' />
</item>
</oo>
@@ -22,4 +24,5 @@
sub_interfaces = interfaces
subitem = (Item,)
+# And this one will be going in the xmpp client script
register_stanza_plugin(Iq, OO, Item)