I cannot use PubSub to get a project publication notification for the node owner

连生 张
Added about 1 month ago

After I created the node with admin user admin1 subscribed to the node, admin1 user was not notified when admin published the project on the node

Replies (6)


Added by Andrzej Wójcik IoT 1 CloudTigaseTeam about 1 month ago

What do you mean by saying that user admin1 was not notified? Message with notification was correctly sent by the PubSub component and delivered to the user admin1 XMPP client, right?

Added by 连生 张 about 1 month ago

I cannot create a PubSub node using the http-api

Added by Wojciech Kapcia TigaseTeam about 1 month ago

连生 张 wrote:

I cannot create a PubSub node using the http-api

It looks like you are using custom implementation - please try to reproduce it distribution packages offered by us and offer step-by-step how to reproduce the issue.

Added by 连生 张 26 days ago

Thank you very much for your help. I have solved this problem through IQ message, but I would like to know the role of the following configurations

<iq type='set'
  <pubsub xmlns=''>
    <create node='princely_musings'/>
      <x xmlns='jabber:x:data' type='submit'>
        <field var='FORM_TYPE' type='hidden'>
        <field var='pubsub#title'><value>Princely Musings (Atom)</value></field>
        <field var='pubsub#deliver_notifications'><value>1</value></field>
        <field var='pubsub#deliver_payloads'><value>1</value></field>
        <field var='pubsub#persist_items'><value>1</value></field>
        <field var='pubsub#max_items'><value>10</value></field>
        <field var='pubsub#item_expire'><value>604800</value></field>
        <field var='pubsub#access_model'><value>open</value></field>
        <field var='pubsub#publish_model'><value>publishers</value></field>
        <field var='pubsub#purge_offline'><value>0</value></field>
        <field var='pubsub#send_last_published_item'><value>never</value></field>
        <field var='pubsub#presence_based_delivery'><value>false</value></field>
        <field var='pubsub#notification_type'><value>headline</value></field>
        <field var='pubsub#notify_config'><value>0</value></field>
        <field var='pubsub#notify_delete'><value>0</value></field>
        <field var='pubsub#notify_retract'><value>0</value></field>
        <field var='pubsub#notify_sub'><value>0</value></field>
        <field var='pubsub#max_payload_size'><value>1028</value></field>
        <field var='pubsub#type'><value></value></field>
        <field var='pubsub#body_xslt'>

Added by 连生 张 25 days ago

I need to know what these configurations do and what am I going to do

Added by Wojciech Kapcia TigaseTeam 24 days ago

All options are described in PubSub specification: Configure Subscription Options