<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>DigiMantra</title>
	
	<link>http://www.digimantra.com</link>
	<description>Technology tips for all</description>
	<lastBuildDate>Wed, 10 Mar 2010 18:29:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/digimantra" /><feedburner:info uri="digimantra" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-nd/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>digimantra</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Understanding Open ID and know how it works</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/VXvcenJfYzw/</link>
		<comments>http://www.digimantra.com/open-source/dissecting-open-id-understanding-works/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 18:13:27 +0000</pubDate>
		<dc:creator>nitish</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2507</guid>
		<description><![CDATA[Know what open ID is and how it works.


Related posts:<ol><li><a href='http://www.digimantra.com/tutorials/how-client-server-model-works-in-websites/' rel='bookmark' title='Permanent Link: How client server model works in websites'>How client server model works in websites</a></li>
<li><a href='http://www.digimantra.com/microsoft/internet-explorer-8-beta-launched-by-microsoft/' rel='bookmark' title='Permanent Link: Internet Explorer 8 beta launched by microsoft'>Internet Explorer 8 beta launched by microsoft</a></li>
<li><a href='http://www.digimantra.com/technology/javascript/glow-an-open-source-javascript-library-by-bbc/' rel='bookmark' title='Permanent Link: Glow an open source javascript library by BBC'>Glow an open source javascript library by BBC</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Man created the Internet and man put it to abundant use. Man made it so popular and easy that anyone could use it. Man shared information over the Net. He shared sensitive information over the Net. And man then cursed the Internet for being insecure. If man can make it, he can break (read hack) into it as well. So now, he tries to secure himself so that he can still share information over the Internet, as he cannot do without it. There have been many security issues right from the beginning. Password hacking (actually cracking), hacking is doing it for need and cracking is doing it for greed. Then there has been sensitive information stealing, credit card transactions misuse etc. There has been a lot of research for securing passwords and transaction over the Internet- Encryption-decryption, cryptography, quantum cryptography, secure electronic transactions, payment gateways and many more.</p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/03/clip_image0021.gif"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="clip_image002" src="http://www.digimantra.com/blog/wp-content/uploads/2010/03/clip_image002_thumb1.gif" border="0" alt="clip image002 thumb1 Understanding Open ID and know how it works" width="576" height="287" /></a></p>
<p><strong><a rel="nofollow" target="_blank" href="http://openid.net/" target="_blank">Open id</a> </strong>or open identity is another means to secure passwords by using centralized standards. It allows users to log into various sites that use Open-id by using a single digital identity or digital signature that is provided by the Open id providers. In layman terms, Open id is logging in and providing a password only once, and still being able to log into other sites without providing the password to all of them. It is only the Open id provider who keeps the password and provides an identity to the user and also, authenticates the identity whenever a website needs to authenticate the user. Thus, since the password stays with the Open id provider, it is more secure and effective.</p>
<p>Now, a word (actually, many words) about the technical aspect of Open id.</p>
<p>Elements or parties associated with Open id:</p>
<ul>
<li>End user</li>
<li>Identifier</li>
<li>Identity provider or Open Id provider</li>
<li>Relying party</li>
<li>Server or server agent</li>
<li>User agent</li>
<li>Consumer</li>
</ul>
<p>For a complete cycle of accessing a site using Open id, an end user has to first register with an Identity Provider or Open id provider to obtain an identifier. The identifier can either be a Uniform Resource Locator (URL) or an Extensible Resource Identifier (XRI). The identifier identifies each end user uniquely. When a user wants to access any page of a Relying party (a relying party is basically a service provider whose service is needed by the End user, but securely), he/she enters his Open Identifier (which can be URL or XRI). The relying party login page, does not ask for username and password, it only asks for the Open id. Now, the relying party visits the web page located at that URL to verify the Id entered by the user. After that, there are two modes by which the relying party can communicate with the Identity Provider.</p>
<ul>
<li>The relying party requests the provider not to interact with the user</li>
<li>The relying party requests a mode where the user communicates directly with the provider to control the interaction.</li>
</ul>
<p>The mode where the user interacts directly with the provider is used more commonly on the Web.</p>
<p>The provider first verifies whether the relying party is genuine or not using a ‘Shared Secret’. Then the provider asks the user for his Open id password, and then asks whether the user wishes to trust the Relying party. If the user declines, the Relying party is notified that authentication has been rejected. If the user agrees, the Relying party is assured of the authenticity, and the Relying Party then verifies whether the authentication came from a valid Provider. The connection is complete, and the user can now use services of the Relying Party.</p>
<p>There are a number of benefits of using Open Id. Apart from providing security, it also saves login time. Also, there is no need for remembering multiple usernames and passwords. Most importantly, one can have a greater control over their activities over the Net. There are also various versions of Open Id available which provide secure communication in different ways, but ultimately perform the same task.</p>
<p>As of December 2009, there are 1 billion Open Id’s on the Net and around 9 million sites support Open Id’s. Some of the Open Id providers are AOL, Orange, and VeriSign etc.</p>
<p>Look around you will find open id everywhere (Google, Yahoo, AOL), photo stream (Flickr) or blog (Blogger, Wordpress, LiveJournal)</p>
<p>SAFE BROWSING!</p>
<p>Stay digified !!!</p>
<p>Nitish jha</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/tutorials/how-client-server-model-works-in-websites/' rel='bookmark' title='Permanent Link: How client server model works in websites'>How client server model works in websites</a></li>
<li><a href='http://www.digimantra.com/microsoft/internet-explorer-8-beta-launched-by-microsoft/' rel='bookmark' title='Permanent Link: Internet Explorer 8 beta launched by microsoft'>Internet Explorer 8 beta launched by microsoft</a></li>
<li><a href='http://www.digimantra.com/technology/javascript/glow-an-open-source-javascript-library-by-bbc/' rel='bookmark' title='Permanent Link: Glow an open source javascript library by BBC'>Glow an open source javascript library by BBC</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/VXvcenJfYzw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/open-source/dissecting-open-id-understanding-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/open-source/dissecting-open-id-understanding-works/</feedburner:origLink></item>
		<item>
		<title>Know when Googlebot visits your site/blog</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/JZzZcmyoT7Y/</link>
		<comments>http://www.digimantra.com/tips/know-when-googlebot-visits-your-site-blog/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 08:42:23 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2501</guid>
		<description><![CDATA[Know when Googlebot visits your site/blog


Related posts:<ol><li><a href='http://www.digimantra.com/google/free-google-sms-channel-for-your-site-or-blog/' rel='bookmark' title='Permanent Link: Free google sms channel for your site or blog'>Free google sms channel for your site or blog</a></li>
<li><a href='http://www.digimantra.com/howto/enable-google-translation-on-your-site-or-blog/' rel='bookmark' title='Permanent Link: Enable google translation on your site or blog'>Enable google translation on your site or blog</a></li>
<li><a href='http://www.digimantra.com/technology/javascript/how-to-remove-digg-or-any-other-site-bar/' rel='bookmark' title='Permanent Link: How to remove digg or any other site bar'>How to remove digg or any other site bar</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hey Folks, </p>
<p>A webmaster is always curious to know about the visitors on his website such as the number of visits, pageviews etc. Another important thing which needs to be taken care of is when do the Googlebot or crawler visits your website. Albeit, this information can be collected from <a rel="nofollow" target="_blank" href="http://google.com/webmasters" target="_blank">Google’s webmaster tools</a> but in some cases we need to know instantly when the google bot visits&#160; your website. </p>
<p>So for that insert the following PHP code on your webpage. You can insert this code on the index page and it can be inserted anywhere on the page, may be in the header or footer. This code simply detects the term “Googlebot” in the useragent supplied and then shoots an email to the specified email address. You can also extend that code to store the information to the database and can analyze afterwards. </p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_USER_AGENT'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Googlebot'</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">// paste your email address here</span>
  <span style="color: #000088;">$my_email</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'your_email_address@email.com'</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// notify via email</span>
  <span style="color: #990000;">mail</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$my_email</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'[Notification]Googlebot Visit'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Googlebot has just visited your website WEBSITE_NAME: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p><strong>Just a note, </strong>anyone can easily fake the useragent to pretend as Google bot and can send mass mail to your email address. So its a best practice to do some validation before you implement this script, you can try inserting the IP of the user in the database with corresponding timestamp. </p>
<p>
This script is not limited to only Googlebot, you can replace the useragent &#8220;Googlebot&#8221; with Yahoo, MSN etc if you are interested in knowing when their crawler(s) visit.
</p>
<p>Next time Googlebot visits your website, you will be pinged to welcome it. </p>
<p>Hope you learnt something new. </p>
<p>Stay Digified !!</p>
<p>Sachin Khosla.</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/google/free-google-sms-channel-for-your-site-or-blog/' rel='bookmark' title='Permanent Link: Free google sms channel for your site or blog'>Free google sms channel for your site or blog</a></li>
<li><a href='http://www.digimantra.com/howto/enable-google-translation-on-your-site-or-blog/' rel='bookmark' title='Permanent Link: Enable google translation on your site or blog'>Enable google translation on your site or blog</a></li>
<li><a href='http://www.digimantra.com/technology/javascript/how-to-remove-digg-or-any-other-site-bar/' rel='bookmark' title='Permanent Link: How to remove digg or any other site bar'>How to remove digg or any other site bar</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/JZzZcmyoT7Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/tips/know-when-googlebot-visits-your-site-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/tips/know-when-googlebot-visits-your-site-blog/</feedburner:origLink></item>
		<item>
		<title>Learn SEO from Google’s SEO report card</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/HHefl2EcPPY/</link>
		<comments>http://www.digimantra.com/google/learn-seo-from-google-seo-report-card/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 18:12:52 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2491</guid>
		<description><![CDATA[Learn SEO from Google’s SEO report card


Related posts:<ol><li><a href='http://www.digimantra.com/google/google-search-images-copyrighted/' rel='bookmark' title='Permanent Link: Google : Search for images which are not copyrighted'>Google : Search for images which are not copyrighted</a></li>
<li><a href='http://www.digimantra.com/tutorials/wordpress/simple-free-seo-tricks-for-wordpress-for-your-wordpress-blog/' rel='bookmark' title='Permanent Link: Simple, free SEO tricks for your wordpress blog'>Simple, free SEO tricks for your wordpress blog</a></li>
<li><a href='http://www.digimantra.com/google/google-web-elements/' rel='bookmark' title='Permanent Link: Google web elements, goodies for your website'>Google web elements, goodies for your website</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hey folks,</p>
<p>Wonder what are the best SEO techniques ? Wonder what should be the font-size of your blog, title etc. Well now you can take guidance from none other than <a rel="nofollow" target="_blank" href="http://Google.com" target="_blank">Google.com</a>. YES ! Google has shared its <a rel="nofollow" target="_blank" href="http://googlewebmastercentral.blogspot.com/2010/03/googles-seo-report-card.html" target="_blank">SEO report card</a> last week, which shows that Google itself practices SEO techniques to get better ranking in its search engine. Sounds funny though !</p>
<p>But if you analyze the results , you will get to know lot of new stuff about SEO and its practices. You can <a rel="nofollow" target="_blank" href="http://www.google.com/webmasters/docs/google-seo-report-card.pdf" target="_blank">download the report directly from here</a>.</p>
<p>Hope this helps.</p>
<p>Stay Digified !!<br />
Sachin Khosla.</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/google/google-search-images-copyrighted/' rel='bookmark' title='Permanent Link: Google : Search for images which are not copyrighted'>Google : Search for images which are not copyrighted</a></li>
<li><a href='http://www.digimantra.com/tutorials/wordpress/simple-free-seo-tricks-for-wordpress-for-your-wordpress-blog/' rel='bookmark' title='Permanent Link: Simple, free SEO tricks for your wordpress blog'>Simple, free SEO tricks for your wordpress blog</a></li>
<li><a href='http://www.digimantra.com/google/google-web-elements/' rel='bookmark' title='Permanent Link: Google web elements, goodies for your website'>Google web elements, goodies for your website</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/HHefl2EcPPY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/google/learn-seo-from-google-seo-report-card/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/google/learn-seo-from-google-seo-report-card/</feedburner:origLink></item>
		<item>
		<title>How to avoid fatal error Cannot redeclare function in PHP</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/E0cnYpfAU1k/</link>
		<comments>http://www.digimantra.com/technology/php/avoid-fatal-error-redeclare-function-php/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 17:49:53 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2486</guid>
		<description><![CDATA[How to avoid fatal error Cannot redeclare function in PHP


Related posts:<ol><li><a href='http://www.digimantra.com/technology/apache/change-default-phpini-values-htaccess/' rel='bookmark' title='Permanent Link: Change default php.ini values using .htaccess'>Change default php.ini values using .htaccess</a></li>
<li><a href='http://www.digimantra.com/technology/php/magic-methods-php/' rel='bookmark' title='Permanent Link: Magic methods in PHP'>Magic methods in PHP</a></li>
<li><a href='http://www.digimantra.com/technology/javascript/check-username-availability-validation-ajaxphp/' rel='bookmark' title='Permanent Link: Check username availability and validation using ajax,php'>Check username availability and validation using ajax,php</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is for the programmers who are using functions to drive a website in PHP or there are some instances when you are using a common file which has some utility functions in it. In this kind of scenario the same file loops around on different pages and there exists this <strong>&#8220;Fatal error: Cannot redeclare function&#8221;</strong>. This error will be encountered if you define a function in the following fashion.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> utility<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #666666; font-style: italic;">//your function definition goes here</span>
  <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Not many of you might face this problem since we use classes and functions are sandwiched inside them with some scope. But to avoid this kind of error you can define the same function in the following fashion,with a check before defining it.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'utility'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">function</span> utility<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">//your function definition goes here</span>
    <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>As you see we just check if the function already exists with the help of a PHP’s inbuilt function <strong>function_exists()</strong>. Hence by using the above methodology you can avoid this fatal error and your code won’t break.</p>
<p>Hope that helps.</p>
<p>Stay Digified !!<br />
Sachin Khosla</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/technology/apache/change-default-phpini-values-htaccess/' rel='bookmark' title='Permanent Link: Change default php.ini values using .htaccess'>Change default php.ini values using .htaccess</a></li>
<li><a href='http://www.digimantra.com/technology/php/magic-methods-php/' rel='bookmark' title='Permanent Link: Magic methods in PHP'>Magic methods in PHP</a></li>
<li><a href='http://www.digimantra.com/technology/javascript/check-username-availability-validation-ajaxphp/' rel='bookmark' title='Permanent Link: Check username availability and validation using ajax,php'>Check username availability and validation using ajax,php</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/E0cnYpfAU1k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/technology/php/avoid-fatal-error-redeclare-function-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/technology/php/avoid-fatal-error-redeclare-function-php/</feedburner:origLink></item>
		<item>
		<title>How to install IIS on windows 7 or Vista</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/r-thEkC1MrM/</link>
		<comments>http://www.digimantra.com/microsoft/windows-vista/install-iis-windows-7-vista/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 17:36:26 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[windows7]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2481</guid>
		<description><![CDATA[How to install IIS on windows 7 or Vista


Related posts:<ol><li><a href='http://www.digimantra.com/microsoft/enable-hibernation-in-windows-vista/' rel='bookmark' title='Permanent Link: Enable hibernation in windows Vista'>Enable hibernation in windows Vista</a></li>
<li><a href='http://www.digimantra.com/microsoft/change-your-windows-vista-xp-password-from-command-prompt/' rel='bookmark' title='Permanent Link: Change your windows vista, xp password from command prompt'>Change your windows vista, xp password from command prompt</a></li>
<li><a href='http://www.digimantra.com/microsoft/end-process-from-command-line-or-console-when-task-manager-is-not-working-in-windows/' rel='bookmark' title='Permanent Link: End process from command line or console when task manager is not working in windows'>End process from command line or console when task manager is not working in windows</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you are a developer and you are using <a rel="nofollow" target="_blank" href="http://www.microsoft.com/windows/windows-7/" target="_blank">Windows 7</a>, installing <a rel="nofollow" target="_blank" href="http://www.iis.net/" target="_blank">IIS</a> (internet information server) would be the first thing you would like to do. Installing IIS is just installing one of the Windows component but the steps involved are sometimes hard to find, since its not installed by default. So let’s continue step by step.</p>
<p>1) Go to control panel from start menu or simply type “control” in the run menu and hit enter. If you are having category view then click on programs and then click on “Turn windows feature on or off”, as shown in the screenshot below.</p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/03/windows_feature_turn_on_off.gif"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="windows_feature_turn_on_off" src="http://www.digimantra.com/blog/wp-content/uploads/2010/03/windows_feature_turn_on_off_thumb.gif" border="0" alt="windows feature turn on off thumb How to install IIS on windows 7 or Vista" width="620" height="274" /></a></p>
<p>2) Next, you will see a list of programs available in windows that can be turned on or off. Expand the options and check the one which you require.</p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/03/IIS_splash.gif"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="IIS_splash" src="http://www.digimantra.com/blog/wp-content/uploads/2010/03/IIS_splash_thumb.gif" border="0" alt="IIS splash thumb How to install IIS on windows 7 or Vista" width="580" height="567" /></a></p>
<p>3) When windows finish the update process, open your browser and type <a rel="nofollow" target="_blank" href="http://locahost">http://locahost</a> , it will show you the following splash screen of IIS, which is stored by default at C drive inside inetpub&gt;wwwroot</p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/03/IIS7_splash.gif"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="IIS7_splash" src="http://www.digimantra.com/blog/wp-content/uploads/2010/03/IIS7_splash_thumb.gif" border="0" alt="IIS7 splash thumb How to install IIS on windows 7 or Vista" width="603" height="443" /></a></p>
<p>Install and enjoy your development on IIS7.</p>
<p>Stay Digified !!<br />
Sachin Khosla</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/microsoft/enable-hibernation-in-windows-vista/' rel='bookmark' title='Permanent Link: Enable hibernation in windows Vista'>Enable hibernation in windows Vista</a></li>
<li><a href='http://www.digimantra.com/microsoft/change-your-windows-vista-xp-password-from-command-prompt/' rel='bookmark' title='Permanent Link: Change your windows vista, xp password from command prompt'>Change your windows vista, xp password from command prompt</a></li>
<li><a href='http://www.digimantra.com/microsoft/end-process-from-command-line-or-console-when-task-manager-is-not-working-in-windows/' rel='bookmark' title='Permanent Link: End process from command line or console when task manager is not working in windows'>End process from command line or console when task manager is not working in windows</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/r-thEkC1MrM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/microsoft/windows-vista/install-iis-windows-7-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/microsoft/windows-vista/install-iis-windows-7-vista/</feedburner:origLink></item>
		<item>
		<title>Drag an element,image etc using javascript,html,css</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/JxC8acxB7-4/</link>
		<comments>http://www.digimantra.com/tutorials/drag-an-element-image-etc-using-javascript-html-css/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 10:11:09 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2466</guid>
		<description><![CDATA[Learn how to make an element draggable using javascript,html,css.


Related posts:<ol><li><a href='http://www.digimantra.com/tutorials/add-append-remove-value-in-select-html-element-using-javascript/' rel='bookmark' title='Permanent Link: Add append remove value in select html element using javascript'>Add append remove value in select html element using javascript</a></li>
<li><a href='http://www.digimantra.com/technology/adding-a-class-to-an-element-using-javascript/' rel='bookmark' title='Permanent Link: Adding a class to an element using javascript'>Adding a class to an element using javascript</a></li>
<li><a href='http://www.digimantra.com/tutorials/add-javascript-function-using-css-class/' rel='bookmark' title='Permanent Link: Add javascript function using css class'>Add javascript function using css class</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hey fellas,</p>
<p>Today I am going to show you how you can make an element draggable or moveable on your webpage. This webpage element can be either image, div or even input box. We are going to use simple Javascript, CSS and HTML for this purpose. You can see a <a rel="nofollow" target="_blank" href="http://digimantra.com/demo/drag.html" target="_blank">working demo on this page</a> and can save the file from there or just copy paste the code from below.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Simple Drag&lt;/title&gt;
&nbsp;
    <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
      <span style="color: #006600; font-style: italic;">//object of the element to be moved</span>
      _item <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #006600; font-style: italic;">//stores x &amp; y co-ordinates of the mouse pointer</span>
      mouse_x <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
      mouse_y <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #006600; font-style: italic;">// stores top,left values (edge) of the element</span>
      ele_x <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
      ele_y <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #006600; font-style: italic;">//bind the functions</span>
      <span style="color: #003366; font-weight: bold;">function</span> move_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
        document.<span style="color: #660066;">onmousemove</span> <span style="color: #339933;">=</span> _move<span style="color: #339933;">;</span>
        document.<span style="color: #660066;">onmouseup</span> <span style="color: #339933;">=</span> _stop<span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      <span style="color: #006600; font-style: italic;">//destroy the object when we are done</span>
      <span style="color: #003366; font-weight: bold;">function</span> _stop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
        _item <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      <span style="color: #006600; font-style: italic;">//main functions which is responsible for moving the element (div in our example)</span>
      <span style="color: #003366; font-weight: bold;">function</span> _move<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
        mouse_x <span style="color: #339933;">=</span> document.<span style="color: #660066;">all</span> <span style="color: #339933;">?</span> window.<span style="color: #660066;">event</span>.<span style="color: #660066;">clientX</span> <span style="color: #339933;">:</span> e.<span style="color: #660066;">pageX</span><span style="color: #339933;">;</span>
        mouse_y <span style="color: #339933;">=</span> document.<span style="color: #660066;">all</span> <span style="color: #339933;">?</span> window.<span style="color: #660066;">event</span>.<span style="color: #660066;">clientY</span> <span style="color: #339933;">:</span> e.<span style="color: #660066;">pageY</span><span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>_item <span style="color: #339933;">!=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span> 
          _item.<span style="color: #660066;">style</span>.<span style="color: #660066;">left</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>mouse_x <span style="color: #339933;">-</span> ele_x<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">;</span>
          _item.<span style="color: #660066;">style</span>.<span style="color: #660066;">top</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>mouse_y <span style="color: #339933;">-</span> ele_y<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      <span style="color: #006600; font-style: italic;">//will be called when use starts dragging an element</span>
      <span style="color: #003366; font-weight: bold;">function</span> _move_item<span style="color: #009900;">&#40;</span>ele<span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
        <span style="color: #006600; font-style: italic;">//store the object of the element which needs to be moved</span>
        _item <span style="color: #339933;">=</span> ele<span style="color: #339933;">;</span>
        ele_x <span style="color: #339933;">=</span> mouse_x <span style="color: #339933;">-</span> _item.<span style="color: #660066;">offsetLeft</span><span style="color: #339933;">;</span>
        ele_y <span style="color: #339933;">=</span> mouse_y <span style="color: #339933;">-</span> _item.<span style="color: #660066;">offsetTop</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #009900;">&#125;</span>
    <span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
    &lt;style type=&quot;text/css&quot;&gt;
      #ele{
        background-color: #797979;
        color: #fff;
        width: 300px;
        height:100px;
        cursor: move;
        position: relative;
        padding: 10px;
      }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body onload=&quot;move_init()&quot;&gt;
&nbsp;
    &lt;div id=&quot;ele&quot; style=&quot;left:50px;top:60px;z-index: 5;&quot; onmousedown=&quot;_move_item(this);&quot; &gt;
      &lt;h3&gt;My draggable element&lt;/h3&gt;
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</pre></div></div>

<p>Albeit, the above code is self explanatory, due to the presence of inline comments, but still for the depth view, here is a small description of the above code. </p>
<p>As soon as the body loads (<strong><em>onload</em></strong> event) a Javascript function called <strong><em>move_init() </em></strong>which binds the functions <strong><em>_move </em></strong>and <strong><em>_stop</em></strong> on events <strong><em>onmousemove </em></strong>and <strong><em>onmouseup </em></strong>respectively. When the element is not clicked for dragging the <em><strong>_move </strong></em>keeps updating the position of the mouse pointer in the variables <strong><em>mouse_x </em></strong>and <strong><em>mouse_y. </em></strong>Now when the user clicks the element which he wants to drag the function <strong><em>_move_item() </em></strong>is called which updates the <strong><em>_item </em></strong>variable with current elements object, from which we can easily grab the offset positions of the element.</p>
<p>Now that we have the offset position of the element and mouse positions, we simply need to change the position of the element using the CSS property of the element. Make sure the <em>styles are defined inline </em>and the <em>position of the element should be relative, </em>otherwise the script will not work.</p>
<p>If you have any questions/comments, you can holla back by leaving a comment below.</p>
<p>Hope that helps.</p>
<p>Stay Digified !!<br />
Sachin Khosla</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/tutorials/add-append-remove-value-in-select-html-element-using-javascript/' rel='bookmark' title='Permanent Link: Add append remove value in select html element using javascript'>Add append remove value in select html element using javascript</a></li>
<li><a href='http://www.digimantra.com/technology/adding-a-class-to-an-element-using-javascript/' rel='bookmark' title='Permanent Link: Adding a class to an element using javascript'>Adding a class to an element using javascript</a></li>
<li><a href='http://www.digimantra.com/tutorials/add-javascript-function-using-css-class/' rel='bookmark' title='Permanent Link: Add javascript function using css class'>Add javascript function using css class</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/JxC8acxB7-4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/tutorials/drag-an-element-image-etc-using-javascript-html-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/tutorials/drag-an-element-image-etc-using-javascript-html-css/</feedburner:origLink></item>
		<item>
		<title>Now search gmail, google reader and buzz from the chrome browser</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/IiQLM3pk0no/</link>
		<comments>http://www.digimantra.com/google/search-gmail-google-reader-and-buzz-from-the-chrome-browser/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 06:21:07 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2461</guid>
		<description><![CDATA[Search Gmail, Google reader, Google buzz from Google chrome browser


Related posts:<ol><li><a href='http://www.digimantra.com/google/disable-enable-google-buzz/' rel='bookmark' title='Permanent Link: How to disable or enable Google buzz'>How to disable or enable Google buzz</a></li>
<li><a href='http://www.digimantra.com/google/google-search-images-copyrighted/' rel='bookmark' title='Permanent Link: Google : Search for images which are not copyrighted'>Google : Search for images which are not copyrighted</a></li>
<li><a href='http://www.digimantra.com/google/gmail-now-adds-sms-chat-function/' rel='bookmark' title='Permanent Link: Gmail now adds SMS chat function'>Gmail now adds SMS chat function</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hey Folks,</p>
<p>You are totally “<em><strong>Googlefied</strong></em>” when you use <a rel="nofollow" target="_blank" href="http://mail.google.com" target="_blank">Gmail</a> as your email client, <a rel="nofollow" target="_blank" href="http://www.google.com/reader" target="_blank">Google reader</a> as RSS reader web application and <a rel="nofollow" target="_blank" href="http://www.google.com/buzz" target="_blank">Google Buzz</a> for updating your social network accounts. But there is a reward which <a rel="nofollow" target="_blank" href="http://google.com" target="_blank">Google</a> has to offered for its loyal users and the reward is called “ease of usage”. An example of this easiness is performing search in these application right from one place and that is <a rel="nofollow" target="_blank" href="http://www.google.com/chrome" target="_blank">Google chrome browser</a>.</p>
<p>Yes, this is right, you can search Gmail inbox, Google reader and Google buzz from chrome browser. Apparently, as long as you are signed into these application(s). Let me show you how you can add these search engines to your browser and search these applications for content without having to actually open them.</p>
<h3><span style="color: #ff6600;"><strong>Search Gmail from Chrome : </strong></span></h3>
<p>1. Open Chrome.</p>
<p>2. Right-click the address bar and select <strong>Edit search engines</strong>.</p>
<p>3. Click the<strong> Add</strong> button.</p>
<p>4. Input  <strong>Name</strong> as Gmail, <strong>keyword</strong> as gmail and use the following for the <strong>URL</strong> box:</p>
<blockquote><p><code>https://mail.google.com/mail/#search/%s</code></p></blockquote>
<p>To start searching, type “gmail” and press tab it will show “Search Gmail” (see the image below) in the address bar, now type the keyword to search.</p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/gmail_search_chrome.gif"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="gmail_search_chrome" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/gmail_search_chrome_thumb.gif" border="0" alt="gmail search chrome thumb Now search gmail, google reader and buzz from the chrome browser" width="579" height="73" /></a></p>
<p><span style="color: #ff6600;"><strong>Search Google Reader from Chrome : </strong></span></p>
<p>Repeat the above 3 steps. (see the image below)</p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/searchengine_chrome.gif"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="searchengine_chrome" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/searchengine_chrome_thumb.gif" border="0" alt="searchengine chrome thumb Now search gmail, google reader and buzz from the chrome browser" width="328" height="215" /></a></p>
<p>4. Input  <strong>Name</strong> as Google Reader, <strong>keyword</strong> as reader and use the following for the <strong>URL</strong> box:</p>
<blockquote><p><code>https://www.google.com/reader/view/?tab=my#search/%s</code></p></blockquote>
<p>To start searching, type “reader” and press tab key it will show “Search Google Reader” in the address bar, now type the keyword to search.</p>
<p><span style="color: #ff6600;"><strong>Search Buzz from Chrome : </strong></span></p>
<p>Repeat the above 3 steps. (see the image below)<br />
<a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/searchengine_chrome1.gif"><img class="aligncenter size-medium wp-image-2462" style="border: 0px none; display: block; margin-right: auto; margin-left: auto; float: none;" title="searchengine_chrome" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/searchengine_chrome1-300x196.gif" alt="searchengine chrome1 300x196 Now search gmail, google reader and buzz from the chrome browser" width="300" height="196" /></a></p>
<p>4. Input  <strong>Name</strong> as Google Buzz, <strong>keyword</strong> as buzz and use the following for the <strong>URL</strong> box:</p>
<blockquote><p><code>https://mail.google.com/mail/#buzz/search/%s</code></p></blockquote>
<p>To start searching, type “buzz” and press tab it will show “Search Google Buzz” in the address bar, now type the keyword to search.</p>
<p>Happy Searchingto you.</p>
<p>Stay Digified !!<br />
Sachin Khosla</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/google/disable-enable-google-buzz/' rel='bookmark' title='Permanent Link: How to disable or enable Google buzz'>How to disable or enable Google buzz</a></li>
<li><a href='http://www.digimantra.com/google/google-search-images-copyrighted/' rel='bookmark' title='Permanent Link: Google : Search for images which are not copyrighted'>Google : Search for images which are not copyrighted</a></li>
<li><a href='http://www.digimantra.com/google/gmail-now-adds-sms-chat-function/' rel='bookmark' title='Permanent Link: Gmail now adds SMS chat function'>Gmail now adds SMS chat function</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/IiQLM3pk0no" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/google/search-gmail-google-reader-and-buzz-from-the-chrome-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/google/search-gmail-google-reader-and-buzz-from-the-chrome-browser/</feedburner:origLink></item>
		<item>
		<title>How to get current location in iPhone safari or firefox browser</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/fZASFBSRoy0/</link>
		<comments>http://www.digimantra.com/howto/current-location-iphone-safari-firefox-browser/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 18:18:36 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2435</guid>
		<description><![CDATA[How to detected location of the visitor in iPhone safari browser or Mozilla Fireofx using simple Javascript code.


Related posts:<ol><li><a href='http://www.digimantra.com/firefox/switch-user-agent-iphone-mozilla-firefox/' rel='bookmark' title='Permanent Link: Switch your user agent to iphone in Mozilla firefox'>Switch your user agent to iphone in Mozilla firefox</a></li>
<li><a href='http://www.digimantra.com/technology/rounded-corners-with-firefox-and-safari-using-css3/' rel='bookmark' title='Permanent Link: Rounded corners in firefox and safari using css3'>Rounded corners in firefox and safari using css3</a></li>
<li><a href='http://www.digimantra.com/google/google-chrome-change-default-download-location/' rel='bookmark' title='Permanent Link: Google Chrome : Change default download location'>Google Chrome : Change default download location</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hey people,</p>
<p>Planning to update your application to a new level. Or thinking to add some new features to your current website. Well whatever you plan, do not forget to make it more intelligent. YES ! You can make your website more intelligent by making it enable to detect current location of the visitor visiting your website.</p>
<p>If your website is content related you can provide specific content related to visitor’s current location. That sounds little difficult at first but when you will see the real implementation you will come to know that how blessed day it is for you.</p>
<p>You can detect  visitor’s current location using a simple javascript function. This javascript function provides you the current latitudinal and longitudinal values of user’s location. These values are based on the hosting devices IP address. This technique may or may not be accurate but upto some level it is very helpful.</p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/Globe.jpg"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="Globe" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/Globe_thumb.jpg" border="0" alt="Globe thumb How to get current location in iPhone safari or firefox browser" width="214" height="214" /></a></p>
<p>Geolocation on all browsers is becoming very common and popular. Today almost every browser is trying to implement geolocation. Even W3C has a <a rel="nofollow" target="_blank" href="http://www.slideshare.net/rsarver/w3c-geolocation-api-making-websites-locationaware" target="_blank">standard</a> for the geolocation now. The code to know the latitude and longitude is given below and a <a href="http://www.digimantra.com/demo/geolocation.html" target="_blank">demo can be tested on this page</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&lt;html&gt;
&lt;head&gt;
&lt;title&gt; Know your current location &lt;/title&gt;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
  navigator.<span style="color: #660066;">geolocation</span>.<span style="color: #660066;">getCurrentPosition</span><span style="color: #009900;">&#40;</span>getLocation<span style="color: #339933;">,</span> unknownLocation<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #003366; font-weight: bold;">function</span> getLocation<span style="color: #009900;">&#40;</span>pos<span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> latitde <span style="color: #339933;">=</span> pos.<span style="color: #660066;">coords</span>.<span style="color: #660066;">latitude</span><span style="color: #339933;">;</span>
    <span style="color: #003366; font-weight: bold;">var</span> longitude <span style="color: #339933;">=</span> pos.<span style="color: #660066;">coords</span>.<span style="color: #660066;">longitude</span><span style="color: #339933;">;</span>
    <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Your current coordinates (latitide,longitude) are : '</span> <span style="color: #339933;">+</span> latitde <span style="color: #339933;">+</span> <span style="color: #3366CC;">', '</span> <span style="color: #339933;">+</span> longitude<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #003366; font-weight: bold;">function</span> unknownLocation<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Could not find location'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&lt;/html&gt;</pre></div></div>

<p>The above function <strong><em>getCurrentPosition </em></strong>requires names of two arguments, which are function references. You can either write the name of the callback function or can also write inline anonymous functions to process the location information. On successful detection of location, the function <strong><em>getLocation</em></strong> is called to which object containing the location information is passed. You can store the values in variable and can do a Ajax call, display it on a map or whatever you like to utilize it with.</p>
<p>The second function,<strong><em>unknownLocation</em></strong> , is called just in case the location is not detected by any means. It can be a denial by the user or may be that the script is unable to detect the location. When the location of the user is shared, it first confirms from the user if he/she wants to share the location information or no. This is done at the browser’s end, as mentioned in the W3C API standards.</p>
<p>Currently the above script only alerts the location or failure, but you can utilize whatever the way you want to.</p>
<p>Hope you like this post and you learn something from this.</p>
<p>Stay Digified !!<br />
Sachin Khosla</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/firefox/switch-user-agent-iphone-mozilla-firefox/' rel='bookmark' title='Permanent Link: Switch your user agent to iphone in Mozilla firefox'>Switch your user agent to iphone in Mozilla firefox</a></li>
<li><a href='http://www.digimantra.com/technology/rounded-corners-with-firefox-and-safari-using-css3/' rel='bookmark' title='Permanent Link: Rounded corners in firefox and safari using css3'>Rounded corners in firefox and safari using css3</a></li>
<li><a href='http://www.digimantra.com/google/google-chrome-change-default-download-location/' rel='bookmark' title='Permanent Link: Google Chrome : Change default download location'>Google Chrome : Change default download location</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/fZASFBSRoy0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/howto/current-location-iphone-safari-firefox-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/howto/current-location-iphone-safari-firefox-browser/</feedburner:origLink></item>
		<item>
		<title>File Sharing on Ubuntu 9.10 with Samba Client</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/dzgTuKmKA9U/</link>
		<comments>http://www.digimantra.com/open-source/ubuntu/file-sharing-ubuntu-910-samba-client/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 08:57:23 +0000</pubDate>
		<dc:creator>tanay</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2427</guid>
		<description><![CDATA[know how to share files and folders in Ubuntu using Samba Client


Related posts:<ol><li><a href='http://www.digimantra.com/open-source/ubuntu/add-permissions-to-var-www/' rel='bookmark' title='Permanent Link: Add permissions to  /var/www in ubuntu'>Add permissions to  /var/www in ubuntu</a></li>
<li><a href='http://www.digimantra.com/tutorials/install-run-files-in-ubuntu/' rel='bookmark' title='Permanent Link: install .run files in ubuntu'>install .run files in ubuntu</a></li>
<li><a href='http://www.digimantra.com/linux/install-jre-jdk-java-in-ubuntu/' rel='bookmark' title='Permanent Link: Install JRE , JDK, Java in ubuntu'>Install JRE , JDK, Java in ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/samba-logo.png"><img class="alignright size-full wp-image-2430" title="samba-logo" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/samba-logo.png" alt="samba logo File Sharing on Ubuntu 9.10 with Samba Client" width="128" height="99" /></a>I have seen users facing the problem of sharing their files and folders on <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> while on a Local Area Network. Ubuntu users caught in a crowd of Windows PCs on the network often face the problem &#8211; “Others can&#8217;t access my files and folders on the network”. This refrains them from using Ubuntu and switch back to Windows.</p>
<p>Well, one simple solution to this is installing <a rel="nofollow" target="_blank" href="http://www.samba.org/" target="_blank">Samba Client</a> on your Ubuntu machine. For that, use the command line.</p>
<blockquote><p>sudo apt-get install smbclient</p></blockquote>
<p>Make sure you are connected to the internet and proxy configuration, if any, is done on the command line. If everything is well, it will install Samba Client on your system. After this, use the command line</p>
<blockquote><p>shares-admin</p></blockquote>
<p>This will open a neat graphical utility to share your files and folders. After unlocking this window by entering your system password, you can simply drag-and-drop your files to share them. You will also get the option to uncheck the Read Only check box to make your files and folders writable by other users on the network.</p>
<p>Happy sharing!</p>
<p>Tanay Mathpal</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/open-source/ubuntu/add-permissions-to-var-www/' rel='bookmark' title='Permanent Link: Add permissions to  /var/www in ubuntu'>Add permissions to  /var/www in ubuntu</a></li>
<li><a href='http://www.digimantra.com/tutorials/install-run-files-in-ubuntu/' rel='bookmark' title='Permanent Link: install .run files in ubuntu'>install .run files in ubuntu</a></li>
<li><a href='http://www.digimantra.com/linux/install-jre-jdk-java-in-ubuntu/' rel='bookmark' title='Permanent Link: Install JRE , JDK, Java in ubuntu'>Install JRE , JDK, Java in ubuntu</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/dzgTuKmKA9U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/open-source/ubuntu/file-sharing-ubuntu-910-samba-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/open-source/ubuntu/file-sharing-ubuntu-910-samba-client/</feedburner:origLink></item>
		<item>
		<title>Show Google talk status on your website</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/gSm1elrVDw4/</link>
		<comments>http://www.digimantra.com/google/show-google-talk-status-website/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 17:55:06 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2422</guid>
		<description><![CDATA[Show your gtalk status online using the curl in PHP


Related posts:<ol><li><a href='http://www.digimantra.com/tutorials/create-dynamic-twitter-badge-displaying-latest-status-without-api/' rel='bookmark' title='Permanent Link: Create dynamic twitter badge displaying latest status without using API'>Create dynamic twitter badge displaying latest status without using API</a></li>
<li><a href='http://www.digimantra.com/google/translation-bots-in-google-talk/' rel='bookmark' title='Permanent Link: Translation bots in google talk'>Translation bots in google talk</a></li>
<li><a href='http://www.digimantra.com/google/integrating-google-analytics-mediawiki/' rel='bookmark' title='Permanent Link: Integrating Google Analytics in Mediawiki'>Integrating Google Analytics in Mediawiki</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hey People,</p>
<p>Always wondered what could be the API which lets you interact with Google Talk ? Well I guess there isn’t one ye<a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/talk_logo.gif"><img class="alignright size-full wp-image-2423" style="margin: 10px;" title="talk_logo" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/talk_logo.gif" alt="talk logo Show Google talk status on your website" width="120" height="57" /></a>t other than just creating bots. But what if you want to show the current Google Talk or GTalk status on your website or want it to use somewhere else like updating on twitter as well ?</p>
<p>Well in that case all you can do is just trick Google with its own tool. For this example we are going to use <a rel="nofollow" target="_blank" href="http://www.google.com/talk/service/badge/New" target="_blank">Google’s talkback badge</a>. Please note that Google doesnt provide any authentic way or API to grab Gtalk’s status. This is a trick which grabs your latest status from the source of the Google badge( I know that sounds spooky ). We are going to use cURL, and other string function in PHP.</p>
<p>All you have to do is to repeat the following steps carefully !</p>
<p><strong>Step 1 : </strong></p>
<p>Grab the badge code by visiting the <a rel="nofollow" target="_blank" href="http://www.google.com/talk/service/badge/New" target="_blank">Google badge page</a>. Make sure you check the “<strong>Show your status message”</strong> option, otherwise it will only show Available/Not Available.</p>
<p><strong>Step 2 :</strong></p>
<p>Now copy the embed code from the textarea and paste it in notepad. Analyze the embed code closely and copy the source of the iframe mentioned in the script tag. Look below to see example.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>iframe src<span style="color: #339933;">=</span>”GRAB_THIS_PART_OF_THE_CODE” allowtransparency<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;true&quot;</span> frameborder<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;0&quot;</span> height<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;60&quot;</span> width<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;200&quot;</span><span style="color: #339933;">&gt;&lt;/</span>iframe<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Or if you can paste this code into Microsoft Word, then you have to copy the portion which gets <strong>underlined </strong>or link from the above code.</p>
<p><strong>Step 3 :</strong></p>
<p>Paste the URL in the following script (line #3), which you just copied in the Step 2.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//replace with the URL wich you grabbed from the badge page</span>
<span style="color: #000088;">$URL</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'PASTE_HERE'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$tmp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;tk=&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$URL</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$semi</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$tmp</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$uri</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$semi</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> get_data<span style="color: #009900;">&#40;</span><span style="color: #000088;">$URL</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$end</span><span style="color: #339933;">=</span><span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #339933;">,</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #339933;">,</span><span style="color: #000088;">$uri</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$tmp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strip_tags</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$end</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">21</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$status_message</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tmp</span><span style="color: #339933;">,</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tmp</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/* grabs the data from the URL */</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> get_data<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$timeout</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span>CURLOPT_URL<span style="color: #339933;">,</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span>CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span>CURLOPT_CONNECTTIMEOUT<span style="color: #339933;">,</span><span style="color: #000088;">$timeout</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #000088;">$data</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>This method is not always fool proof, but I have tested this script many times and with different status messages. There are many scripts available online which use the same badge code to get the status message. But most of them use <strong>fopen </strong>function of PHP which is not supported on most of the servers. However the above script uses cURL to <a href="http://www.digimantra.com/technology/php/get-data-from-a-url-using-curl-php/" target="_blank">get the data from the URL</a>, so its more robust than other scripts.</p>
<p>Hope you enjoyed this post.</p>
<p>Stay Digified !!<br />
Sachin Khosla !</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/tutorials/create-dynamic-twitter-badge-displaying-latest-status-without-api/' rel='bookmark' title='Permanent Link: Create dynamic twitter badge displaying latest status without using API'>Create dynamic twitter badge displaying latest status without using API</a></li>
<li><a href='http://www.digimantra.com/google/translation-bots-in-google-talk/' rel='bookmark' title='Permanent Link: Translation bots in google talk'>Translation bots in google talk</a></li>
<li><a href='http://www.digimantra.com/google/integrating-google-analytics-mediawiki/' rel='bookmark' title='Permanent Link: Integrating Google Analytics in Mediawiki'>Integrating Google Analytics in Mediawiki</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/gSm1elrVDw4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/google/show-google-talk-status-website/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/google/show-google-talk-status-website/</feedburner:origLink></item>
		<item>
		<title>Webcast your events live</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/ccWP2YlO8xI/</link>
		<comments>http://www.digimantra.com/tips/webcast-events-live/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 05:17:10 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[reviews]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2416</guid>
		<description><![CDATA[Webcast your events live using ustream.tv


Related posts:<ol><li><a href='http://www.digimantra.com/product-reviews/watch-tv-world/' rel='bookmark' title='Permanent Link: Watch your own tv, anywhere from the world'>Watch your own tv, anywhere from the world</a></li>
<li><a href='http://www.digimantra.com/product-reviews/vipre-an-antivirus-and-antispyware-software/' rel='bookmark' title='Permanent Link: Vipre an Antivirus and Antispyware software'>Vipre an Antivirus and Antispyware software</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Heard about webcasts ? What is it exactly ?  Webcasts are nothing but broadcasts over the internet. Ever wanted your conferences, reunification, lectures to be streamed live, so that people those who can not attend it can be part of it ? Well then today I am going to tell you about something very similar. There are many websites that allow you to do this but here I am going to talk about one particular site that I myself use <a rel="nofollow" target="_blank" href="http://ustream.tv" target="_blank">USTREAM.TV</a></p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/ustream_screenshot.jpg"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="ustream_screenshot" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/ustream_screenshot_thumb.jpg" border="0" alt="ustream screenshot thumb Webcast your events live" width="493" height="238" /></a></p>
<p>It is as simple as 1-2-3 ,</p>
<p>Go to the url  <a rel="nofollow" target="_blank" href="http://www.ustream.tv">www.ustream.tv</a> .</p>
<p>Create or login with your ustream account (OPEN ID won’t work ).</p>
<p>Connect your camera to your system. On the upper bar of your ustream account click on “your shows” . Fill in the name of your show and click on broadcast now . Once done it will ask you for camera and microphone access rights click on allow. Now you will see a console, manage your camera settings like brightness, focus etc, once done you can click on start broadcast. <strong></strong></p>
<p><strong>YOU ARE LIVE !!!</strong></p>
<p>Your friends can visit the site and search for the event with the name that you created it and can actually be part of your event from their home</p>
<p>Well you need to keep few things in mind, first you need to have decent internet connection. What ever you webcast, its <strong>public</strong>. Everybody and anybody can watch it. Do not post content that may embarrass you later.</p>
<p>There are many exciting features like live poll, where the audience can actually participate in a live poll. You can even upload live video from your mobile phone . Apart from this you can also catch live videos on your iPhone .</p>
<p>Go on guys , webcast anything , shows , proposals to clients , your newly built house, from anything to everything . So next time you have a party at home or friend&#8217;s wedding on the other part of globe, watch it live streamed.</p>
<p>Hope that helps !!!</p>
<p>Stay Digified !!!<br />
Nitish jha</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/product-reviews/watch-tv-world/' rel='bookmark' title='Permanent Link: Watch your own tv, anywhere from the world'>Watch your own tv, anywhere from the world</a></li>
<li><a href='http://www.digimantra.com/product-reviews/vipre-an-antivirus-and-antispyware-software/' rel='bookmark' title='Permanent Link: Vipre an Antivirus and Antispyware software'>Vipre an Antivirus and Antispyware software</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/ccWP2YlO8xI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/tips/webcast-events-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/tips/webcast-events-live/</feedburner:origLink></item>
		<item>
		<title>Send multiple direct messages on twitter</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/zyBCq_bnkM0/</link>
		<comments>http://www.digimantra.com/tutorials/send-multiple-direct-messages-twitter/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 08:56:49 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2403</guid>
		<description><![CDATA[Send multiple direct messages to your twitter friends in one go.


Related posts:<ol><li><a href='http://www.digimantra.com/tutorials/how-to-send-tweet-message-on-twitter-using-php/' rel='bookmark' title='Permanent Link: How to send tweet message on twitter using php'>How to send tweet message on twitter using php</a></li>
<li><a href='http://www.digimantra.com/technology/php/send-binary-data-curl-php/' rel='bookmark' title='Permanent Link: Send binary data using curl php'>Send binary data using curl php</a></li>
<li><a href='http://www.digimantra.com/tutorials/create-dynamic-twitter-badge-displaying-latest-status-without-api/' rel='bookmark' title='Permanent Link: Create dynamic twitter badge displaying latest status without using API'>Create dynamic twitter badge displaying latest status without using API</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Howdy People,</p>
<p>You have already learnt “<a rel="nofollow" target="_blank" href="http://www.digimantra.com/tutorials/how-to-send-tweet-message-on-twitter-using-php/" target="_blank">How to update your twitter status</a> ?” and also learnt how to interact with <a href="http://www.digimantra.com/technology/php/post-pictures-on-twitpic-api-using-php/" target="_blank">twitpic API</a> to successfully upload images. Today I am going to show you how you can send direct message on twitter using the Twitter API and PHP. This piece of code will allow you to send not only single direct message (DM) at a time but also you can send direct message to multiple user all at once. Please note that using the web interface of <a href="http://twitter.com" target="_blank">twitter</a> you can send DM to only one user at a time.</p>
<p>For those who do not want to mess with this API thing and think this API, PHP words are alienated for them, then there is a web application which allows you to do the similar task. <a rel="nofollow" target="_blank" href="http://tweetguru.net/multi/" target="_blank">TweetGuru</a> is a web application which uses twitter’s secure OAUTH to send multiple direct messages. All you have to do is just authenticate this application and you are good to send multiple DMs.</p>
<p>There may be instances when you need to send multiple direct messages, for example  you might want to send some invite for a party to some particular friends on twitter, then you can write their twitter handles in the comma separated  form to send the same invite message, as show in the image below.</p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/multiple_dm1.gif"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="multiple_dm" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/multiple_dm_thumb1.gif" border="0" alt="multiple dm thumb1 Send multiple direct messages on twitter" width="649" height="286" /></a></p>
<p>As you can see in the image, this application has a limit to send direct message to 12 users at a time. But if you use the following code with all the pieces on its right place, then you can send it to more than 12 users at a time.</p>
<p>To successfully send the multiple direct messages, download the <a href="http://www.digimantra.com/resources/MultiDM.txt" target="_blank">twitter DM class</a> file and include it in your PHP script. Please note that you have to <strong><span style="color: #ff0000;">save the file as PHP file</span></strong> to include it in your PHP script file. I have kept the name MultiDM.php for this example.  You can give any name to the file but the class name should remain the same as MultiDM, as long as you do not change the contents of the file.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'MultiDM.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$credit</span><span style="color: #339933;">=</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;username&quot;</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">&quot;password&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//credential array</span>
  <span style="color: #000088;">$api</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> MultiDM<span style="color: #009900;">&#40;</span><span style="color: #000088;">$credit</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//pass the credentials</span>
  <span style="color: #000088;">$users</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;,&quot;</span> <span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'friends'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// create an array from the csv</span>
&nbsp;
  <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$users</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$user</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$sent</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$api</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">dm</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'msg'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// send the direct message to array of users</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sent</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span>
      <span style="color: #000088;">$failed</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$user</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// if not sent push into the failed array</span>
    <span style="color: #b1b100;">else</span>
      <span style="color: #000088;">$success</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$user</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$failed</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">// display a list of user to which message is not sent</span>
&nbsp;
  <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Unable to send direct messages to &lt;strong&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;, &quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$failed</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/strong&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$api</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">output</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$success</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Direct Messages successfuly sent to &lt;strong&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;, &quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$success</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/strong&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$api</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">output</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #990000;">unset</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$api</span><span style="color: #339933;">,</span><span style="color: #000088;">$success</span><span style="color: #339933;">,</span><span style="color: #000088;">$failed</span><span style="color: #339933;">,</span><span style="color: #000088;">$credit</span><span style="color: #339933;">,</span><span style="color: #000088;">$users</span><span style="color: #339933;">,</span><span style="color: #000088;">$user</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// in the end unset all the vars</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;!-- HTML to display form which send multi DM --&gt;
&lt;style&gt;
  label {font-weight: bold;display: block;}
&lt;/style&gt;
&nbsp;
&lt;h3&gt; Send Multi-DM to your friends &lt;/h3&gt;
&lt;form action=&quot;&quot; method=&quot;post&quot; &gt;
  &lt;p&gt;
    &lt;label for=&quot;friends&quot;&gt;Friends&lt;/label&gt;&lt;input type=&quot;text&quot; value=&quot;&quot; name=&quot;friends&quot; id=&quot;friends&quot; /&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &lt;label for=&quot;msg&quot;&gt;Direct Message to be sent:&lt;/label&gt;&lt;textarea rows=&quot;5&quot;  cols=&quot;25&quot; name=&quot;msg&quot; id=&quot;msg&quot; &gt;&lt;/textarea&gt;
  &lt;/p&gt;
  &lt;input value=&quot;Send DM&quot; type=&quot;submit&quot; /&gt;
&lt;/form&gt;</pre></div></div>

<p>So in the above example, you have a HTML form similar to what you see at TweetGuru. Provide the comma separated names of twitter handles and the message, hit submit and the direct messages will be sent.</p>
<p>Hope that helps !!</p>
<p>Stay Digified !!<br />
Sachin Khosla</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/tutorials/how-to-send-tweet-message-on-twitter-using-php/' rel='bookmark' title='Permanent Link: How to send tweet message on twitter using php'>How to send tweet message on twitter using php</a></li>
<li><a href='http://www.digimantra.com/technology/php/send-binary-data-curl-php/' rel='bookmark' title='Permanent Link: Send binary data using curl php'>Send binary data using curl php</a></li>
<li><a href='http://www.digimantra.com/tutorials/create-dynamic-twitter-badge-displaying-latest-status-without-api/' rel='bookmark' title='Permanent Link: Create dynamic twitter badge displaying latest status without using API'>Create dynamic twitter badge displaying latest status without using API</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/zyBCq_bnkM0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/tutorials/send-multiple-direct-messages-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[API Tutorials]]></series:name>
	<feedburner:origLink>http://www.digimantra.com/tutorials/send-multiple-direct-messages-twitter/</feedburner:origLink></item>
		<item>
		<title>Nintendo Wii vs XBOX 360, is there really a comparison ?</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/68G5xYHpGGk/</link>
		<comments>http://www.digimantra.com/reviews/nintendo-wii-xbox-360-comparison/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 05:36:18 +0000</pubDate>
		<dc:creator>nitish</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[game console]]></category>
		<category><![CDATA[game review]]></category>
		<category><![CDATA[wii]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2376</guid>
		<description><![CDATA[Planning to buy a game console and trying which one should you buy when there are many options available.


Related posts:<ol><li><a href='http://www.digimantra.com/microsoft/windows-vista/sims-3-game-review/' rel='bookmark' title='Permanent Link: Sims 3: Game Review'>Sims 3: Game Review</a></li>
<li><a href='http://www.digimantra.com/news/nokia-tube/' rel='bookmark' title='Permanent Link: Nokia Tube:5800 XpressMusic launched'>Nokia Tube:5800 XpressMusic launched</a></li>
<li><a href='http://www.digimantra.com/tips/win-freecell-move-cheatcode/' rel='bookmark' title='Permanent Link: Win freecell in one move &#8211; cheatcode'>Win freecell in one move &#8211; cheatcode</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hey People,</p>
<p>Planning to buy a game console and trying which one should you buy when there are many options available.The most common questions while deciding your new gaming console can be:</p>
<ul>
<li>Which one is value for money ?</li>
<li>Which has better graphics ?</li>
<li>Above all which one is better ?</li>
</ul>
<p>What I am trying to tell you is that, these are two different concepts altogether. What you need to decide is which one suits your gaming needs?</p>
<p><strong>Price</strong> &#8211; To start with <a rel="nofollow" target="_blank" href="http://www.xbox.com/" target="_blank">XBOX 360</a> starts around <strong>350 USD</strong> where as <a rel="nofollow" target="_blank" href="http://www.nintendo.com/wii" target="_blank">Nintendo Wii</a> console with 1 pair of remote and nunchucks is available for <strong>199 USD</strong>. Again there can not be any comparisons made just on the basis of price.  <strong> </strong></p>
<p><strong>Game Market &amp; Development</strong> &#8211; When it comes to gaming experience, Xbox has large variety of games and targets audience from small kids to core gamers, whereas Wii games are mostly limited to couple games, family games but very few hardcore games. Though the number of game developers and downloads for Wii are increasing day by day .  <strong>Motion Sensor – </strong>Taking about the motion sensors, Nintendo Wii is a clear winner here because of sheer brilliance of the technology being used. Xbox 360 sensors are far more feeble than Wii . Wii has definitely taken motion gaming to a new level all together .  <strong> </strong></p>
<p><strong>Graphics</strong> &#8211; Do I need to even say that ? Presently nothing is anywhere even closer to Xbox’s crystal clear and such vivid graphics. Xbox brings your gaming experience leap ahead of others just because of its real time high definition graphics. When it comes to Wii, graphics performance is not that bad as people generally think, what they talk about is motion sensing games. There are variety of other options available in Wii. I have played <strong><a rel="nofollow" target="_blank" href="http://fifa.easports.com" target="_blank">fifa 10</a></strong> and <a rel="nofollow" target="_blank" href="http://www.residentevil.com/" target="_blank">Resident Evil</a> on Wii and the graphics are very sharp and much like that in Play Station 2.</p>
<p><strong>Online &amp; Multiplayer Gaming </strong>- When it comes to multimedia playback or online gaming, Xbox 360 supports multiple file formats including mp3, one can use it to listen to music, see images, do live video chat etc. Online gaming option in Xbox360 is diverse but comes with a subscription. When it comes to Wii you can still download music and movies but what’s missing is the online gaming part.</p>
<p style="text-align: center;"><a rel="nofollow" target="_blank" href="http://www.flickr.com/photos/gamerscore/134939589/in/photostream/" target="_blank"><img class="  alignnone" style="border: 0pt none; display: block; margin-left: auto; margin-right: auto;" title="rihanna_xbox" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/rihanna_xbox_thumb1.jpg" border="0" alt="rihanna xbox thumb1 Nintendo Wii vs XBOX 360, is there really a comparison ?" width="319" height="484" />Original Image link</a></p>
<p><strong>Red ring of death </strong>- Well I think this only fact can make Wii a clear winner for few of you. Your console will never crash. when it comes to Xbox 360 there are congregated problems of crashing .  There is an accusation that games make you lazy . Try Wii and you need not to worry about the thought that playing games make you lethargic and effects your health. Wii also has Wii-fit which is complete aerobics cardio exercises that you will always need. Now when it comes to deciding the better of two I will again menton that it depends on your personal choice. if you are fancy about high definition graphics, online features go for Xbox 360 . But if you prefer real time gaming experience and want to try something that you have not played before Wii is for you.</p>
<p>ENJOY !!!</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/microsoft/windows-vista/sims-3-game-review/' rel='bookmark' title='Permanent Link: Sims 3: Game Review'>Sims 3: Game Review</a></li>
<li><a href='http://www.digimantra.com/news/nokia-tube/' rel='bookmark' title='Permanent Link: Nokia Tube:5800 XpressMusic launched'>Nokia Tube:5800 XpressMusic launched</a></li>
<li><a href='http://www.digimantra.com/tips/win-freecell-move-cheatcode/' rel='bookmark' title='Permanent Link: Win freecell in one move &#8211; cheatcode'>Win freecell in one move &#8211; cheatcode</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/68G5xYHpGGk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/reviews/nintendo-wii-xbox-360-comparison/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/reviews/nintendo-wii-xbox-360-comparison/</feedburner:origLink></item>
		<item>
		<title>How to disable or enable Google buzz</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/XJW3CQL9XaU/</link>
		<comments>http://www.digimantra.com/google/disable-enable-google-buzz/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 02:44:24 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[buzz]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2372</guid>
		<description><![CDATA[How to turn on and turn off Google Buzz.


Related posts:<ol><li><a href='http://www.digimantra.com/google/search-gmail-google-reader-and-buzz-from-the-chrome-browser/' rel='bookmark' title='Permanent Link: Now search gmail, google reader and buzz from the chrome browser'>Now search gmail, google reader and buzz from the chrome browser</a></li>
<li><a href='http://www.digimantra.com/howto/enable-google-translation-on-your-site-or-blog/' rel='bookmark' title='Permanent Link: Enable google translation on your site or blog'>Enable google translation on your site or blog</a></li>
<li><a href='http://www.digimantra.com/google/configuring-godaddy-pop3-mailbox-to-receive-emails-in-your-gmail-account/' rel='bookmark' title='Permanent Link: Configuring godaddy pop3 mailbox to receive emails in your gmail account'>Configuring godaddy pop3 mailbox to receive emails in your gmail account</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hi All, </p>
<p><a rel="nofollow" target="_blank" href="http://www.google.com/buzz" target="_blank">Google buzz</a> is now available for everyone and is almost enabled in every Gmail Inbox. But just like my brother there are many others who do not like to have their Gmail inbox buzzing. For some people Gmail should be just a web application for sending &amp; receiving emails and hence they want to turn off or disable Google Buzz. Well its pretty simple to do so, all you have to do is just log into Gmail and point to its footer. In the footer you will see a link saying “<strong>turn off buzz</strong>” as show in the screenshot below, click on that link and you are ready to roll without buzz. </p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/turn_off_buzz.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="turn_off_buzz" border="0" alt="turn off buzz thumb How to disable or enable Google buzz" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/turn_off_buzz_thumb.jpg" width="392" height="30" /></a> </p>
<p>You enable or turn on Google buzz anytime when you like from the same place. Well too much buzzing for now. </p>
<p>Stay Digified !!    <br />Sachin Khosla</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/google/search-gmail-google-reader-and-buzz-from-the-chrome-browser/' rel='bookmark' title='Permanent Link: Now search gmail, google reader and buzz from the chrome browser'>Now search gmail, google reader and buzz from the chrome browser</a></li>
<li><a href='http://www.digimantra.com/howto/enable-google-translation-on-your-site-or-blog/' rel='bookmark' title='Permanent Link: Enable google translation on your site or blog'>Enable google translation on your site or blog</a></li>
<li><a href='http://www.digimantra.com/google/configuring-godaddy-pop3-mailbox-to-receive-emails-in-your-gmail-account/' rel='bookmark' title='Permanent Link: Configuring godaddy pop3 mailbox to receive emails in your gmail account'>Configuring godaddy pop3 mailbox to receive emails in your gmail account</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/XJW3CQL9XaU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/google/disable-enable-google-buzz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/google/disable-enable-google-buzz/</feedburner:origLink></item>
		<item>
		<title>Publish updates automatically on facebook fan page via site feeds</title>
		<link>http://feedproxy.google.com/~r/digimantra/~3/g62ZIaADuHg/</link>
		<comments>http://www.digimantra.com/facebook/publish-updates-automatically-facebook-fan-page-site-feeds/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 08:24:28 +0000</pubDate>
		<dc:creator>Sachin Khosla</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.digimantra.com/?p=2364</guid>
		<description><![CDATA[Publish updates on facebook fan page automatically via NetworkedBlogs application


Related posts:<ol><li><a href='http://www.digimantra.com/news/tagging-friends-facebook/' rel='bookmark' title='Permanent Link: Tagging friends in Facebook is now available'>Tagging friends in Facebook is now available</a></li>
<li><a href='http://www.digimantra.com/news/facebook-introduces-twitter-reply/' rel='bookmark' title='Permanent Link: Facebook introduces Twitter like @reply'>Facebook introduces Twitter like @reply</a></li>
<li><a href='http://www.digimantra.com/facebook/login-facebook-usernames/' rel='bookmark' title='Permanent Link: Now login with your facebook usernames'>Now login with your facebook usernames</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Some of you might be struggling hard to make it work and some already have this working. But lot of people have lately asked me on how to publish updates automatically to a facebook’s fan page. You can publish your site’s feeds automatically to your profile page and as well as on your business/fan page via <a rel="nofollow" target="_blank" href="http://apps.facebook.com/blognetworks/index.php" target="_blank">NetworkedBlogs App</a> available for Facebook. Earlier this application supported publishing updates only on your profile page, but later on added updating the business pages associated with the profile. </p>
<p>It allows you to publish updates automatically on updating the claimed website/blog. It also has an option to ask you what to publish. So to add these updates complete the following steps. </p>
<p>1) Add <a rel="nofollow" target="_blank" href="http://apps.facebook.com/blognetworks/index.php" target="_blank">NetworkedBlogs App</a> application if its already not there. </p>
<p>2) Once registered click on the <strong>feed settings </strong>present on the networkedblog’s homepage. </p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/feed_settings.gif"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="feed_settings" border="0" alt="feed settings thumb Publish updates automatically on facebook fan page via site feeds" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/feed_settings_thumb.gif" width="197" height="338" /></a> </p>
<p>3) Under the fan pages section, click on the configure button in front of the Fan page which you want to configure. Now click on the <strong>Install </strong>to install the networkedblogs app on the fan page. </p>
<p><a href="http://www.digimantra.com/blog/wp-content/uploads/2010/02/configure.gif"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="configure" border="0" alt="configure thumb Publish updates automatically on facebook fan page via site feeds" src="http://www.digimantra.com/blog/wp-content/uploads/2010/02/configure_thumb.gif" width="589" height="201" /></a> </p>
<p>4) After installing you can publish the test post to check if it has been configured properly or no. </p>
<p>Now whenever you post on the configured blog/website it will get published automatically on your fan page and profile (as configured). Hope that solves your problem. </p>
<p>Stay Digified !!   <br />Sachin Khosla</p>


<p>Related posts:<ol><li><a href='http://www.digimantra.com/news/tagging-friends-facebook/' rel='bookmark' title='Permanent Link: Tagging friends in Facebook is now available'>Tagging friends in Facebook is now available</a></li>
<li><a href='http://www.digimantra.com/news/facebook-introduces-twitter-reply/' rel='bookmark' title='Permanent Link: Facebook introduces Twitter like @reply'>Facebook introduces Twitter like @reply</a></li>
<li><a href='http://www.digimantra.com/facebook/login-facebook-usernames/' rel='bookmark' title='Permanent Link: Now login with your facebook usernames'>Now login with your facebook usernames</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/digimantra/~4/g62ZIaADuHg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digimantra.com/facebook/publish-updates-automatically-facebook-fan-page-site-feeds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digimantra.com/facebook/publish-updates-automatically-facebook-fan-page-site-feeds/</feedburner:origLink></item>
	</channel>
</rss>
