<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TutorBoy</title>
	<atom:link href="http://articles.tutorboy.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://articles.tutorboy.com</link>
	<description>Log on to Techknowledgey</description>
	<lastBuildDate>Fri, 17 Feb 2012 05:32:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Simple CSS Selector In JavaScript</title>
		<link>http://articles.tutorboy.com/2012/02/16/simple-css-selector-in-javascript/</link>
		<comments>http://articles.tutorboy.com/2012/02/16/simple-css-selector-in-javascript/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 12:36:14 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Selectors]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=3217</guid>
		<description><![CDATA[Sometime you don&#8217;t wish to use JavaScript frameworks on simple web applications, but you hardly need a cross-browser CSS selector. ...]]></description>
			<content:encoded><![CDATA[<p>Sometime you don&#8217;t wish to use JavaScript frameworks on simple web applications, but you hardly need a cross-browser CSS selector. The following snippet help you to retrieve simple <code>ID</code>, <code>CLASS</code> notation and html <code>Tags</code>. This is a very basic version and you can contribute to this. <span id="more-3217"></span></p>
<pre class="brush:js">
// IDs and CLASS
$('#my_id, .css_class, .className, #another_id');
// HTML Tags
$('body, h1');
</pre>
<h1>JavaScript</h1>
<pre class="brush:js">

function $(selectors) {
	var result = new Array();
	if(!document.getElementsByTagName) return result;
	// Removing unwanted spaces
	selectors = selectors.replace(/\s*([^\w])\s*/g,"$1");
	// Extracting the selectors from the param
	selectors = selectors.split(",");
	// Store all dom elements
	var elements = document.getElementsByTagName('*');
	// Parse the selectors list
	for(var i = 0; (selector = selectors[i]) != null ; i++) {
		// If ID
		if(selector.indexOf("#") == 0) {
			selector = selector.split("#");
			result[result.length] = document.getElementById(selector[1]);
		}
		// If CLASS
		else if(selector.indexOf(".") == 0) {
			selector = selector.split(".");
			// If the browser support HTML 5
			if(document.getElementsByClassName) {
				result[result.length] = document.getElementsByClassName(selector[1]);
			}
			// for browsers such as IE
			else {
				var hasClassName = new RegExp("(?:^|\\s)" + selector[1] + "(?:$|\\s)");
				var element;
				// Parse all DOM elements
				for(var j = 0; (element = elements[j]) != null; j++ ) {
					if(element.className &#038;&#038; element.className.match(hasClassName)) {
						result[result.length] = element;	

					}
				}
			}
		}
		// If tag
		else {
			result[result.length] = document.getElementsByTagName(selector);
		}
	}
	return result;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2012/02/16/simple-css-selector-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Regular Expression to Split Lines</title>
		<link>http://articles.tutorboy.com/2012/01/18/php-regular-expression-to-split-lines/</link>
		<comments>http://articles.tutorboy.com/2012/01/18/php-regular-expression-to-split-lines/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 06:58:28 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Regular Expression]]></category>
		<category><![CDATA[Split]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=3210</guid>
		<description><![CDATA[Last day I had tried a lot of methods to retrieve lines from a text file. In some methods, I ...]]></description>
			<content:encoded><![CDATA[<p>Last day I had tried a lot of methods to retrieve lines from a text file. In some methods, I got blank lines without any reason and sometimes it returns all lines as one.<span id="more-3210"></span> In Windows the end of line is <code>'\r\n' </code>, in Mac its <code>\r</code> and Unix its <code>\n</code>. PHP <code>explode</code> function will fail here to split line by line, because if we use <code>\n</code>, sometime you won&#8217;t get the expected results, and same in the case of <code>\r\n</code>. </p>
<p>Finally I tried to trim all <code>\r</code> from the file content then use preg_split function to split by <code>\n</code>. This works fine for me.</p>
<h2>PHP Code</h2>
<pre class="brush:php">
$file_content = file_get_contents('readme.txt');
// Removing all carriage returns
$file_content = preg_replace("/\r/", "", $file_content);
// Split lines with new line
$lines = preg_split("/\n/", $file_content);
</pre>
<p>If you have any other better solution for this problem, please share with me.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2012/01/18/php-regular-expression-to-split-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail style Scrollbar Using jQuery and CSS</title>
		<link>http://articles.tutorboy.com/2011/11/14/gmail-style-scrollbar-using-jquery-and-css/</link>
		<comments>http://articles.tutorboy.com/2011/11/14/gmail-style-scrollbar-using-jquery-and-css/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 08:10:31 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=3171</guid>
		<description><![CDATA[ Scrollbar looks like in new Gmail theme. The code written in jQuery and CSS. 
1. The Scrollbar shows only ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-3176" title="gmail_scrollbar" src="http://articles.tutorboy.com/content/uploads/2011/11/gmail_scrollbar-150x150.jpg" alt="" width="150" height="150" /> Scrollbar looks like in new Gmail theme. The code written in jQuery and CSS. <span id="more-3171"></span></p>
<p>1. The Scrollbar shows only when the content is greater thatn the view port(ie content height).</p>
<p>2. The scroll scrubber height will change when the height of the scroll length increase/decrease.</p>
<p>3. No Mouse Wheel scroll features.</p>
<p>See also: <a title="Facebook/Twitter style Scrollbar Using jQuery and CSS" href="http://articles.tutorboy.com/2011/11/10/facebook-twitter-style-scrollbar/" target="_blank">Facebook/Twitter style Scrollbar Using jQuery and CSS</a></p>
<p><a href="http://demo.tutorboy.com/articles/Gmail_style_Scrollbar_Using_jQuery_CSS.htm" target="_blank">View Demo</a></p>
<h1>Step 1:</h1>
<pre class="brush:html">&lt;div id="updateHolder"&gt;
    &lt;div id="updateContainer"&gt;
    &lt;div id="updateContent"&gt;
    &lt;!-- You can add all your contents here --&gt;
     Dummy Text <img src='http://articles.tutorboy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
    &lt;/div&gt;
    &lt;!--// don't remove this: the scrollbar and scrollscrubber place holder --&gt;
    &lt;div id="updateScollBar"&gt;
        &lt;div id="updateScollScrubber"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;!-- scrollbar end //--&gt;
    &lt;/div&gt;&lt;!-- end of updateContainer //--&gt;
&lt;/div&gt;&lt;!-- end of updateHolder //--&gt;</pre>
<h1>Step 2:</h1>
<p>Copy paste the CSS to your style sheet. For customization please edit the width and height in the specified lines.</p>
<pre class="brush:css">#updateHolder {
    width: 300px;  /* &lt;= For Width: change the width value */
    color: #333;
    margin-top: 10px;
    overflow: hidden;
    border:1px solid #CCCCCC;
}

#updateContainer {
    background-color: white;
    position: relative;
    cursor: pointer;

}

#updateContent {
    background: #fff;
    position: absolute;
    padding-right: 12px;
}

#updateScollBar {
    background: #F2F2F2;
    border-left: 1px solid #DADADA;
    position: absolute;
    width: 10px;
    right: 0;
    bottom: 0;
    cursor: default;
    zoom: 1;
    filter: alpha(opacity=25); /* For IE8 and earlier */
    opacity: 0.25;
}

#updateScollScrubber {
    background-color: 909090;
    width: 9px;
    height: 100px;
    position: absolute;
    border-left:1px solid #676767;
    border-top:1px solid #676767;

}

#updateScollBar, #updateContainer, #updateHolder {
    height: 500px; /* &lt;= For Height: change the height value */
}</pre>
<h1>Step 3:</h1>
<p>Add the following jQuery script to your header or footer section.</p>
<pre class="brush:js">$(function(){

	_offsetY = 0;
	_startY = 0;

	// To resize the height of the scroll scrubber when scroll height increases.
	setScrubberHeight();

	var contentDiv = document.getElementById('updateContainer');
	scrubber = $('#updateScollScrubber');
	scrollHeight = $('#updateScollBar').outerHeight();
	contentHeight = $('#updateContent').outerHeight();
	scrollFaceHeight = scrubber.outerHeight();

	initPosition = 0;
	initContentPos = $('#updateHolder').offset().top;
	// Calculate the movement ration with content height and scrollbar height
	moveVal = (contentHeight - scrollHeight)/(scrollHeight - scrollFaceHeight);

	$("#updateScollBar").mouseenter(function() {
		// Enable Scrollbar only when the content height is greater then the view port area.
		if(contentHeight &gt; scrollHeight) {
			// Show scrollbar on mouse over
			$(this).animate({opacity: 1});
			scrubber.bind("mousedown", onMouseDown);
		}

	}).mouseleave(function() {

		if(contentHeight &gt; scrollHeight) {
			// Hide Scrollbar on mouse out.
			$(this).animate({opacity: 0.25});
			$('#updateHolder').unbind("mousemove", onMouseMove);
			  scrubber.unbind("mousedown", onMouseDown);
		}
	});

	function onMouseDown(event) {
		$('#updateHolder').bind("mousemove", onMouseMove);
		$('#updateHolder').bind("mouseup", onMouseUp);
		_offsetY = scrubber.offset().top;
		_startY = event.pageY + initContentPos;
		// Disable the text selection inside the update area. Otherwise the text will be selected while dragging on the scrollbar.
		contentDiv.onselectstart = function () { return false; } // ie
		contentDiv.onmousedown = function () { return false; } // mozilla
	}

	function onMouseMove(event) {

		// Checking the upper and bottom limit of the scroll area
		if((scrubber.offset().top &gt;= initContentPos) &amp;&amp; (scrubber.offset().top &lt;= (initContentPos+scrollHeight - scrollFaceHeight))) {
			// Move the scrubber on mouse drag
			scrubber.css({top: (_offsetY + event.pageY - _startY)});
			// Move the content area according to the scrubber movement.
			$('#updateContent').css({top: ((initContentPos - scrubber.offset().top) * moveVal)});
		}else{
			// Reset when upper and lower limits are excced.
			if(scrubber.offset().top &lt;= initContentPos){
				scrubber.css({top: 0});
				$('#updateContent').css({top: 0});
			}

			if(scrubber.offset().top &gt; (initContentPos + scrollHeight - scrollFaceHeight)) {

				scrubber.css({top: (scrollHeight-scrollFaceHeight-2)});
				$('#updateContent').css({top: (scrollHeight - contentHeight + initPosition)});
			}

			$('#updateHolder').trigger('mouseup');
		}

	}

	function onMouseUp(event) {
		$('#updateHolder').unbind("mousemove", onMouseMove);
		contentDiv.onselectstart = function () { return true; } // ie
		contentDiv.onmousedown = function () { return true; } // mozilla
	}

	function setScrubberHeight() {
		cH = $('#updateContent').outerHeight();
		sH = $('#updateScollBar').outerHeight();

		if(cH &gt; sH) {
			// Set the min height of the scroll scrubber to 20
			if(sH / ( cH / sH ) &lt; 20) {
				$('#updateScollScrubber').css({height: 20 });
			}else{
				$('#updateScollScrubber').css({height: sH / ( cH / sH ) });
			}
		}
	}

});</pre>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2011/11/14/gmail-style-scrollbar-using-jquery-and-css/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Facebook/Twitter style Scrollbar Using jQuery and CSS</title>
		<link>http://articles.tutorboy.com/2011/11/10/facebook-twitter-style-scrollbar/</link>
		<comments>http://articles.tutorboy.com/2011/11/10/facebook-twitter-style-scrollbar/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 19:16:23 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=3158</guid>
		<description><![CDATA[The Facebook and Twitter have their own scrollbars styles. Are you looking for the same thing?]]></description>
			<content:encoded><![CDATA[<p>The Facebook and Twitter have their own scrollbars styles. Are you looking for the same thing? Here is the code which is written in jQuery and CSS. <span id="more-3158"></span>Because of some limitation I&#8217;m unable to add Mouse Wheel function in this version. If you want to implement this script in you web application, copy paste the code and edit the width and height in <code>CSS</code> code of the content area. No need to change anything on the script. Default width is <code>300px</code> and height is <code>500px</code>.</p>
<p><a href="http://demo.tutorboy.com/articles/facebook-twitter-style-scrollbar.html"> View Demo </a><br />
<img class="alignright size-full wp-image-3160" title="Facebook_Twitter_Scrollbar" src="http://articles.tutorboy.com/content/uploads/2011/11/Facebook_Twitter_Scrollbar.jpg" alt="" width="580" height="200" /></p>
<blockquote><p>The scroll scrubber height will change when the height of the content increases, and the minimum height of the scrubber is <code>20px</code>. The scrollbar will show when the mouse moves over the content area.</p></blockquote>
<h1>Step 1:</h1>
<p>Just keep the structure of the HTML element as same as here. Put all your contents in the <code>DIV</code> called <code>&lt;div id="updateContent"&gt;</code></p>
<pre class="brush: html">&lt;!--// Update Holder --&gt;
	&lt;div id="updateHolder"&gt;
            &lt;div id="updateContainer"&gt;
			&lt;div id="updateContent"&gt;
			&lt;!-- //// You can add all your contents here ////--&gt;
			 &lt;/div&gt;
			&lt;!--// don't remove this: the scrollbar and scrollscrubber place holder --&gt;
			&lt;div id="updateScollBar"&gt;
				&lt;div id="updateScollScrubber"&gt;
				&lt;/div&gt;
			&lt;/div&gt;
			&lt;!-- scrollbar end //--&gt;
            &lt;/div&gt;&lt;!-- end of updateContainer //--&gt;
        &lt;/div&gt;&lt;!-- end of updateHolder //--&gt;</pre>
<h1>Step 2:</h1>
<p>Add the CSS to your style file, and edit the <code>Width</code> and <code>Height</code> in the specified area.</p>
<pre class="brush: css"> #updateHolder {
		background-color: green;
		width: 300px;  /* &lt;= For Width: change the width value */
		color: #333;
		margin-top: 10px;
		overflow: hidden;
	    }

	    #updateContainer {
		background-color: white;
		position: relative;
		cursor: pointer;
	    }

	    #updateContent {
		width: 100%;
		background: #F2F4F8;
		position: absolute;
	    }

	    #updateScollBar {
		background: none;
		position: absolute;
		width: 10px;
		right: 0;
		bottom: 0;
		cursor: default;
	    }

	    #updateScollScrubber {
		display: none;
		background-color: black;
		zoom: 1;
		filter: alpha(opacity=40); /* For IE8 and earlier */
		opacity: 0.4;
		width: 8px;
		height: 100px;
		-moz-border-radius: 7px; /* Firefox */
		-webkit-border-radius: 7px; /* Safari, Chrome */
		border-radius: 7px; /* CSS3 */
		position: absolute;
	    }

	    #updateScollBar, #updateContainer, #updateHolder {
		height: 500px; /* &lt;= For Height: change the height value */
	    }</pre>
