<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Programming Ideas, Logics, Tips and Tricks &#187; gtalk</title>
	<atom:link href="http://www.sajithmr.me/tag/gtalk/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sajithmr.me</link>
	<description></description>
	<lastBuildDate>Sat, 07 Apr 2012 16:30:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Find who is invisible in gmail chat (Gtalk)</title>
		<link>http://www.sajithmr.me/find-who-is-invisible-in-gmail-chat-gtalk</link>
		<comments>http://www.sajithmr.me/find-who-is-invisible-in-gmail-chat-gtalk#comments</comments>
		<pubDate>Tue, 04 Nov 2008 10:47:04 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[webworld]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[chatting]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[gtalk]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[invisible]]></category>
		<category><![CDATA[off the record]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/?p=347</guid>
		<description><![CDATA[Many people already blogged about this article. I made the same experiment. It works. If you want to find say xyz@gmail.com is invisible or not. Open your gtalk app and type this email address in top search textbox Click the profile, it opens in new window as usual Click on the down arrow button in [...]]]></description>
			<content:encoded><![CDATA[<p>Many people already blogged about this article. I made the same experiment. It works.<br />
If you want to find say xyz@gmail.com is invisible or not.<br />
Open your gtalk app and type this email address in top search textbox</p>
<p>Click the profile, it opens in new window as usual</p>
<p>Click on the down arrow button in the top right corner of the window, and you can see <strong>Go off the record</strong> link there.</p>
<p>And type any chat, say &#8220;hi&#8221;</p>
<h3>You will get a red text showing the<strong><em> &#8220;person is offline , can&#8217;t receive the message right now</em></strong> &#8221; implies the  <span style="color: #800000;"><strong>person is offline</strong></span></h3>
<p>If this message does not appear, it means the <span style="text-decoration: underline;"><span style="color: #339966;"><strong>user is invisible</strong></span></span></p>
<p>To know more about gmail and gmail chat visit my post series</p>
<p><a title="Gmail Architecture" href="http://www.sajithmr.me/series/gmail-architecture/">http://www.sajithmr.me/series/gmail-architecture/</a></p>
<p>Regards</p>
<p>Sajith</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/find-who-is-invisible-in-gmail-chat-gtalk/feed</wfw:commentRss>
		<slash:comments>79</slash:comments>
		</item>
		<item>
		<title>Gmail Chat Implementation</title>
		<link>http://www.sajithmr.me/gmail-chat-implementation</link>
		<comments>http://www.sajithmr.me/gmail-chat-implementation#comments</comments>
		<pubDate>Wed, 07 May 2008 10:30:34 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[gtalk]]></category>
		<category><![CDATA[implementation]]></category>
		<category><![CDATA[notification]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/gmail-chat-implementation/</guid>
		<description><![CDATA[Today i implemented gmail chat window , not an ajax chat with a chat server, but its client side implementation. Here you can see the demo: http://www.sajithmr.com/gtalk/ Take this link in a new tab or window, and take any other website without closing it. After 3 seconds , (Consider it as a new chat message [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/05/screenshot.jpg" /></p>
<p>Today i implemented gmail chat window , not an ajax chat with a chat server, but its client side implementation.</p>
<p>Here you can see the demo: <font size="4"> <a href="http://www.sajithmr.com/gtalk/" title="Gmail Chat Implementation" target="_blank">http://www.sajithmr.com/gtalk/</a></font></p>
<p>Take this link in a new tab or window, and take any other website without closing it.</p>
<p>After 3 seconds , (Consider it as a new chat message arrived situation) you can see the google chat notification sound , and title changing. (I didn&#8217;t get the actual gtalk notification sound, so i used windows notify.wav file )</p>
<p>You know google (gmail) implemented its sound notification is  via swf object. Here  me too done the same.</p>
<p>I wrote two function to check whether the browser is in focus or not.</p><pre class="crayon-plain-tag"><code></code></pre><p>Here is the functions:</p><pre class="crayon-plain-tag"><code>function lostFocus()
{
document.title = 'Sajith M.R Says...';
state = 'nonfocus';

played =  0 ;

changeColorRed();

alterTitle();

}

function gotFocus()
{
document.title = 'Gmail Inbox(1)';

state = 'focus';

played = 0 ;
}</code></pre><p><p>
The    alterTitle() function calls in 3 seconds setTimeOut manner.</p><pre class="crayon-plain-tag"><code>function alterTitle()
{

if(state =='nonfocus')

{
if ( document.title == 'Gmail Inbox(1)')
{

if(played == 0)
{
soundManager.play('notify');
played = 1;
}

document.title = 'Sajith M.R Says...';

}
else
document.title = 'Gmail Inbox(1)';

setTimeout(&quot;alterTitle()&quot;,3000);

}
}</code></pre><p><p><p>
The soundmanager.js file handles the swf flash object and sound triggering.</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;script/soundmanager.js&#8221;&gt;&lt;/script&gt;</p>
<p>These three simple scripts together created this demo:<font size="4"> <a href="http://www.sajithmr.com/gtalk/" title="Gmail Chat Implementation" target="_blank">http://www.sajithmr.com/gtalk/</a></font></p>
<p>If you want the whole source code , mail me: <a href="mailto://admin@sajithmr.com">admin@sajithmr.com </a></p>
<p>Comment Please &#8230;</p>
<p>Regards</p>
<p>Sajith.M.R<br />
<a href="http://www.sajith.name/" title="Sajith">http://www.sajith.name </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/gmail-chat-implementation/feed</wfw:commentRss>
		<slash:comments>36</slash:comments>
	
		<series:name><![CDATA[Gmail Architecture]]></series:name>
	</item>
	</channel>
</rss>

