<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>bearlog - Latest Comments in XMPP PubSub + XSLT</title><link>http://bearlog.disqus.com/</link><description></description><atom:link href="https://bearlog.disqus.com/xmpp_pubsub_xslt/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 22 Sep 2010 15:31:58 -0000</lastBuildDate><item><title>Re: XMPP PubSub + XSLT</title><link>http://code-bear.com/bearlog/2009/01/04/xmpp-pubsub-xslt/#comment-80124242</link><description>&lt;p&gt;Great read. Do you mind if I reference this in our next newsletter?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">honeymoons</dc:creator><pubDate>Wed, 22 Sep 2010 15:31:58 -0000</pubDate></item><item><title>Re: XMPP PubSub + XSLT</title><link>http://code-bear.com/bearlog/2009/01/04/xmpp-pubsub-xslt/#comment-13800398</link><description>&lt;p&gt;Both Atom and RSS 2.0 are xml, so you can use this script as a start for RSS 2.0 - but the structure and content would be different.  See &lt;a href="http://www.rssboard.org/rss-specification" rel="nofollow noopener" target="_blank" title="http://www.rssboard.org/rss-specification"&gt;http://www.rssboard.org/rss...&lt;/a&gt; for what goes into RSS 2.0 content.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bear</dc:creator><pubDate>Sun, 02 Aug 2009 00:34:35 -0000</pubDate></item><item><title>Re: XMPP PubSub + XSLT</title><link>http://code-bear.com/bearlog/2009/01/04/xmpp-pubsub-xslt/#comment-13781310</link><description>&lt;p&gt;Great post. What's the difference btwen ATOM and RSS 2.0?&lt;br&gt;&lt;a href="http://www.frankelcoachinggroup.com" rel="nofollow noopener" target="_blank" title="http://www.frankelcoachinggroup.com"&gt;http://www.frankelcoachingg...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">crisfrankel</dc:creator><pubDate>Sat, 01 Aug 2009 10:10:39 -0000</pubDate></item><item><title>Re: XMPP PubSub + XSLT</title><link>http://code-bear.com/bearlog/2009/01/04/xmpp-pubsub-xslt/#comment-7974127</link><description>&lt;p&gt;Hi,&lt;br&gt;Thanks for sharing the code................     : )&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ywam</dc:creator><pubDate>Wed, 08 Apr 2009 09:32:27 -0000</pubDate></item><item><title>Re: XMPP PubSub + XSLT</title><link>http://code-bear.com/bearlog/2009/01/04/xmpp-pubsub-xslt/#comment-5484796</link><description>&lt;p&gt;The implementation of pubsub#dataform_xslt is awesome ! :)&lt;br&gt;Gotta have look at Tigase.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kael</dc:creator><pubDate>Thu, 22 Jan 2009 21:43:38 -0000</pubDate></item><item><title>Re: XMPP PubSub + XSLT</title><link>http://code-bear.com/bearlog/2009/01/04/xmpp-pubsub-xslt/#comment-4884807</link><description>&lt;p&gt;That is the exact type of problem we are trying to avoid by offering a "true" body option with our PubSub events - to allow people who are consuming them who are using clients which ignore non-chat messages to having something to view.&lt;/p&gt;&lt;p&gt;Like all things feature-rich, just have to get all our pieces in place and pointing at the same place :)&lt;/p&gt;&lt;p&gt;thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bear</dc:creator><pubDate>Sun, 04 Jan 2009 19:20:25 -0000</pubDate></item><item><title>Re: XMPP PubSub + XSLT</title><link>http://code-bear.com/bearlog/2009/01/04/xmpp-pubsub-xslt/#comment-4882416</link><description>&lt;p&gt;Just a heads up in case you're testing with a client that throws away pubsub messages...&lt;/p&gt;&lt;p&gt;I've had trouble with pubsub messages in Adium where even though the XML console shows that the message was received, the body doesn't get displayed as a regular chat message. I'm pretty sure it's the same as this issue &lt;a href="http://trac.adiumx.com/ticket/9146" rel="nofollow noopener" target="_blank" title="http://trac.adiumx.com/ticket/9146"&gt;http://trac.adiumx.com/tick...&lt;/a&gt; and it's worth noting I have no such problems when testing with Psi or Spark, which both show the message body as expected.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom Carden</dc:creator><pubDate>Sun, 04 Jan 2009 15:18:06 -0000</pubDate></item><item><title>Re: XMPP PubSub + XSLT</title><link>http://code-bear.com/bearlog/2009/01/04/xmpp-pubsub-xslt/#comment-4880647</link><description>&lt;p&gt;It works for me (see below). But (maybe it is wrong) in Your xslt You should generate "&amp;lt;body/&amp;gt;" because Tigase put transformation result as child of &amp;lt;message/&amp;gt;, not &amp;lt;message&amp;gt;&amp;lt;body/&amp;gt; . In this solution You can also generate &amp;lt;subject/&amp;gt; or xml:lang in &amp;lt;body/&amp;gt;.&lt;/p&gt;&lt;p&gt;&amp;lt;iq type="set" to="pubsub.sphere" id="pub1"&amp;gt;&lt;br&gt;  &amp;lt;pubsub xmlns="&lt;a href="http://jabber.org/protocol/pubsub" rel="nofollow noopener" target="_blank" title="http://jabber.org/protocol/pubsub"&gt;http://jabber.org/protocol/...&lt;/a&gt;"&amp;gt;&lt;br&gt;    &amp;lt;publish node="princely_musings"&amp;gt;&lt;br&gt;      &amp;lt;item id="1232"&amp;gt;&lt;br&gt;        &amp;lt;entry xmlns="&lt;a href="http://www.w3.org/2005/Atom" rel="nofollow noopener" target="_blank" title="http://www.w3.org/2005/Atom"&gt;http://www.w3.org/2005/Atom&lt;/a&gt;"&amp;gt;&lt;br&gt;          &amp;lt;title&amp;gt;Soliloquy&amp;lt;/title&amp;gt;&lt;br&gt;          &amp;lt;summary&amp;gt;&lt;br&gt;To be, or not to be: that is the question:&lt;br&gt;Whether 'tis nobler in the mind to suffer&lt;br&gt;The slings and arrows of outrageous fortune,&lt;br&gt;Or to take arms against a sea of troubles,&lt;br&gt;And by opposing end them?&lt;br&gt;          &amp;lt;/summary&amp;gt;&lt;br&gt;          &amp;lt;link rel="alternate" type="text/html" href="http://denmark.lit/2003/12/13/atom03"/&amp;gt;&lt;br&gt;          &amp;lt;id&amp;gt;tag:denmark.lit,2003:entry-32397&amp;lt;/id&amp;gt;&lt;br&gt;          &amp;lt;published&amp;gt;2003-12-13T18:30:02Z&amp;lt;/published&amp;gt;&lt;br&gt;          &amp;lt;updated&amp;gt;2003-12-13T18:30:02Z&amp;lt;/updated&amp;gt;&lt;br&gt;        &amp;lt;/entry&amp;gt;&lt;br&gt;      &amp;lt;/item&amp;gt;&lt;br&gt;    &amp;lt;/publish&amp;gt;&lt;br&gt;  &amp;lt;/pubsub&amp;gt;&lt;br&gt;&amp;lt;/iq&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;iq from="pubsub.sphere" type="result" id="pub1" to="alice@sphere/sphere"/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;message from="pubsub.sphere" id="2" to="alice@sphere"&amp;gt;&lt;br&gt;&amp;lt;html xmlns="&lt;a href="http://www.w3.org/1999/xhtml" rel="nofollow noopener" target="_blank" title="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;"&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&lt;br&gt;        &lt;a href="http://denmark.lit/2003/12/13/atom03" rel="nofollow noopener" target="_blank" title="http://denmark.lit/2003/12/13/atom03"&gt;Soliloquy&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;To be, or not to be: that is the question:&lt;br&gt;Whether 'tis nobler in the mind to suffer&lt;br&gt;The slings and arrows of outrageous fortune,&lt;br&gt;Or to take arms against a sea of troubles,&lt;br&gt;And by opposing end them?&lt;br&gt;          &lt;/p&gt;&lt;p&gt;&lt;br&gt;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;br&gt;&amp;lt;event xmlns="&lt;a href="http://jabber.org/protocol/pubsub#event" rel="nofollow noopener" target="_blank" title="http://jabber.org/protocol/pubsub#event"&gt;http://jabber.org/protocol/...&lt;/a&gt;"&amp;gt;&lt;br&gt;&amp;lt;items node="princely_musings"&amp;gt;&lt;br&gt;&amp;lt;item id="1232"&amp;gt;&lt;br&gt;        &amp;lt;entry xmlns="&lt;a href="http://www.w3.org/2005/Atom" rel="nofollow noopener" target="_blank" title="http://www.w3.org/2005/Atom"&gt;http://www.w3.org/2005/Atom&lt;/a&gt;"&amp;gt;&lt;br&gt;          &amp;lt;title&amp;gt;Soliloquy&amp;lt;/title&amp;gt;&lt;br&gt;&amp;lt;summary&amp;gt;&lt;br&gt;To be, or not to be: that is the question:&lt;br&gt;Whether 'tis nobler in the mind to suffer&lt;br&gt;The slings and arrows of outrageous fortune,&lt;br&gt;Or to take arms against a sea of troubles,&lt;br&gt;And by opposing end them?&lt;br&gt;          &amp;lt;/summary&amp;gt;&lt;br&gt;&amp;lt;link rel="alternate" href="http://denmark.lit/2003/12/13/atom03" type="text/html"/&amp;gt;&lt;br&gt;&amp;lt;id&amp;gt;tag:denmark.lit,2003:entry-32397&amp;lt;/id&amp;gt;&lt;br&gt;&amp;lt;published&amp;gt;2003-12-13T18:30:02Z&amp;lt;/published&amp;gt;&lt;br&gt;&amp;lt;updated&amp;gt;2003-12-13T18:30:02Z&amp;lt;/updated&amp;gt;&lt;br&gt;&amp;lt;/entry&amp;gt;&lt;br&gt;&amp;lt;/item&amp;gt;&lt;br&gt;&amp;lt;/items&amp;gt;&lt;br&gt;&amp;lt;/event&amp;gt;&lt;br&gt;&amp;lt;/message&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bmalkow</dc:creator><pubDate>Sun, 04 Jan 2009 13:21:26 -0000</pubDate></item></channel></rss>