无法在pubsub xmpp中发布

无法在pubsub xmpp中发布,xmpp,publish-subscribe,ejabberd,Xmpp,Publish Subscribe,Ejabberd,在创建一个节点test1\u node1之后,我向ejabbers服务器发送了以下小节 <iq id="publish1" to="pubsub.oomaxmpp.com" type="get" from="admin@oomaxmpp.com/1697575709134613774110793"> <pubsub xmlns="http://jabber.org/protocol/pubsub"> <publish node="test_node1"><

在创建一个节点test1\u node1之后,我向ejabbers服务器发送了以下小节

<iq id="publish1" to="pubsub.oomaxmpp.com" type="get" from="admin@oomaxmpp.com/1697575709134613774110793">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<publish node="test_node1"><item id="qwert12345">
<entry xmlns="http://www.w3.org/2005/Atom">
<title>*publish*</title>
<summary>*1234567890*</summary>
<published>2003-12-13T18:30:02Z</published>
<updated>2003-12-13T18:30:02Z</updated>
</entry>
</item>
</publish>
</pubsub>
</iq>
但是我得到了一个错误的结果,下面这一节

<iq id="publish1" xml:lang="en" type="error" to="admin@oomaxmpp.com/1697575709134613774110793" from="pubsub.oomaxmpp.com">
<pubsub xmlns="http://jabber.org/protocol/pubsub"><publish node="test_node1">
<item id="qwert12345"><entry xmlns="http://www.w3.org/2005/Atom">
<title>*publish*</title>
<summary>*1234567890*</summary>
<published>2003-12-13T18:30:02Z</published>
<updated>2003-12-13T18:30:02Z</updated>
</entry>
</item>
</publish>
</pubsub>
<error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
我不明白,如果没有实现该功能,节点是如何创建的?
为什么我不能发布?

{mod_pubsub,[%需要mod_caps{access_createnode,pubsub_createnode},{pep_sendlast_offline,false},{last_item_cache,false},%%{plugins,[默认,pep]}{plugins,[平面,hometree,pep]}%pep需要mod_caps]},ejabberd pubsub的配置模块在ejabberd配置中启用pubsub是否解决了您的问题?是的,已解决…但我想您也必须启用mod_caps。。。。