<h1>Step: 3</h1>
<p>Add the following jQuery script any where on the html page.</p>
<pre class="brush: js">$(function(){

	_offsetY = 0;
	_startY = 0;

	// To resize the height of the scroll scrubber when scroll height increases.
	setScrubberHeight();

	var contentDiv = document.getElementById('updateContainer');
	scrubber = $('#updateScollScrubber');
	scrollHeight = $('#updateScollBar').outerHeight();
	contentHeight = $('#updateContent').outerHeight();
	scrollFaceHeight = scrubber.outerHeight();

	initPosition = 0;
	initContentPos = $('#updateHolder').offset().top;
	// Calculate the movement ration with content height and scrollbar height
	moveVal = (contentHeight - scrollHeight)/(scrollHeight - scrollFaceHeight);

	$("#updateContainer").mouseenter(function() {
		// Enable Scrollbar only when the content height is greater then the view port area.
		if(contentHeight &gt; scrollHeight) {
			// Show scrollbar on mouse over
			scrubber.fadeToggle("fast");
			scrubber.bind("mousedown", onMouseDown);
		}

	}).mouseleave(function() {

		if(contentHeight &gt; scrollHeight) {
			// Hide Scrollbar on mouse out.
			scrubber.fadeToggle("slow");
			$('#updateHolder').unbind("mousemove", onMouseMove);
			  scrubber.unbind("mousedown", onMouseDown);
		}
	});

	function onMouseDown(event) {
		$('#updateHolder').bind("mousemove", onMouseMove);
		$('#updateHolder').bind("mouseup", onMouseUp);
		_offsetY = scrubber.offset().top;
		_startY = event.pageY + initContentPos;
		// Disable the text selection inside the update area. Otherwise the text will be selected while dragging on the scrollbar.
		contentDiv.onselectstart = function () { return false; } // ie
		contentDiv.onmousedown = function () { return false; } // mozilla
	}

	function onMouseMove(event) {

		// Checking the upper and bottom limit of the scroll area
		if((scrubber.offset().top &gt;= initContentPos) &amp;&amp; (scrubber.offset().top  (initContentPos + scrollHeight - scrollFaceHeight)) {

				scrubber.css({top: (scrollHeight-scrollFaceHeight-1)});
				$('#updateContent').css({top: (scrollHeight - contentHeight + initPosition)});
			}

			$('#updateHolder').trigger('mouseup');
		}

	}

	function onMouseUp(event) {
		$('#updateHolder').unbind("mousemove", onMouseMove);
		contentDiv.onselectstart = function () { return true; } // ie
		contentDiv.onmousedown = function () { return true; } // mozilla
	}

	function setScrubberHeight() {
		cH = $('#updateContent').outerHeight();
		sH = $('#updateScollBar').outerHeight();

		if(cH &gt; sH) {
			// Set the min height of the scroll scrubber to 20
			if(sH / ( cH / sH ) &lt; 20) {
				$('#updateScollScrubber').css({height: 20 });
			}else{
				$('#updateScollScrubber').css({height: sH / ( cH / sH ) });
			}
		}
	}

});</pre>
<p><a href="http://demo.tutorboy.com/articles/facebook-twitter-style-scrollbar.html"> View Demo </a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2011/11/10/facebook-twitter-style-scrollbar/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SEO Friendly Breadcrumb for WordPress</title>
		<link>http://articles.tutorboy.com/2011/11/04/seo-friendly-breadcrumb-wordpress/</link>
		<comments>http://articles.tutorboy.com/2011/11/04/seo-friendly-breadcrumb-wordpress/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 19:52:43 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Breadcrumb]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=3145</guid>
		<description><![CDATA[Last day I wrote about the SEO Friendly Breadcrumb Format, I have implemented those formats in my WordPress site. And ...]]></description>
			<content:encoded><![CDATA[<p>Last day I wrote about the <a title="SEO Friendly Breadcrumb Format" href="http://articles.tutorboy.com/2011/11/03/breadcrumb-format/" target="_blank">SEO Friendly Breadcrumb Format</a>, I have implemented those formats in my WordPress site. And here is the code which is written for WordPress.</p>
<h2>Add this PHP code at the end of functions.php file from the theme folder</h2>
<pre class="brush:php">&lt;?php

if ( ! function_exists( 'breadcrumbs' ) ) :
function breadcrumbs() {

	$delimiter = '&amp;rsaquo;';
	$home = 'Home';

	echo '&lt;div xmlns:v="http://rdf.data-vocabulary.org/#" class="breadcrumb"&gt;';

	global $post;
	echo '	&lt;span typeof="v:Breadcrumb"&gt;
 			&lt;a rel="v:url" property="v:title" href="'.get_bloginfo('url').'"&gt;'.$home.'&lt;/a&gt;
			&lt;/span&gt; '; 

	$cats = get_the_category();
	if ($cats) {
	  foreach($cats as $cat) {
	  	echo $delimiter . "&lt;span typeof=\"v:Breadcrumb\"&gt;
	    			&lt;a rel=\"v:url\" property=\"v:title\" href=\"".get_category_link($cat-&gt;term_id)."\" &gt;$cat-&gt;name&lt;/a&gt;
	    		&lt;/span&gt;";
	  }
	}

	$posttags = get_the_tags();
	if ($posttags) {
	  foreach($posttags as $tag) {
	  	echo $delimiter . "&lt;span typeof=\"v:Breadcrumb\"&gt;
	    			&lt;a rel=\"v:url\" property=\"v:title\" href=\"".get_tag_link($tag-&gt;term_id)."\" &gt;$tag-&gt;name&lt;/a&gt;
	    		&lt;/span&gt;";
	  }
	}

	echo '&lt;/div&gt;';

}
endif;

?&gt;</pre>
<p>The above code will generate the breadcrumb from the post categories and post tags values of the current post. The parent category will be show at the first then its child, and finally add if any tag presents.</p>
<h2>Add the following function call in your single.php file.</h2>
<pre class="brush:php">&lt;?php breadcrumbs(); ?&gt;</pre>
<p>Place this code above the <code>the_title()</code> function or below <code>the_content()</code> function calls.</p>
<h2>Add the following CSS in you Style.css</h2>
<pre class="brush:css">/* BreadCrumbs CSS*/
.breadcrumb {
	font-size: 11px;
}
.breadcrumb a {
	color: gray;
	text-decoration: none;
}
.breadcrumb a:hover {
	color: #178A00;
}</pre>
<p>So now your WordPress blog&#8217;s breadcrumb is Search Engine Optimized. You can see the results from your next post onward. Its so simple <img src='http://articles.tutorboy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Also See : <a title="SEO Friendly Breadcrumb Format" href="http://articles.tutorboy.com/2011/11/03/breadcrumb-format/" target="_blank">SEO Friendly Breadcrumb Format</a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2011/11/04/seo-friendly-breadcrumb-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SEO Friendly Breadcrumb Format</title>
		<link>http://articles.tutorboy.com/2011/11/03/breadcrumb-format/</link>
		<comments>http://articles.tutorboy.com/2011/11/03/breadcrumb-format/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 19:12:18 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=3131</guid>
		<description><![CDATA[Breadcrumbs makes the user to navigation more easily, and not for SEO. But for SEO Google suggested to add some attributes and tags to your existing code for make it done. Here is an example]]></description>
			<content:encoded><![CDATA[<p>Breadcrumbs makes the user navigation more easy, and not for SEO. But now Google algorithm is efficient to parse those Breadcrumb links and it will reflect in the Google search result. I think you might notice this kind of search results with breadcrumbs or else check the screen shot of a <a href="http://www.google.co.in/search?q=Generate%20Strong%20Passwords%20with%20Wolfram" target="_blank">search result</a>. And its a new thing for me because I was not yet involved in the optimization of my site. So you will get more visits now.</p>
<div id="attachment_3132" class="wp-caption alignnone" style="width: 590px"><img class="size-full wp-image-3132" title="search_result" src="http://articles.tutorboy.com/content/uploads/2011/11/search_result.jpg" alt="" width="580" height="100" /><p class="wp-caption-text">Search &quot;Generate Strong Passwords with Wolfram&quot; in Google</p></div>
<p>Ok, lets come to the point. Google suggested to use the following format to identify the breadcrumbs more easily. Here I&#8217;m using the simplest version of the format but you can find more here. By just adding some <code>xmlns</code> and <code>typeof</code> will gives you the better result.</p>
<pre class="brush:html">&lt;div xmlns:v="http://rdf.data-vocabulary.org/#" class="breadcrumb"&gt;
	&lt;span typeof="v:Breadcrumb"&gt;
	&lt;a rel="v:url" property="v:title" href="http://articles.tutorboy.com"&gt;Home&lt;/a&gt;
	&lt;/span&gt;
	&amp;rsaquo;
	&lt;span typeof="v:Breadcrumb"&gt;
		&lt;a rel="v:url" property="v:title" href="http://articles.tutorboy.com/category/twitter/"&gt;Twitter&lt;/a&gt;
	&lt;/span&gt;
	&amp;rsaquo;
	&lt;span typeof="v:Breadcrumb"&gt;
		&lt;a rel="v:url" property="v:title" href="http://articles.tutorboy.com/topics/bookmarklet/"&gt;Bookmarklet&lt;/a&gt;
	&lt;/span&gt;
	&amp;rsaquo;
	&lt;span typeof="v:Breadcrumb"&gt;
		&lt;a rel="v:url" property="v:title" href="http://articles.tutorboy.com/topics/twitter/"&gt;Twitter&lt;/a&gt;
	&lt;/span&gt;
&lt;/div&gt;</pre>
<div class="breadcrumb"><span> <a href="http://articles.tutorboy.com" rel="v:url">Home</a> </span> › <span> <a href="http://articles.tutorboy.com/category/twitter/" rel="v:url">Twitter</a> </span> › <span> <a href="http://articles.tutorboy.com/topics/bookmarklet/" rel="v:url">Bookmarklet</a> </span> › <span> <a href="http://articles.tutorboy.com/topics/twitter/" rel="v:url">Twitter</a> </span></div>
<p>So the output of the above format will be like below.<br />
<img class="alignnone size-full wp-image-3134" title="final_result" src="http://articles.tutorboy.com/content/uploads/2011/11/final_result.jpg" alt="" width="580" height="49" /></p>
<p>Try the following tags and attributes in your existing breadcrumb code and test it <a href="http://www.google.com/webmasters/tools/richsnippets" target="_blank">here</a> no need to wait for the next Google Crawl <img src='http://articles.tutorboy.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ,</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2011/11/03/breadcrumb-format/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How To Find Your Friends Chat Client/Messenger</title>
		<link>http://articles.tutorboy.com/2011/10/31/find-your-friends-chat-clientmessenger/</link>
		<comments>http://articles.tutorboy.com/2011/10/31/find-your-friends-chat-clientmessenger/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 13:06:39 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Meebo]]></category>
		<category><![CDATA[Messenger]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=3114</guid>
		<description><![CDATA[Sometimes your friend says like this, &#8220;Hey, am busy now and I can&#8217;t use GTalk in my office, you send ...]]></description>
			<content:encoded><![CDATA[<p>Sometimes your friend says like this, &#8220;Hey, am busy now and I can&#8217;t use GTalk in my office, you send it via mail&#8230; bla bla bla&#8230;.&#8221; and if you strongly believe that he/she is in GTalk, then how do you find out is he lying to you?<span id="more-3114"></span></p>
<p>Then just goto <a title="Meebo Messenger" href="http://www.meebo.com/messenger" target="_blank">http://www.meebo.com/messenger</a> and login to your messenger.<br />
Meebo is web based chat client and support all chats/voice/video of major Messengers like Yahoo, GTalk, Facebook etc.</p>
<div id="attachment_3117" class="wp-caption alignnone" style="width: 590px"><img class="size-full wp-image-3117" title="meebo_messenger_login" src="http://articles.tutorboy.com/content/uploads/2011/10/meebo_messenger_login.jpg" alt="" width="580" height="200" /><p class="wp-caption-text">For Gmail Users</p></div>
<p>After successful login you can see your friends list over there. Put your mouse pointer over your friends name in the list, there you will find their email id, profile pic, status message and <code>Resource:</code>. The <code>Resource:</code> is the messenger name.</p>
<p>If he is in GTalk its shows like <code>Talk.365464</code>.<br />
If he in in Android its looks like <code>Android.3DP546d4</code>.<br />
Or he is in Nimbuzz, then <code>Nimbuzz.3DP546d4</code>.</p>
<p>Look at the various screen shots.</p>
<div id="attachment_3119" class="wp-caption alignnone" style="width: 573px"><img class="size-full wp-image-3119" title="meebo_messenger_Nimbuzz_login" src="http://articles.tutorboy.com/content/uploads/2011/10/meebo_messenger_Nimbuzz_login.jpg" alt="" width="563" height="272" /><p class="wp-caption-text">logged in from Nimbuzz chat client.</p></div>
<div id="attachment_3118" class="wp-caption alignnone" style="width: 573px"><img class="size-full wp-image-3118" title="meebo_messenger_multiple_login" src="http://articles.tutorboy.com/content/uploads/2011/10/meebo_messenger_multiple_login.jpg" alt="" width="563" height="272" /><p class="wp-caption-text">Hmm .. He is logged in from two diffrent chat clients, From Gamil and Android</p></div>
<div id="attachment_3116" class="wp-caption alignnone" style="width: 573px"><img class="size-full wp-image-3116" title="meebo_messenger_bot_login" src="http://articles.tutorboy.com/content/uploads/2011/10/meebo_messenger_bot_login.jpg" alt="" width="563" height="272" /><p class="wp-caption-text">Ooh ... its a Google Bot.</p></div>
<div id="attachment_3115" class="wp-caption alignnone" style="width: 573px"><img class="size-full wp-image-3115" title="meebo_messenger_android_login" src="http://articles.tutorboy.com/content/uploads/2011/10/meebo_messenger_android_login.jpg" alt="" width="563" height="272" /><p class="wp-caption-text">Logged in from Android</p></div>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2011/10/31/find-your-friends-chat-clientmessenger/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Share Bookmarklet For Twitter</title>
		<link>http://articles.tutorboy.com/2011/10/28/share-bookmarklet-for-twitter/</link>
		<comments>http://articles.tutorboy.com/2011/10/28/share-bookmarklet-for-twitter/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 21:20:25 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Bookmarklet]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=3089</guid>
		<description><![CDATA[If you wish to tweet a webpage which your are currently reading, and there is no tweet or share button on that webpage, then Share Bookmarklet will makes it easy for you.]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-3090 aligncenter" title="twitter share bookmarklet " src="http://articles.tutorboy.com/content/uploads/2011/10/twitter_share_bookmarklet_1.jpg" alt="" width="580" height="300" /></p>
<p>If you wish to tweet a webpage which your are currently reading, and there is no tweet or share button on that webpage, then Share Bookmarklet will makes it easy for you. <span id="more-3089"></span><br />
This method will works in all major browsers.<br />
Follow these steps:</p>
<p>1. Drag &#8220;Share on Twitter&#8221; link to your bookmark bar<br />
<iframe style="border: 0; width: 150px; height: 40px;" src="http://demo.tutorboy.com/articles/twitter_share_bookmarklet.html" width="320" height="240"></iframe></p>
<p>If you browser doesn&#8217;t allow you to drag the button, just do the following.</p>
<p>2. Right Click on the Bookmark Bar on your browser, and select <code>New Bookmark</code></p>
<p>3. Fill <code>Name</code> field as &#8220;Share on Twitter&#8221;, and <code>Location or URL</code> field with the following script.</p>
<pre>javascript:(function(){window.twttr=window.twttr||{};var%20D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E;if(C&gt;A){G=Math.round((C/2)-(A/2))}window.twttr.shareWin=window.open('http://twitter.com/share','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1');E=F.createElement('script');E.src='http://platform.twitter.com/bookmarklets/share.js?v=1';F.getElementsByTagName('head')[0].appendChild(E)}());</pre>
<p><img class="alignnone size-full wp-image-3093" title="twitter share bookmarklet " src="http://articles.tutorboy.com/content/uploads/2011/10/twitter_share_bookmarklet_3.jpg" alt="" width="580" height="300" /></p>
<p>Finally load <a title="Twitter Tales: Our Users, Their Stories" href="http://tales.twitter.com/2010/11/twitter-is-sweet.html" target="_blank">any url</a> and click on the <code>Share on Twitter</code> button. If the popup came as shown in the image its working fine. Otherwise check with you popup setting of the browser. It will works in all major browsers.</p>
<p><img class="size-full wp-image-3091 aligncenter" title="twitter share bookmarklet " src="http://articles.tutorboy.com/content/uploads/2011/10/twitter_share_bookmarklet_2.jpg" alt="" width="580" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2011/10/28/share-bookmarklet-for-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steve Jobs &#8220;Thermonuclear War&#8221; Against Google&#8217;s Android</title>
		<link>http://articles.tutorboy.com/2011/10/21/steve-jobs-thermonuclear-war-against-googles-android/</link>
		<comments>http://articles.tutorboy.com/2011/10/21/steve-jobs-thermonuclear-war-against-googles-android/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 10:38:21 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=2988</guid>
		<description><![CDATA[
Steve Jobs wanted to destroy Android. &#8220;I will spend my last dying breath if I need to, and I will ...]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-2992 alignleft" style="border-style: initial; border-color: initial;" title="Android-vs-Apple" src="http://articles.tutorboy.com/content/uploads/2011/10/Android-vs-Apple.jpg" alt="" width="300" height="141" /></p>
<p>Steve Jobs wanted to destroy Android. &#8220;I will spend my last dying breath if I need to, and I will spend every penny of Apple&#8217;s $40 billion in the bank, to right this wrong … I&#8217;m going to destroy Android, because it&#8217;s a stolen product. I&#8217;m willing to go thermonuclear war on this&#8221; Steve Jobs. Jobs felt what Google had done with its successful Android operating system amounted to &#8220;grand theft&#8221;.<span id="more-2988"></span></p>
<p>Eric Schmidt is an executive chairman of Google and former member of the board of directors of Apple Inc. Steve refused to consider any sort of settlement to the lawsuit Apple filed. &#8220;I don&#8217;t want your money&#8221; Jobs told Eric Schmidt as the two men met in a cafe in Palo Alto early last year. &#8220;If you offer me $5 billion, I won’t want it. I&#8217;ve got plenty of money. I want you to stop using our ideas in Android, that’s all I want.&#8221; Unsurprisingly no settlement was reached, and the legal battle between Android OEMs and Apple continues to this day.</p>
<p>[via: <a href="http://tech.fortune.cnn.com/2011/10/21/steve-jobs-wanted-android-destroyed/">CNN</a>, <a href="http://hosted.ap.org/dynamic/stories/U/US_TEC_STEVE_JOBS_BOOK?SITE=AP&amp;SECTION=HOME&amp;TEMPLATE=DEFAULT&amp;CTIME=2011-10-20-19-24-52">Associated Press</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2011/10/21/steve-jobs-thermonuclear-war-against-googles-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s 5 Privacy Principles [video]</title>
		<link>http://articles.tutorboy.com/2011/10/20/googles-5-privacy-principles-video/</link>
		<comments>http://articles.tutorboy.com/2011/10/20/googles-5-privacy-principles-video/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 07:29:31 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Privacy Principles]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=2982</guid>
		<description><![CDATA[
Tips and advice for staying more secure on the web. There are so many fascinating things to do and explore ...]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-2983 alignright" title="theme-online-safety" src="http://articles.tutorboy.com/content/uploads/2011/10/theme-online-safety.png" alt="" width="248" height="259" /><br />
Tips and advice for staying more secure on the web. There are so many fascinating things to do and explore online, but there are also times when the Internet can be a little bit scary. Just like in the offline world, it’s important to keep yourself safe and secure. <span id="more-2982"></span>Whether you’re a new Internet user or an old hand, it’s good to stay updated on the best practices when it comes to sharing your data online and browsing safely. Here we give you advice for staying more secure on the web and an overview of some of the security tools that Google offers.</p>
<h2>Google’s Privacy Principles<br />
<iframe src="http://www.youtube.com/embed/7oe6pdQvyAc" frameborder="0" width="580" height="325"></iframe></h2>
<p>[for more: <a href="http://www.google.com/goodtoknow/">goodtoknow</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/2011/10/20/googles-5-privacy-principles-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

