<?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>Codez Blog</title>
	<atom:link href="http://blog.codez.in/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.codez.in</link>
	<description>ideas that matter</description>
	<lastBuildDate>Tue, 10 Apr 2012 10:27:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ECMAScript for XML: E4X</title>
		<link>http://blog.codez.in/ecmascript-for-xml-e4x/jquery/2012/04/10 </link>
		<comments>http://blog.codez.in/ecmascript-for-xml-e4x/jquery/2012/04/10 #comments</comments>
		<pubDate>Tue, 10 Apr 2012 10:26:42 +0000</pubDate>
		<dc:creator>rupak</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[javascript & jquery]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.codez.in/?p=1362</guid>
		<description><![CDATA[
E4X stands for “ECMAScript for XML” and ECMA in turn stands for European Computer Manufacturers Association. ECMAScript for XML (E4X) is a programming language extension that adds native XML support to ECMAScript. It is the next gen of Scripting Language.
ECMA is the standardizing and organization JavaScript. ECMA has also developed standards for quite a few [...]]]></description>
			<content:encoded><![CDATA[<div></div>
<div>E4X stands for <strong>“ECMAScript for XML”</strong> and ECMA in turn stands for <strong>European Computer Manufacturers Association</strong>. ECMAScript for XML (E4X) is a programming language extension that adds native XML support to ECMAScript. It is the next gen of Scripting Language.</div>
<div>ECMA is the standardizing and organization JavaScript. ECMA has also developed standards for quite a few stuffs apart from JavaScript e.g. Optical disks, Magnetic tape and C# language etc.</div>
<div>E4X is available to both Firefox and ActionScript developers that turns XML into a native data type on par with strings, arrays, objects, and regular expressions. Worth to mention its not the DOM equivalent of XML but is a distinct entity itself which has its own set of methods. E4X is implemented in SpiderMonkey (Gecko’s JavaScript engine) and in Rhino (JavaScript engine written in Java).</div>
<div>
<p><strong>Why work with E4X when you can do the same thing with JSON objects?</strong></p>
</div>
<div>JSON is marginally more compact to encode— than for attribute intensive XML or element heavy encodings. But this advantage disappears if the resource is gzipped as for both the cases we are storing labels and associated values. Thus if transmission is concerned then gzipping the content will occur as a matter of fact and the speed becomes insignificant comparison. Apart from this some very interesting work is going on with EXI (i.e. Efficient XML Interchange) that to at W3C level that is trying to make EXI more compact than even compressed JSON.</div>
<div>
<p><strong>Key features of E4X include:</strong></p>
</div>
<div>
<ul>
<li>ECMAScript for XML specification defines a new set of classes and functionality for working with XML data.</li>
<li>E4X can be used for creating templates for dynamic content.</li>
<li>Using E4X functionality is much easier and more intuitive than “walking the DOM”.</li>
<li>You manipulate XML data with well-known operators, such as the dot (.) operator.</li>
<li>Use the @ and (.) operators not only to read data, but also to assign data.</li>
</ul>
</div>
<div><span style="font-weight: bold">Limitations of E4X:</span></div>
<div>
<ul>
<li>E4X doesn’t support parsing XML declaration</li>
<li>It is not currently possible to access a DOM object through E4X.</li>
</ul>
</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fecmascript-for-xml-e4x%2Fjquery%2F2012%2F04%2F10%20&amp;linkname=ECMAScript%20for%20XML%3A%20E4X"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/ecmascript-for-xml-e4x/jquery/2012/04/10 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importance of Meta Tag Descriptions &amp; Keywords in SEO</title>
		<link>http://blog.codez.in/importance-of-meta-tag-descriptions-keywords-in-seo/seo/2012/04/03 </link>
		<comments>http://blog.codez.in/importance-of-meta-tag-descriptions-keywords-in-seo/seo/2012/04/03 #comments</comments>
		<pubDate>Tue, 03 Apr 2012 10:10:48 +0000</pubDate>
		<dc:creator>anushua</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[keywords]]></category>
		<category><![CDATA[meta tags]]></category>

		<guid isPermaLink="false">http://blog.codez.in/?p=1358</guid>
		<description><![CDATA[As described in Wikipedia, Search engine optimization (SEO) is the process of improving the visibility of a website or a web page in search engines&#8217; &#8220;natural&#8221; or un-paid (&#8220;organic&#8221; or &#8220;algorithmic&#8221;), search results. In general, the earlier (or higher ranked on the search results page), and more frequently a site appears in the search results [...]]]></description>
			<content:encoded><![CDATA[<p>As described in <a href="http://en.wikipedia.org/wiki/Search_engine_optimization" target="_blank">Wikipedia</a>, <strong>Search engine optimization (SEO)</strong> is the process of improving the visibility of a website or a web page in search engines&#8217; &#8220;natural&#8221; or un-paid (&#8220;organic&#8221; or &#8220;algorithmic&#8221;), search results. In general, the earlier (or higher ranked on the search results page), and more frequently a site appears in the search results list, the more visitors it will receive from the search engine&#8217;s users. SEO may target different kinds of search, including image search, local search, video search, academic search, news search and industry-specific vertical search engines.<br />
In other words, Search Engine Optimization is the technique of analyzing and building individual web pages, as well as entire sites, so that they can be discovered and listed by various search engines.</p>
<p><strong><br />
What is a Meta Description?</strong></p>
<p>Meta Descriptions are HTML attributes which provide brief explanations of the contents of web pages and are commonly used by search engines to display preview snippets for a given page on search result pages.<br />
It is usually placed inside the &lt;Head&gt; &lt;/Head&gt; section of a web page after the Title tag and before the Meta keywords tag (if you use one), although the order is not important.<br />
Meta description tags although are not of importance in case of search engine rankings but are very important in gaining user click-through from search engine result pages (SERPs). These short paragraphs are the webmaster’s opportunity to publicize content to users to and let them know exactly what content the given page has. Direct relevance to the page and inimitability between each page’s descriptions is very important. The description should ideally be between 150-160 characters.</p>
<p><strong>There are 3 important ways that Meta descriptions are being used today that make them an important part of your SEO and overall online marketing strategy:</strong></p>
<p>•    They can be used as the description (or part of the description) of your page if it shows up in the search results.<br />
•    They are often used as part of the descriptive information for your pages when Google shows &#8220;extended sitelinks&#8221; for your site.<br />
•    They are often used as the default description in social media marketing links such as Facebook and Google+.</p>
<p><strong>What are Keywords?</strong></p>
<p>Keywords are the most significant SEO element for every search engine because they are what search strings are matched against. Choosing the right keywords to optimize for is the primary and most vital step of any successful SEO campaign.  The initial thing you need to do is come up with keywords that describe the content of your website. <strong></strong></p>
<p><strong><br />
Some tips for increasing the visibility of your web page with regards to SEO keywords:</strong></p>
<p>•    Using the keyword in the title of the page<br />
•    Using the keyword in the URL<br />
•    Using the keyword in the meta tags, especially the meta description<br />
•    Using the keyword in any image file paths and in the images&#8217; alt text<br />
•    Using the keyword as the anchor text in links back to the page from elsewhere on the site</p>
<p>(<strong>Reference sites:</strong> <a href="http://en.wikipedia.org/wiki/Search_engine_optimization" target="_blank">http://en.wikipedia.org/wiki/Search_engine_optimization</a>, <a href="http://www.wordstream.com" target="_blank">http://www.wordstream.com</a>, <a href="http://www.highrankings.com" target="_blank">http://www.highrankings.com</a>)</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fimportance-of-meta-tag-descriptions-keywords-in-seo%2Fseo%2F2012%2F04%2F03%20&amp;linkname=Importance%20of%20Meta%20Tag%20Descriptions%20%26%23038%3B%20Keywords%20in%20SEO"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/importance-of-meta-tag-descriptions-keywords-in-seo/seo/2012/04/03 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Often Do You Try New Things?</title>
		<link>http://blog.codez.in/how-often-do-you-try-new-things/design/2012/04/03 </link>
		<comments>http://blog.codez.in/how-often-do-you-try-new-things/design/2012/04/03 #comments</comments>
		<pubDate>Tue, 03 Apr 2012 10:02:21 +0000</pubDate>
		<dc:creator>mukund</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[javascript & jquery]]></category>

		<guid isPermaLink="false">http://blog.codez.in/?p=1352</guid>
		<description><![CDATA[Web design in complicated and requires a lot of time and knowledge — and patience. It&#8217;s no longer just embedded text background images and slices; it&#8217;s interactivity and dynamic content, it&#8217;s HTML5 and mobile development, it&#8217;s JSON objects and Local Storage.
Advertisement
Web design in complicated and requires a lot of time and knowledge — and patience. [...]]]></description>
			<content:encoded><![CDATA[<p>Web design in complicated and requires a lot of time and knowledge — and patience. It&#8217;s no longer just embedded text background images and slices; it&#8217;s interactivity and dynamic content, it&#8217;s HTML5 and mobile development, it&#8217;s JSON objects and Local Storage.<br />
Advertisement<br />
Web design in complicated and requires a lot of time and knowledge — and patience. It’s no longer just embedded text background images and slices; it’s interactivity and dynamic content, it’s HTML5 and mobile development, it’s JSON objects and Local Storage.<br />
But beyond the many technologies to know and love, web design is also moving target. It changes all the time, month to month and week to week so if you’re not learning the new trends and technologies you’ll get left behind really quickly. Staying ahead of the game means you have to try and learn new things quickly. It’s an arms race. A race to better, more efficient designs, a race to embrace new technologies and methods before the next guy. It’s a huge messy world of languages, grids, typography, fonts, management systems and platforms — most designers tend to get really proficient at a few aspects of the web and neglect the rest. But while perfecting one or two aspects is great, what happens when the web changes tomorrow and those technologies are left behind?<br />
I’ve compiled a little list of my own, a list of ways you can begin to try new things — not really a list of things to try, but a list of resources and ways to try them. I’ll go into detail on each one of them below but here’s the quick list of items:<br />
•    Follow Design Magazines<br />
•    Write About Stuff<br />
•    Give Up One Hour a Day to Learn<br />
•    Take an Online Class<br />
•    Work on a Side Project with a Buddy<br />
•    Join a User Group or Two<br />
•    Become Bilingual<br />
•    Do Something Other than Web Design</p>
<p><strong>Read Design Magazines</strong></p>
<p>Fifty percent of the web is made up of design mags. Okay, not really, but it sure seems like it. There are literally thousands of really great design blogs on the interwebs that publish regular if not daily content on design subjects of all kinds. I think my Reader is up to three hundred different magazines that I glance at on a regular basis and no I don’t read them all… that’s why catchy headlines are important.<br />
If you don’t have a few favorite design blogs by now you need to find a couple. May I suggest <a href="http://Codrops.com" target="_blank">Codrops.com</a>? I started with Smashing Magazine just like everybody else, I call it the gateway mag for web design. Just start somewhere and find those that interest you the most. Regardless of subject matter, most blogs publish so often that they can’t help but stay up to date on trends. Reading and participating in these design blogs will also bring you into the vast, open and friendly design community and making you a part of it.</p>
<p><strong>Write About It</strong></p>
<p>I started writing about web design about a year and a half ago. I started a weird little blog and just started to write about stuff I knew. Then I realized that one of the best ways for me to learn new things was to write an article about it. It forced me to research the topic, learn the technology, and digest what I learned via writing. It’s a great way to learn and try new things without all the pressure of project deadlines or a boss breathing down your neck.<br />
Starting your blog is a great first step into exploring new things, plus, managing your own site can be an education in itself. But also consider writing guest posts for other magazines. Most magazine love guest writers and contributors because they can bring another perspective and tone their magazine as well as fill some empty publishing spots. Just hit up some of you favorite magazines and shoot them a few article ideas that you’d like to write about, I know they would be happy to have you contribute to their community.</p>
<p><strong>Devote One Hour A Day</strong></p>
<p>With so many design blogs and tutorials on the web just take an hour everyday to go through one of these online tutorials. Most online tutorials are an hour or so, they don’t generally require to much time on your part and they are a great way to learn new methods and tricks from other web professionals.<br />
There are a ton of online tutorials written by industries professionals, but here are a few of my favorite places:<br />
•    LearningJquery (jQuery Obviously)<br />
•    Codrops (jQuery tutorials)<br />
•    NetTuts (everything web dev tuts)<br />
•    PSDTuts (awesome photoshop tuts)<br />
•    VectorTuts (Vector graphic tutorials)<br />
•    Script-Tutorials (Web development tuts)<br />
•    Tutorialzine (tuts for anything interwebs)</p>
<p><strong>Take a Structured Online Class</strong></p>
<p>Online tutorials are a great way to learn new things but they generally only provide small pieces for you to chew on. Sometimes is nice or even necessary to dig deeper into a subject or language. But for most of us full-timers auditing a college course or going back for a Master’s just isn’t in the cards. That’s where a structured online course can fill the gap. Most colleges and universities offer either online course auditing or continuing education courses, continuing education courses are generally cheaper and most of them are aimed at the working professional, so most of the courses are shorter.<br />
iTunes University also offers a lot of great college level tech courses via Stanford University, MIT, ETSU, UC Davis and more. In some cases these tech courses are free to download and are the same courses taught on campus — minus the bookstore.<br />
If you’re not into the whole college course thing, sites like TreeHouse and Lynda.com provide video-based courses and differing member ship packages so that you can customize your education. Both sites provide excellent courses written and taught by industry professionals who really know and practice what they preach. Most of these video classes are self-paced but still offer the structure and deep theory that you would get from a college course.<br />
Not to brag, but more to illustrate, I actually just enrolled in an online AJAX class through my local community college’s continuing education program. It’s a six week, professor lead online course that was surprisingly inexpensive — 95 bones. It doesn’t start until the first of the year so I’ll let you know how it goes, but it looks very promising.</p>
<p><strong>Start a Project with a Buddy</strong></p>
<p>So you’ve just gone through a bunch of jQuery and HTML5 tutorials online and you’ve implemented a few things on your work related stuff, but your boss isn’t really hip to new tech yet so you’re fairly limited. I’ve found that one of the best ways to learn/apply new knowledge is to work on a side project — build something for yourself. Build a new web app for mobile or a funny website, but build something that you care about.<br />
It’s also nice to find a buddy and build something together. Chances are your buddy knows more than you about most things, so it’s a good opportunity to learn from them. I have learned a great deal of stuff just working on even small projects with friends, they all have their levels of expertise on stuff so it’s nice to pick it up from them. Plus, it’s a good way to stay busy, maintaining friendships and apply the new tech knowledge that your boss refuse to believe in.<br />
<strong></strong></p>
<p><strong>Join a Group</strong></p>
<p>If the friends you know aren’t into the same stuff as you, or just being pricks about not wanting to work with you on your latest Internet scheme, I bet if you did a little bit of research right now, you’d be able to find a user group in your area on pretty much anything form WordPress to design to Javascript. User groups are great places to meet people, find jobs and just learn more about a particular technology or interest. I prefer the live meet up groups versus the online discussion groups just for the sheer interaction level, but online groups are also a great way to learn and meet people in the community.<br />
Groups and communities can provide you with a lot of benefits and opportunities.You can learn from presentations and classes, you can meet people in your same area of interest, you can network with others to find jobs or freelance opportunities and in some case you can win free stuff! The WordCamp community is basically how I got excited and learned about WordPress. I’ve learned an awful lot form attending WordCamp events, met really good people who have furthered my education and even gotten a freelance job or two.</p>
<p><strong>Learn a New Language</strong></p>
<p>You’ve probably seen a developer at work wearing his new “I Ride the Rails” t-shirt from his priceless collection of ‘I’m smarter than you’ t-shirts collection, but you probably didn’t realize it had something to do with the web — maybe just a new gaming meme. Learning a new web language can be challenging if you’re like me, but in the age of web design it’s a great way to keep up. I’m generally only fluent in HTML and CSS, but I can speak a little PHP and Javascript — even a few dialects like jQuery and Prototype.<br />
Learning even the basic syntax of other languages not only teaches you to be aware that they are out there, but they also expand your knowledge of web programming in general. Learning new languages can actually be pretty fun once you get past that awkward phase where everything is flying over your head, but once you enter the bull shitting realm you’ll be able to use what you know to write and share your own snippets. Oh, and if you still don’t know what Rails is, then might I suggest Rails For Zombies.</p>
<p><strong>Get Outside the Box</strong></p>
<p>Since the web can sometimes be this super overwhelming place of intertwined media and technologies where once a month a new technology is king, it’s important to get out and remember why you started designing web sites and apps in the first place. It’s good to get outside the web and learn something else every once in a while. Go buy an oil painting book and learn to paint. Try your hand at comic book illustration, or go take a class in woodworking at your community college.<br />
These types of outside learning experiences may not seem to apply to the web at all, but they actually do three things: add more design knowledge to your brain, give you a different perspective on design, and allow you to re-kindle your passion for design and creativity. Doing other design related things like drawing or painting allow you to refocus on core compositional principles and help you see things in web design that you haven’t noticed before and be able to apply them.<br />
For me, one of the hardest things was finding creativity when coding. Writing code can seem like such a task, just a necessary evil of reproducing your brilliant designs, but I’ve actually discovered that writing code is just another medium for creation, just like painting or sculpting. It’s only been through recent study of architecture and industrial design that I have found the technical side of the web to be creative. Learning new things outside of the the web design world allows you to see it differently or even from a new perspective.</p>
<p><strong>How often do you try new things?</strong></p>
<p>As web creators there is a lot to learn out there and there have been specific lines drawn in the past as to who knew what. Previously the web consisted of graphics designers, developers, user experience specialist and project managers. But today those lines are becoming more and more blurry day by day. Users demand more interaction and this means that we, the creators, must interact more as well. Try new things often, if not daily, even if this means you’ll never become proficient at any one thing you try, even a small experience with one thing can make a huge impact.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fhow-often-do-you-try-new-things%2Fdesign%2F2012%2F04%2F03%20&amp;linkname=How%20Often%20Do%20You%20Try%20New%20Things%3F"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/how-often-do-you-try-new-things/design/2012/04/03 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamically Styling Modules and Blocks in Drupal 6</title>
		<link>http://blog.codez.in/dynamically-styling-modules-and-blocks-in-drupal-6-2/web-development/2011/09/22 </link>
		<comments>http://blog.codez.in/dynamically-styling-modules-and-blocks-in-drupal-6-2/web-development/2011/09/22 #comments</comments>
		<pubDate>Thu, 22 Sep 2011 09:31:48 +0000</pubDate>
		<dc:creator>Sandipan Bhattacharjee</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.codez.in/?p=1345</guid>
		<description><![CDATA[The default templates and themable functions contribute a good deal to the productivity on a Drupal site, and several are positioned on the page through the assignment of blocks to regions. Today we will focus mainly on how to control the formatting of a site&#8217;s various modules and blocks.
1.    Dynamically Styling Blocks:
Block [...]]]></description>
			<content:encoded><![CDATA[<p>The default templates and themable functions contribute a good deal to the productivity on a Drupal site, and several are positioned on the page through the assignment of blocks to regions. Today we will focus mainly on how to control the formatting of a site&#8217;s various modules and blocks.</p>
<p><strong>1.    Dynamically Styling Blocks:</strong></p>
<p>Block output is controlled by the block.tpl.php template. As in other areas, PHPTemplate will look to the names given to multiple template files to determine which template to display. The order of precedence used for the block template is consistent with that used elsewhere.<br />
•    you can provide a template to apply to the blocks of a specific module of a specific delta `(block-modulename-delta.tpl.php)`.<br />
•    You can also attach a template to blocks of a module by module name `(block-modulename.tpl.php)`, or to the blocks of a particular region `(block-regionname.tpl.php)`.<br />
•    If nothing is specified, the system applies the default `block.tpl.php` template.<br />
If you are not certain of the attribution of your block, that is, the name of the module that produces the block or the block&#8217;s delta, try using the Theme Developer feature of the Devel module. If you have the Devel module installed on your site, you can yield information in the form of a list of suggestions quite effortlessly<br />
•    Install the Devel module.<br />
•    Activate the Theme Developer option.<br />
•    Open your browser and go to the page where your block appears.<br />
•    Click the **Themer Info** checkbox on the bottom left of the screen, then click on the block in question.<br />
When you click on the element, a pop up will appear:</p>
<p><a href="http://blog.codez.in/wp-content/uploads/2011/09/16.jpg"><img class="aligncenter size-full wp-image-1321" src="http://blog.codez.in/wp-content/uploads/2011/09/16.jpg" alt="" width="711" height="196" /></a><br />
<strong>2.    Dynamically Styling the Forum Module:</strong><br />
The base template of the forum module is `forums.tpl.php`. There are several suggestions for both forum containers and topics:</p>
<p><a href="http://blog.codez.in/wp-content/uploads/2011/09/21.jpg"><img class="aligncenter size-full wp-image-1322" src="http://blog.codez.in/wp-content/uploads/2011/09/21.jpg" alt="" width="710" height="203" /></a></p>
<p><strong>3.    Dynamically Styling the Polls Module:</strong><br />
The Polls module is the subject to a number of default templates. There are default suggestions available for all the key templates:</p>
<p><a href="http://blog.codez.in/wp-content/uploads/2011/09/33.jpg"><img src="http://blog.codez.in/wp-content/uploads/2011/09/33-300x83.jpg" alt="" width="300" height="83" class="alignnone size-medium wp-image-1348" /></a><br />
<strong>4.    Dynamically Styling Nodes:</strong><br />
PHPTemplate provides an explicit template for nodes—`node.tpl.php`. In the absence of a more specific template, the system will apply the default `node.tpl.php` file. The table below shows the suggestions for the default system:</p>
<p><a href="http://blog.codez.in/wp-content/uploads/2011/09/41.jpg"><img class="aligncenter size-full wp-image-1324" src="http://blog.codez.in/wp-content/uploads/2011/09/41.jpg" alt="" width="727" height="220" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fdynamically-styling-modules-and-blocks-in-drupal-6-2%2Fweb-development%2F2011%2F09%2F22%20&amp;linkname=Dynamically%20Styling%20Modules%20and%20Blocks%20in%20Drupal%206"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/dynamically-styling-modules-and-blocks-in-drupal-6-2/web-development/2011/09/22 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Theme profile2 module form</title>
		<link>http://blog.codez.in/how-to-theme-profile2-module-form/web-development/2011/09/22 </link>
		<comments>http://blog.codez.in/how-to-theme-profile2-module-form/web-development/2011/09/22 #comments</comments>
		<pubDate>Thu, 22 Sep 2011 09:05:56 +0000</pubDate>
		<dc:creator>rupak</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://blog.codez.in/?p=1335</guid>
		<description><![CDATA[In drupal the form is rendered using the form rendering system, which doesn&#8217;t include template files.
To theme the profile 2 form we use “hook_theme()”.
Go through the steps:
1.	In this step copy the code in template.php of the theme or any php file and include the file in template, php used with proper theme name and form [...]]]></description>
			<content:encoded><![CDATA[<p>In drupal the form is rendered using the form rendering system, which doesn&#8217;t include template files.<br />
To theme the profile 2 form we use “hook_theme()”.<br />
Go through the steps:<br />
1.	In this step copy the code in template.php of the theme or any php file and include the file in template, php used with proper theme name and form id. Here we are using ZUK theme and &#8216;user-profile2-form&#8217; form id</p>
<div class="codesnip-container" >function zuk_theme($existing, $type, $theme, $path){<br />
return array(<br />
&#8216;user-profile2-form &#8216; =&gt; array(<br />
&#8216;render element&#8217; =&gt; &#8216;form&#8217;,<br />
&#8216;template&#8217; =&gt; &#8216;user-profile-form&#8217;,// new form template name<br />
&#8216;path&#8217; =&gt; drupal_get_path(&#8216;theme&#8217;, &#8216;zuk&#8217;) . &#8216;/templates&#8217;,<br />
//add &#8216;/templates&#8217; only if you store template files in an additional folder<br />
),<br />
);<br />
}</div>
<p>This tells the Drupal theming system that there&#8217;s a template file waiting for it in zuk/templates.</p>
<p>2.	Next we define variables to pass into that template in a “hook_preprocess_HOOK” function. You can find the structured array of the form in “$variables['form']” and assign the form elements to the variables we&#8217;d like to throw around our tpl.php file.</p>
<div class="codesnip-container" >function<br />
zuk_preprocess_user-profile2-form (&amp;$variables) {<br />
$variables['rendered'][‘first_name’] = drupal_render($variables['form']['first_name']);<br />
$variables['rendered'][‘last_name’] = drupal_render($variables['form']['last_name']);<br />
}</div>
<p>use var_dump(($variables['form']) to see all the element of the array (i.e form element)</p>
<p>3.	Create a new template file named .tpl.php in &#8216;YOURTHEME/templates&#8217;. Same as name of template mentioned in zuk_theme() function.</p>
<div class="codesnip-container" >{div id=&#8221;new-form_template&#8221;}<br />
	{?php echo $rendered[first_name]; ?}<br />
{?php echo $rendered[last_name]; ?}<br />
{/div}</div>
<p>In the above code &#8220;< >&#8221; are replaced by &#8220;{ }&#8221;<br />
Now you can see the changes in edit tab of the profile pages.</p>
<p><strong>Note: The hidden file like form_id and token must be there inside the form. Otherwise the form saves not working. </strong></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fhow-to-theme-profile2-module-form%2Fweb-development%2F2011%2F09%2F22%20&amp;linkname=How%20to%20Theme%20profile2%20module%20form"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/how-to-theme-profile2-module-form/web-development/2011/09/22 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display your Google Calendar in Windows Calendar</title>
		<link>http://blog.codez.in/display-your-google-calendar-in-windows-calendar/web-development/2011/09/22 </link>
		<comments>http://blog.codez.in/display-your-google-calendar-in-windows-calendar/web-development/2011/09/22 #comments</comments>
		<pubDate>Thu, 22 Sep 2011 07:46:38 +0000</pubDate>
		<dc:creator>paramita</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Google Calender]]></category>

		<guid isPermaLink="false">http://blog.codez.in/?p=1327</guid>
		<description><![CDATA[Google Calendar and similar other online calendaring applications provide simple centralized systems, where online communities can maintain event calendars and community members can extract information about upcoming events. But many organizations prefer to display event calendars on their community portals, forums, or blogs. They often copy event calendar information from online calendaring applications onto their [...]]]></description>
			<content:encoded><![CDATA[<p>Google Calendar and similar other online calendaring applications provide simple centralized systems, where online communities can maintain event calendars and community members can extract information about upcoming events. But many organizations prefer to display event calendars on their community portals, forums, or blogs. They often copy event calendar information from online calendaring applications onto their Web sites, reducing the effectiveness of centrally managed events online. Google Calendar provides an integrated application program interface (API) that solves the problem.<br />
To subscribe to your Google Calendar, you’ll first need to get the iCal link to your calendar.</p>
<ul>
<li> <strong>In Google Calendar:</strong> Go to Settings \ Calendars and then click on your calendar in the list.</li>
<li>You should see a “Private Address” section:</li>
</ul>
<p><a href="http://blog.codez.in/wp-content/uploads/2011/09/17.jpg"><img class="aligncenter size-full wp-image-1328" src="http://blog.codez.in/wp-content/uploads/2011/09/17.jpg" alt="" width="331" height="80" /></a></p>
<ul>
<li>Right click on the ICAL link, and choose Copy Shortcut to copy the link to the clipboard.</li>
<li>Now open Windows Calendar, and click the Subscribe buttton on the toolbar:</li>
</ul>
<p><a href="http://blog.codez.in/wp-content/uploads/2011/09/22.jpg"><img class="aligncenter size-full wp-image-1329" src="http://blog.codez.in/wp-content/uploads/2011/09/22.jpg" alt="" width="198" height="74" /></a></p>
<ul>
<li>Paste the URL into the textbox, and hit the Next button:</li>
</ul>
<p><a href="http://blog.codez.in/wp-content/uploads/2011/09/32.jpg"><img class="aligncenter size-full wp-image-1330" src="http://blog.codez.in/wp-content/uploads/2011/09/32.jpg" alt="" width="390" height="164" /></a></p>
<ul>
<li>After what seems like far too long, you’ll see the next screen:</li>
</ul>
<p><a href="http://blog.codez.in/wp-content/uploads/2011/09/42.jpg"><img class="aligncenter size-full wp-image-1331" src="http://blog.codez.in/wp-content/uploads/2011/09/42.jpg" alt="" width="284" height="227" /></a></p>
<ul>
<li>The key thing that you’ll want to choose on this screen is the Update interval, which will keep the calendar automatically sync up.</li>
<li>That’s all there is to it. Notice the blue appointments are the ones that came from Google Calendar:</li>
</ul>
<p><a href="http://blog.codez.in/wp-content/uploads/2011/09/51.jpg"><img class="aligncenter size-full wp-image-1332" src="http://blog.codez.in/wp-content/uploads/2011/09/51.jpg" alt="" width="407" height="390" /></a></p>
<p>Excerpted from :<a href="http://www.howtogeek.com/howto/windows-vista/display-your-google-calendar-in-windows-calendar/" target="_blank"> http://www.howtogeek.com/howto/windows-vista/display-your-google-calendar-in-windows-calendar/</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fdisplay-your-google-calendar-in-windows-calendar%2Fweb-development%2F2011%2F09%2F22%20&amp;linkname=Display%20your%20Google%20Calendar%20in%20Windows%20Calendar"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/display-your-google-calendar-in-windows-calendar/web-development/2011/09/22 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Query Optimization</title>
		<link>http://blog.codez.in/sql-query/php/2011/09/21 </link>
		<comments>http://blog.codez.in/sql-query/php/2011/09/21 #comments</comments>
		<pubDate>Wed, 21 Sep 2011 11:25:30 +0000</pubDate>
		<dc:creator>Sahel Aktar</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blog.codez.in/f/uncategorized/2011/09/21 </guid>
		<description><![CDATA[Today we will learn a few interesting things about SQL Query Optimization.
How to get query execution time and executed query number?
Follow the code given below:
function timer()
{
$time = explode(&#8216; &#8216;, microtime());
return $time[0]+$time[1];
}
$beginning = timer();
$timer_queries += round(timer()-$beginning,6);

The sql query becomes faster if you use the actual columns names in SELECT statement instead of than &#8216;*&#8217;.
For Example: Write [...]]]></description>
			<content:encoded><![CDATA[<p>Today we will learn a few interesting things about SQL Query Optimization.</p>
<p><strong>How to get query execution time and executed query number?</strong></p>
<p>Follow the code given below:</p>
<div class="codesnip-container" >function timer()<br />
{<br />
$time = explode(&#8216; &#8216;, microtime());<br />
return $time[0]+$time[1];<br />
}<br />
$beginning = timer();<br />
$timer_queries += round(timer()-$beginning,6);</div>
<p><strong><br />
The sql query becomes faster if you use the actual columns names in SELECT statement instead of than &#8216;*&#8217;.</strong><br />
For Example: Write the query as<br />
SELECT id, first_name, last_name, age, subject FROM student_details;<br />
Instead of:<br />
SELECT * FROM student_details;<br />
<strong>HAVING clause is used to filter the rows after all the rows are selected. It is just like a filter. Do not use HAVING clause for any other purposes.</strong><br />
For Example: Write the query as<br />
SELECT subject, count(subject)<br />
FROM student_details<br />
WHERE subject != &#8216;Science&#8217;<br />
AND subject != &#8216;Maths&#8217;<br />
GROUP BY subject;<br />
Instead of:<br />
SELECT subject, count(subject)<br />
FROM student_details<br />
GROUP BY subject<br />
HAVING subject!= &#8216;Vancouver&#8217; AND subject!= &#8216;Toronto&#8217;;<br />
<strong>Sometimes you may have more than one subqueries in your main query. Try to minimize the number of subquery block in your query.</strong><br />
For Example: Write the query as<br />
SELECT name<br />
FROM employee<br />
WHERE (salary, age ) = (SELECT MAX (salary), MAX (age)<br />
FROM employee_details)<br />
AND dept = &#8216;Electronics&#8217;;<br />
Instead of:<br />
SELECT name<br />
FROM employee<br />
WHERE salary = (SELECT MAX(salary) FROM employee_details)<br />
AND age = (SELECT MAX(age) FROM employee_details)<br />
AND emp_dept = &#8216;Electronics&#8217;;<br />
<strong>Be careful while using conditions in WHERE clause.</strong><br />
For Example: Write the query as<br />
SELECT id, first_name, age FROM student_details WHERE age &gt; 10;<br />
Instead of:<br />
SELECT id, first_name, age FROM student_details WHERE age != 10;<br />
Write the query as:<br />
SELECT product_id, product_name<br />
FROM product<br />
WHERE unit_price BETWEEN MAX(unit_price) and MIN(unit_price)<br />
Instead of:<br />
SELECT product_id, product_name<br />
FROM product<br />
WHERE unit_price &gt;= MAX(unit_price)<br />
and unit_price &lt;= MIN(unit_price)</p>
<p><strong>In SQL, wildcard is provided for us with ‘%’ symbol. </strong></p>
<p>Using wildcard will definitely slow down your query especially for table that are really huge. We can optimize our query with wildcard by doing a postfix wildcard instead of pre or full wildcard.</p>
<ul>
<li> #Full wildcard</li>
<li> SELECT * FROM TABLE WHERE COLUMN LIKE &#8216;%hello%&#8217;;</li>
<li> #Postfix wildcard</li>
<li> SELECT * FROM TABLE WHERE COLUMN LIKE  &#8216;hello%&#8217;;</li>
<li> #Prefix wildcard 6	SELECT * FROM TABLE WHERE COLUMN LIKE  &#8216;%hello&#8217;;</li>
</ul>
<p><strong> count vs exist</strong></p>
<p>Some of us might use COUNT operator to determine whether a particular data exist 1.	SELECT COLUMN FROM TABLE WHERE COUNT(COLUMN) &gt; 0<br />
Similarly, this is very bad query since count will search for all record exist on the table to determine the numeric value of field ‘COLUMN’. The better alternative will be to use the EXIST operator where it will stop once it found the first record. Hence, it exist.<br />
<strong> Limit The Result</strong><br />
Another common way of optimizing your query is to minimize the number of row return. If a table have a few billion records and a search query without limitation will just break the database with a simple SQL query such as this.<br />
1	SELECT * FROM TABLE<br />
Hence, don’t be lazy and try to limit the result turn which is both efficient and can help minimize the damage of an SQL injection attack.<br />
1 SELECT * FROM TABLE WHERE 1 LIMIT 10</p>
<p><strong>In Subquery</strong><br />
Use operator EXISTS, IN and table joins appropriately in your query.<br />
a) Usually IN has the slowest performance.<br />
b) IN is efficient when most of the filter criteria is in the sub-query.<br />
c) EXISTS is efficient when most of the filter criteria is in the main query.<br />
For Example: Write the query as<br />
Select * from product p<br />
where EXISTS (select * from order_items o<br />
where o.product_id = p.product_id)<br />
Instead of:<br />
Select * from product p<br />
where product_id IN<br />
(select product_id from order_items<br />
Some of us will use a subquery within the IN operator such as this.<br />
1	SELECT * FROM TABLE WHERE COLUMN IN (SELECT COLUMN FROM TABLE)<br />
Doing this is very expensive because SQL query will evaluate the outer query first before proceed with the inner query. Instead we can use this instead.<br />
1	SELECT * FROM TABLE, (SELECT COLUMN FROM TABLE) as dummytable WHERE dummytable.COLUMN = TABLE.COLUMN;<br />
Using dummy table is better than using an IN operator to do a subquery. Alternative, an exist operator is also better.<br />
<strong>Utilize Union instead of OR</strong><br />
Indexes lose their speed advantage when using them in OR-situations in MySQL at least. Hence, this will not be useful although indexes is being applied<br />
1	SELECT * FROM TABLE WHERE COLUMN_A = &#8216;value&#8217; OR COLUMN_B = &#8216;value&#8217;<br />
On the other hand, using Union such as this will utilize Indexes.<br />
1	SELECT * FROM TABLE WHERE COLUMN_A = &#8216;value&#8217;<br />
2	UNION<br />
3	SELECT * FROM TABLE WHERE COLUMN_B = &#8216;value&#8217;<br />
Hence, run faster.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fsql-query%2Fphp%2F2011%2F09%2F21%20&amp;linkname=SQL%20Query%20Optimization"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/sql-query/php/2011/09/21 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To create a password meter using Javascript</title>
		<link>http://blog.codez.in/to-create-a-paasword-meter-using-javascript/jquery/2011/09/21 </link>
		<comments>http://blog.codez.in/to-create-a-paasword-meter-using-javascript/jquery/2011/09/21 #comments</comments>
		<pubDate>Wed, 21 Sep 2011 07:23:45 +0000</pubDate>
		<dc:creator>rajat</dc:creator>
				<category><![CDATA[javascript & jquery]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.codez.in/?p=1278</guid>
		<description><![CDATA[We can see various type of password strength meter when we are registering on different types of websites. Here I will show you how to create a simple password strength meter using JavaScript and PHP.
There will be three steps:
1st create a html form:
{form method=&#8221;post&#8221;}
{h1}Password strength meter{/h1}
{label for=&#8221;pass&#8221;}Password{/label}
{input type=&#8221;password&#8221; name=&#8221;pass&#8221; id=&#8221;pass&#8221; onkeyup=&#8221;passwordStrength(this.value)&#8221; /} 
{label for=&#8221;passwordStrength&#8221;}Password strength{/label}
{div [...]]]></description>
			<content:encoded><![CDATA[<p>We can see various type of password strength meter when we are registering on different types of websites. Here I will show you how to create a simple password strength meter using JavaScript and PHP.</p>
<p><strong>There will be three steps:</strong></p>
<p><strong>1st create a html form:</strong></p>
<div class="codesnip-container" >{form method=&#8221;post&#8221;}<br />
{h1}Password strength meter{/h1}<br />
{label for=&#8221;pass&#8221;}Password{/label}<br />
{input type=&#8221;password&#8221; name=&#8221;pass&#8221; id=&#8221;pass&#8221; onkeyup=&#8221;passwordStrength(this.value)&#8221; /} </p>
<p>{label for=&#8221;passwordStrength&#8221;}Password strength{/label}</p>
<p>{div id=&#8221;passwordDescription&#8221;}Password not entered{/div}</p>
<p>{div id=&#8221;passwordStrength&#8221; class=&#8221;strength0&#8243;}{/div}</p>
<p>{/form}</p></div>
<p>the &#8220;< >&#8221; are replaced with &#8220;{ }&#8221; for convenience.<br />
<strong>2nd Create a style sheet which will help us to show the strength meter in different colour:</strong></p>
<div class="codesnip-container" >#passwordStrength<br />
{<br />
height:10px;<br />
display:block;<br />
float:left;<br />
}<br />
.strength0<br />
{<br />
width:250px;<br />
background:#cccccc;<br />
}<br />
.strength1<br />
{<br />
width:50px;<br />
background:#ff0000;<br />
}<br />
.strength2<br />
{<br />
width:100px;<br />
background:#ff5f5f;<br />
}</p>
<p>.strength3<br />
{<br />
width:150px;<br />
background:#56e500;<br />
}<br />
.strength4<br />
{<br />
background:#4dcd00;<br />
width:200px;<br />
}<br />
.strength5<br />
{<br />
background:#399800;<br />
width:250px;<br />
}</p></div>
<p><strong>3rd and most important step that is to create the javascript code:<br />
</strong></p>
<div class="codesnip-container" >function passwordStrength(password)<br />
{	var desc = new Array();<br />
desc[0] = &#8220;Very Weak&#8221;;<br />
desc[1] = &#8220;Weak&#8221;;<br />
desc[2] = &#8220;Better&#8221;;<br />
desc[3] = &#8220;Medium&#8221;;<br />
desc[4] = &#8220;Strong&#8221;;<br />
desc[5] = &#8220;Strongest&#8221;;<br />
var score   = 0;<br />
//if password bigger than 6 give 1 point<br />
if (password.length &gt; 6) score++;</p>
<p>//if password has both lower and uppercase characters give 1 point<br />
if ( ( password.match(/[a-z]/) ) &amp;&amp; ( password.match(/[A-Z]/) ) ) score++;</p>
<p>//if password has at least one number give 1 point<br />
if (password.match(/\d+/)) score++;</p>
<p>//if password has at least one special caracther give 1 point<br />
if ( password.match(/.[!,@,#,$,%,^,&amp;,*,?,_,~,-,(,)]/) )	score++;</p>
<p>//if password bigger than 12 give another 1 point<br />
if (password.length &gt; 12) score++;<br />
document.getElementById(&#8220;passwordDescription&#8221;).innerHTML = desc[score]; document.getElementById(&#8220;passwordStrength&#8221;).className = &#8220;strength&#8221; + score;}</p></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fto-create-a-paasword-meter-using-javascript%2Fjquery%2F2011%2F09%2F21%20&amp;linkname=To%20create%20a%20password%20meter%20using%20Javascript"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/to-create-a-paasword-meter-using-javascript/jquery/2011/09/21 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Value of META TAG</title>
		<link>http://blog.codez.in/value-of-meta-tag/html/2011/09/21 </link>
		<comments>http://blog.codez.in/value-of-meta-tag/html/2011/09/21 #comments</comments>
		<pubDate>Wed, 21 Sep 2011 07:12:39 +0000</pubDate>
		<dc:creator>arindam</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[meta tags]]></category>

		<guid isPermaLink="false">http://blog.codez.in/?p=1274</guid>
		<description><![CDATA[
Meta tags are HTML codes that are inserted into the header on a web page Meta tag helps Google search simpler. The word Meta means information about.  Meta tag gives information inserted into the &#8220;head&#8221; area of your web pages. Meta tags, for example, can tell a browser what &#8220;character set&#8221; to use or whether [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong><br />
</strong></em><strong>Meta tags are HTML codes that are inserted into the header on a web page Meta tag helps Google search simpler</strong>. The word Meta means<strong> information about</strong>.  Meta tag gives information inserted into the &#8220;head&#8221; area of your web pages. Meta tags, for example, can tell a browser what &#8220;character set&#8221; to use or whether a web page has self-rated itself in terms of adult content. The reason why Meta tags used to be so important was because they were relied on by search engines to build a profile of a web page.  It also helps to increase page ranking in internet in a minor way.</p>
<p>There are some rules or guidelines to put your Meta tag:</p>
<ul>
<li>Keep your list of keywords or keyword phrases down to <strong>10 &#8211; 15 unique words or phrases</strong><em><strong> </strong></em></li>
<li><strong>Separate the words or phrases</strong> using a comma (you do not need to leave a space between words separated by commas</li>
<li><strong>Do not repeat</strong> words or phrases</li>
<li> <strong>put your most important word or phrases at the beginning</strong> of your list</li>
</ul>
<p><strong><br />
For example:</strong> if you have a page of Software Testing and you write “softwaretesting” as a single word in Meta tag.  But some people may instead search for “software testing” with &#8220;software testing&#8221; in their searches being two separate words.</p>
<p>Therefore, if you write “software testing” as different word, then may be your page will be ranked better.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fvalue-of-meta-tag%2Fhtml%2F2011%2F09%2F21%20&amp;linkname=Value%20of%20META%20TAG"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/value-of-meta-tag/html/2011/09/21 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Several great SEO tips</title>
		<link>http://blog.codez.in/several-great-seo-tips/seo/2011/09/21 </link>
		<comments>http://blog.codez.in/several-great-seo-tips/seo/2011/09/21 #comments</comments>
		<pubDate>Wed, 21 Sep 2011 05:38:21 +0000</pubDate>
		<dc:creator>Subhankar Das</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://blog.codez.in/?p=1270</guid>
		<description><![CDATA[Here are 9 of the top 52 tips on how to optimize your website for its turbo-charge rocket ride up the search engine rankings.

Be bold: Use the &#60;b&#62; &#60;/b&#62; tags around some of your keywords on each page. Do NOT use them everywhere the keyword appears. Once or twice is plenty.
Deep linking: Make sure you [...]]]></description>
			<content:encoded><![CDATA[<p>Here are 9 of the top 52 tips on how to optimize your website for its turbo-charge rocket ride up the search engine rankings.</p>
<ul>
<li><strong>Be bold:</strong> Use the &lt;b&gt; &lt;/b&gt; tags around some of your keywords on each page. Do NOT use them everywhere the keyword appears. Once or twice is plenty.</li>
<li><strong>Deep linking:</strong> Make sure you have links coming in to as many pages as possible. What does it tell a search engine when other web sites are linking to different pages on your site? That you obviously have lots of worthwhile content. What does it tell a search engine that all your links are coming in to the home page? That you have a shallow site of little value, or that your links were generated by automation rather than by the value of your site.</li>
<li><strong>Social bookmarking:</strong> Make it easy for your visitors to social bookmark your website, creating important links that the search engines value. There are plenty of free social bookmarking widgets available.</li>
<li><strong>Newsletters: </strong>Offer articles to ezine publishers that archive their ezines. The links stay live often for many years in their archives.</li>
<li><strong>First come, first served:</strong> If you must have image links in your navigation bar, include also text links. However, make sure the text links show up first in the source code, because search engine robots will follow the first link they find to any particular page. They won’t follow additional links to the same page.</li>
<li><strong>Multiple domains: </strong>If you have several topics that could each support their own website, it might be worth having multiple domains. Why? First, search engines usually list only one page per domain for any given search, and you might warrant two. Second, directories usually accept only home pages, so you can get more directory listings this way. Why not a site dedicated to gumbo pudding pops?</li>
<li><strong>Article exchanges:</strong> You’ve heard of link exchanges, useless as they generally are. Article exchanges are like link exchanges, only much more useful. You publish someone else’s article on the history of pudding pops with a link back to their site. They publish your article on the top ten pudding pop flavors in Viet Nam, with a link back to your site. You both have content. You both get high quality links. (More on high quality links in other tips.)</li>
<li><strong>Titles for links:</strong> Links can get titles, too. Not only does this help visually impaired surfers know where you are sending them, but some search engines figure this into their relevancy for a page.</li>
<li><strong>Not anchor text:</strong> Don’t overdo the anchor text. You don’t want all your inbound links looking the same, because that looks like automation – something Google frowns upon. Use your URL sometimes, your company name other times, “Gumbo Pudding Pop” occasionally, “Get gumbo pudding pops” as well, “Gumbo-flavored pudding pops” some other times, etc…..</li>
</ul>
<p>I will provide the next set of tips in my next blog.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.codez.in%2Fseveral-great-seo-tips%2Fseo%2F2011%2F09%2F21%20&amp;linkname=Several%20great%20SEO%20tips"><img src="http://blog.codez.in/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.codez.in/several-great-seo-tips/seo/2011/09/21 /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
