Net::XMPP2::Ext::Pubsub - Implements XEP-0060: Publish-Subscribe
my $con = Net::XMPP2::Connection->new (...); $con->add_extension (my $ps = Net::XMPP2::Ext::Pubsub->new); ...
This module implements all tasks of handling the publish subscribe mechanism. (partially implemented)
This is the constructor for a pubsub object. It takes no further arguments.
$con
$node
$cb
Try to remove a node.
Try to create a node.
Try to retrieve items.
$create_cb
Try to publish an item.
$id
Try to retrieve item.
Robin Redeker, <elmex at ta-sa.org>, JID: <elmex at jabber.org>
<elmex at ta-sa.org>
<elmex at jabber.org>
Chris Miceli - additional work on the pubsub extension
Copyright 2007 Robin Redeker, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::XMPP2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::XMPP2
CPAN shell
perl -MCPAN -e shell install Net::XMPP2
For more information on module installation, please visit the detailed CPAN module installation guide.