<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Kommentare zu: jsjac++</title>
	<atom:link href="http://blog.jwchat.org/2008/01/03/jsjac/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jwchat.org/2008/01/03/jsjac/</link>
	<description>coding and stuff</description>
	<lastBuildDate>Fri, 15 Apr 2011 10:49:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>Von: Nathan</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-127191</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Fri, 01 Feb 2008 14:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-127191</guid>
		<description>I&#039;m using JabberHTTPBind and JSJac 1.2.2.  I can&#039;t get it to open a chat session at all.  

In Firefox I get this error:
An error occured:
Code: 503
Type: cancel
Condition: service-unavailable

In IE I get this error:
An error occured:
Code: 500
Type: wait
Condition: internal-server-error

And Tomcat&#039;s log is saying this:
[2] sending response [390275]: Set the &#039;to&#039; attribute of stream element to the domain part of the user&#039;s JID. Example: to=&#039;gmail.com&#039;.

I&#039;m also getting a lot of these:
[Fatal Error] :1:290: The element type &quot;doc&quot; must be terminated by the matching end-tag &quot;&quot;.

I&#039;ve used the full email and just the first part (i.e. gogo@gmail.com and gogo) and neither work.

Any ideas?</description>
		<content:encoded><![CDATA[<p>I&#8217;m using JabberHTTPBind and JSJac 1.2.2.  I can&#8217;t get it to open a chat session at all.  </p>
<p>In Firefox I get this error:<br />
An error occured:<br />
Code: 503<br />
Type: cancel<br />
Condition: service-unavailable</p>
<p>In IE I get this error:<br />
An error occured:<br />
Code: 500<br />
Type: wait<br />
Condition: internal-server-error</p>
<p>And Tomcat&#8217;s log is saying this:<br />
[2] sending response [390275]: Set the &#8216;to&#8217; attribute of stream element to the domain part of the user&#8217;s JID. Example: to=&#8217;gmail.com&#8217;.</p>
<p>I&#8217;m also getting a lot of these:<br />
[Fatal Error] :1:290: The element type &#8220;doc&#8221; must be terminated by the matching end-tag &#8220;&#8221;.</p>
<p>I&#8217;ve used the full email and just the first part (i.e. <a href="mailto:gogo@gmail.com">gogo@gmail.com</a> and gogo) and neither work.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Mark</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-125351</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 28 Jan 2008 14:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-125351</guid>
		<description>Yes, we are talking about the same thing.</description>
		<content:encoded><![CDATA[<p>Yes, we are talking about the same thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Steve</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-125347</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 28 Jan 2008 14:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-125347</guid>
		<description>Mark, sorry for asking again, I wasn&#039;t clear enough in first place: Are you talking about the Alternative Script Syntax as outlined by http://www.xmpp.org/extensions/xep-0124.html#script or about transmitting JSON encode payloads as seen in example 6 at http://www.xmpp.org/extensions/xep-0124.html#stanzas ?</description>
		<content:encoded><![CDATA[<p>Mark, sorry for asking again, I wasn&#8217;t clear enough in first place: Are you talking about the Alternative Script Syntax as outlined by <a href="http://www.xmpp.org/extensions/xep-0124.html#script">http://www.xmpp.org/extensions/xep-0124.html#script</a> or about transmitting JSON encode payloads as seen in example 6 at <a href="http://www.xmpp.org/extensions/xep-0124.html#stanzas">http://www.xmpp.org/extensions/xep-0124.html#stanzas</a> ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Mark</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-125341</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 28 Jan 2008 13:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-125341</guid>
		<description>I am talking about the optional JSON syntax of BOSH.
Is it possible?</description>
		<content:encoded><![CDATA[<p>I am talking about the optional JSON syntax of BOSH.<br />
Is it possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Ben</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-125329</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 28 Jan 2008 13:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-125329</guid>
		<description>Mark, you may want to have a look at yaws&#039; json code for a fairly well working json implementation. Running ejabberd and yaws simultaneously might be tricky though, but you could simly take the json module as a starting point.</description>
		<content:encoded><![CDATA[<p>Mark, you may want to have a look at yaws&#8217; json code for a fairly well working json implementation. Running ejabberd and yaws simultaneously might be tricky though, but you could simly take the json module as a starting point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Steve</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-125313</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 28 Jan 2008 11:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-125313</guid>
		<description>Mark, if you&#039;re talking about &quot;a GET request&quot; you are not talking about the optional JSON syntax of BOSH (formerly known as HTTP Binding), are you? It&#039;s more about additional requests which go along side to Jabber and HTTP Binding, is it? If yes (the latter), then there&#039;s a problem which arises out of the nature of BOSH: a browser typically is allowed to make 2 concurrent AJAX requests at a maxmimum for the same host and port. BOSH can take up to two concurrent connections. So if you do additional AJAX requests you might run into trouble here.
Nevertheless I wouldn&#039;t recommend to hack this into the ejabberd http-bind module. If you&#039;re using ejabberd2 you could just write your own standalone module which handles such requests. ejabberd2 got a nice pluggable architecture for extending its HTTP capabilities. Have a look at the docs!</description>
		<content:encoded><![CDATA[<p>Mark, if you&#8217;re talking about &#8220;a GET request&#8221; you are not talking about the optional JSON syntax of BOSH (formerly known as HTTP Binding), are you? It&#8217;s more about additional requests which go along side to Jabber and HTTP Binding, is it? If yes (the latter), then there&#8217;s a problem which arises out of the nature of BOSH: a browser typically is allowed to make 2 concurrent AJAX requests at a maxmimum for the same host and port. BOSH can take up to two concurrent connections. So if you do additional AJAX requests you might run into trouble here.<br />
Nevertheless I wouldn&#8217;t recommend to hack this into the ejabberd http-bind module. If you&#8217;re using ejabberd2 you could just write your own standalone module which handles such requests. ejabberd2 got a nice pluggable architecture for extending its HTTP capabilities. Have a look at the docs!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Mark</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-124988</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 27 Jan 2008 15:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-124988</guid>
		<description>Hi,

Thank you for your previous answer.

I have a question regarding your http-bind module. It might not be the place to ask but I couldn&#039;t find the right place.

I need to extend your http-bind module to support JSON(javascript) syntax.
Basically, I need ejabberd to listen to a GET request and reply with JSON syntax which is the same as returning a javascript file. I guess it shouldn&#039;t be hard but I&#039;m shooting in the dark.

Do you plan to support the JSON syntax in the future?

Can you explain the steps I&#039;ll need to take to modify your code?

Do you know of utf-8 erlang json implementation?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for your previous answer.</p>
<p>I have a question regarding your http-bind module. It might not be the place to ask but I couldn&#8217;t find the right place.</p>
<p>I need to extend your http-bind module to support JSON(javascript) syntax.<br />
Basically, I need ejabberd to listen to a GET request and reply with JSON syntax which is the same as returning a javascript file. I guess it shouldn&#8217;t be hard but I&#8217;m shooting in the dark.</p>
<p>Do you plan to support the JSON syntax in the future?</p>
<p>Can you explain the steps I&#8217;ll need to take to modify your code?</p>
<p>Do you know of utf-8 erlang json implementation?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Matt Ahl</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-123967</link>
		<dc:creator>Matt Ahl</dc:creator>
		<pubDate>Thu, 24 Jan 2008 18:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-123967</guid>
		<description>Thanks for the quick turnaround on this!  I integrated this change and it worked well.</description>
		<content:encoded><![CDATA[<p>Thanks for the quick turnaround on this!  I integrated this change and it worked well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Steve</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-123907</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 24 Jan 2008 15:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-123907</guid>
		<description>Should be fixed in SVN now</description>
		<content:encoded><![CDATA[<p>Should be fixed in SVN now</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Steve</title>
		<link>http://blog.jwchat.org/2008/01/03/jsjac/#comment-123817</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 24 Jan 2008 09:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://zeank.in-berlin.de/2008/01/03/jsjac/#comment-123817</guid>
		<description>Hi Matt, thanks a lot for this detailed report. Great job! I&#039;ll try to fix this ASAP.</description>
		<content:encoded><![CDATA[<p>Hi Matt, thanks a lot for this detailed report. Great job! I&#8217;ll try to fix this ASAP.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

