<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT блог - полезные заметки. &#187; jabber</title>
	<atom:link href="http://itblog.su/category/jabber/feed" rel="self" type="application/rss+xml" />
	<link>http://itblog.su</link>
	<description>IT blog - авторский блог о Linux, windows, php, mysql.</description>
	<lastBuildDate>Mon, 16 Jan 2012 18:36:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Pandion Reconnect</title>
		<link>http://itblog.su/pandion-reconnect.html</link>
		<comments>http://itblog.su/pandion-reconnect.html#comments</comments>
		<pubDate>Wed, 19 Nov 2008 19:08:08 +0000</pubDate>
		<dc:creator>Артур Шакиров</dc:creator>
				<category><![CDATA[jabber]]></category>

		<guid isPermaLink="false">http://itblog.su/?p=212</guid>
		<description><![CDATA[В популярном Jabber клиенте Pandion есть одна неприятность, не умеет он делать реконнект если потеряно сединение с сервером. Лечится это правкой файла C:\Program Files\Pandion\src\main\XMPPOnStream.js меняем блок (в районе 297-ой строки): &#160; &#160; else if &#40; ReceivedXML.documentElement.selectSingleNode&#40; '/stream:error' &#41; &#41; &#160; &#160; &#123; &#160; &#160; &#160; &#160; if &#40; external.windows.Exists&#40; 'signup' &#41; &#41; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>В популярном Jabber клиенте Pandion есть одна неприятность, не умеет он делать реконнект если потеряно сединение с сервером. Лечится это правкой файла C:\Program Files\Pandion\src\main\XMPPOnStream.js меняем блок (в районе 297-ой строки):</p>
<div class="codecolorer-container javascript mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:700px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> ReceivedXML.<span style="color: #660066;">documentElement</span>.<span style="color: #660066;">selectSingleNode</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'/stream:error'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> external.<span style="color: #660066;">windows</span>.<span style="color: #660066;">Exists</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'signup'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnLoginAbort<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">globals</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'XMPPReconnect'</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> Str <span style="color: #339933;">=</span> <span style="color: #3366CC;">'&lt;/stream:stream&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; warn<span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'SENT: '</span> <span style="color: #339933;">+</span> Str <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">XMPP</span>.<span style="color: #660066;">SendText</span><span style="color: #009900;">&#40;</span> Str <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">XMPP</span>.<span style="color: #660066;">Disconnect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div></div>
<p>на блок:</p>
<div class="codecolorer-container javascript mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:700px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> ReceivedXML.<span style="color: #660066;">documentElement</span>.<span style="color: #660066;">selectSingleNode</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'/stream:error'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> external.<span style="color: #660066;">windows</span>.<span style="color: #660066;">Exists</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'signup'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnLoginAbort<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> ReceivedXML.<span style="color: #660066;">documentElement</span>.<span style="color: #660066;">selectSingleNode</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'/stream:error/system-shutdown'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">globals</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'XMPPReconnect'</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">globals</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'XMPPReconnect'</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://itblog.su/pandion-reconnect.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

