ejabberd - Comments for "can&amp;#039;t parse packet/payload on ejabberd 13 (xmlelements)" https://www.ejabberd.im/node/17746 en This looks correct to me. The https://www.ejabberd.im/node/17746#comment-65548 <p>This looks correct to me. The payload is fine it seems that all is good.</p> Mon, 11 May 2015 14:13:07 +0000 mremond comment 65548 at https://www.ejabberd.im Have you found a solution for https://www.ejabberd.im/node/17746#comment-65540 <p>Have you found a solution for this?<br /> I am also trying to develop my first module on ejabberd,<br /> I want to log all pubsub item publishes to an external API.</p> <p>I got this as my payload, where a number of new lines are found - might be an issue with what i sent.</p> <p>[{xmlcdata,&lt;&lt;"\n "&gt;&gt;},{xmlel,&lt;&lt;"entry"&gt;&gt;,[{&lt;&lt;"xmlns"&gt;&gt;,&lt;&lt;"http://www.w3.org/2005/Atom"&gt;&gt;}],[{xmlcdata,&lt;&lt;"\n "&gt;&gt;},{xmlel,&lt;&lt;"title"&gt;&gt;,[],[{xmlcdata,&lt;&lt;"Soliloquy"&gt;&gt;}]},{xmlcdata,&lt;&lt;"\n "&gt;&gt;},{xmlel,&lt;&lt;"summary"&gt;&gt;,[],[{xmlcdata,&lt;&lt;"To be, or not to be: that is the question:\n\nWhether 'tis nobler in the mind to suffer\n\nThe slings and arrows of outrageous fortune,\n\nOr to take arms against a sea of troubles,\n\nAnd by opposing end them?"&gt;&gt;}]},{xmlcdata,&lt;&lt;"\n "&gt;&gt;},{xmlel,&lt;&lt;"link"&gt;&gt;,[{&lt;&lt;"rel"&gt;&gt;,&lt;&lt;"alternate"&gt;&gt;},{&lt;&lt;"type"&gt;&gt;,&lt;&lt;"text/html"&gt;&gt;},{&lt;&lt;"href"&gt;&gt;,&lt;&lt;"http://denmark.lit/2003/12/13/atom03"&gt;&gt;}],[]},{xmlcdata,&lt;&lt;"\n "&gt;&gt;},{xmlel,&lt;&lt;"id"&gt;&gt;,[],[{xmlcdata,&lt;&lt;"tag:denmark.lit,2003:entry-32397"&gt;&gt;}]},{xmlcdata,&lt;&lt;"\n "&gt;&gt;},{xmlel,&lt;&lt;"published"&gt;&gt;,[],[{xmlcdata,&lt;&lt;"2003-12-13T18:30:02Z"&gt;&gt;}]},{xmlcdata,&lt;&lt;"\n "&gt;&gt;},{xmlel,&lt;&lt;"updated"&gt;&gt;,[],[{xmlcdata,&lt;&lt;"2003-12-13T18:30:02Z"&gt;&gt;}]},{xmlcdata,&lt;&lt;"\n "&gt;&gt;}]},{xmlcdata,&lt;&lt;"\n "&gt;&gt;}]</p> Fri, 08 May 2015 06:08:40 +0000 ajmalmsali comment 65540 at https://www.ejabberd.im