# Imagine this one script """ """ class Item(ElementBase): name = 'item' namespace = 'http://oonair.com/muc#share' plugin_attrib = 'item' interfaces = set(('name', 'thumbnail', 'id', 'action', 'url', 'metadata')) sub_interfaces = set(('metadata')) class OO(ElementBase): name = 'oo' namespace = 'http://oonair.com/muc#share' plugin_attrib = 'oo_muc_share' interfaces = set(('item')) sub_interfaces = interfaces subitem = (Item,) # And this one will be going in the xmpp client script register_stanza_plugin(Iq, OO, Item, iterable = True)