'Retrieve public data via PEP.
This is just a (very) thin wrapper around the XEP-0060 publish()
method to set the defaults expected by PEP.
Arguments:
node     -- The node to retrieve content from.
id       -- Optionally specify the ID of the item.
item_ids -- Specify a group of IDs. If id is also specified, it
will be included in item_ids.
ifrom    -- Specify the sender\'s JID.
block    -- Specify if the send call will block until a response
is received, or a timeout occurs. Defaults to True.
timeout  -- The length of time (in seconds) to wait for a response
before exiting the send call if blocking is used.
Defaults to sleekxmpp.xmlstream.RESPONSE_TIMEOUT
callback -- Optional reference to a stream handler function. Will
be executed when a reply stanza is received.'

def retrieve(self, node, id=None, item_ids=None, ifrom=None, block=True, callback=None, timeout=None):

    if (item_ids is None):
        item_ids = []
    if (id is not None):
        item_ids.append(id)
    return self.xmpp['xep_0060'].get_items(None, node, item_ids=item_ids, ifrom=ifrom, block=block, callback=callback, timeout=timeout)
