Creating pubsub nodes

Greetings all,

I am new to Openfire and I am evaluating the pubsub abilities. I have installed the lastest release and I was expecting to find a way within the admin console to create pubsub nodes but I have been unable to find anything related. Can this be done or are nodes created only programatically? Are nodes persisted between server restarts?

Thanks for any and all help.

Earnie!

Dont know much about pubsub, but i think there is no GUI for that in Admin Console.

Where exactly?

I did not find a configuration interface to set value of maximum amount of PubSub node items.

As per XEP-0060, section 8.1.3, the maximum number of items per node is defined by the creator of that node. A “Node is full“ error will be returned by the service if the maximum number of items has been exceeded.

The protocol does not specify a maximum number of nodes (topics) per pubsub service.

I tried with a PEP node, and failed.

                for key in properties_xmpp_pubsub:
                    form.add_field(var=f"pubsub#{key}",
                                  value=properties_xmpp_pubsub[key])
                iq_delete_node = await InterfaceXmppPubsub.delete_node(
                    xmpp_instance, pubsub_service, node_name)
                iq_create_node = await InterfaceXmppPubsub.create_node(
                    xmpp_instance, pubsub_service, node_name,
                    config=form, ntype="leaf", ifrom=jid_bare)

This is the data which is set to that Data Form.

[xmpp.pubsub]
access_model            = "open"
body_xslt               = ""
collection              = ""
contact                 = []
dataform_xslt           = ""
deliver_payloads        = true
description             = "The journal of the voyager"
itemreply               = ""
language                = "English"
max_items               = "max"
max_payload_size        = "10485760"
node_type               = "leaf"
notify_config           = true
notify_delete           = true
notify_retract          = true
owner                   = ["publisher@slixfeed.goodbytes.im", "sch@slixfeed.goodbytes.im"]
persist_items           = true
presence_based_delivery = false
publish_model           = "publishers"
publisher               = ["publisher@slixfeed.goodbytes.im", "sch@slixfeed.goodbytes.im"]
replyroom               = []
replyto                 = []
roster_groups_allowed   = []
send_item_subscribe     = true
subscribe               = true
subscription_required   = false
title                   = "Rivista Voyager Journal"
type                    = "http://www.w3.org/2005/Atom"

I’ve not tested it in-depth, but for normal (non PEP) pubsub nodes, you seem to be able to modify this through the admin console, as shown in this screenshot: