Jumat, 01 April 2011

Make Dynamic Keyword For Blogs


how to make dynamic keyword for blogspot | keyword for every article for blogspot | dynamic keyword per article | article title is keyword for blogspot
How important is the Meta Keywords for our blog? Very important, important for what? of course to get more visitors, because the meta keywords for your site will make your site more Seo Friendly. Usually blogs that use blogger can only display a static meta keywords. 


Meta keywords are showing that is always the same in all pages of your blog. It was highly unpopular for Search Engines especially Google. The meta keywords who always the same or static  meta keyword for each blog page we will confuse the Search Engines, and consider if your website using duplicate keywords, it is not allowed by Google itself.

Right now we're going to create a label bloggers become dynamic meta keywords. Ok Firstly go to Layout - Edit Html - Click on the Expand Widgets Templates, and then paste the following code before the tag <head> :


<!--::::::::::: Block1: Output post meta keywords -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
   <b:section id='meta1' showaddelement='no'>
   <!-- widget must be a of Type = 'blog' to have posts data exposed, and must have a unique id -->
   <!-- Empty Includables(functions) to output nothing, You must keep them ): -->
   <b:widget id='Blog2' locked='no' type='Blog'>
      <b:includable id='nextprev'/>
      <b:includable id='backlinks' var='post'/>
      <b:includable id='post' var='post' />
      <b:includable id='status-message'/>
      <b:includable id='comment-form' var='post'/>
      <b:includable id='backlinkDeleteIcon' var='backlink'/>
      <b:includable id='postQuickEdit' var='post'/>
      <b:includable id='commentDeleteIcon' var='comment'/>
      <b:includable id='feedLinks'/>
      <b:includable id='feedLinksBody' var='links'/>
      <b:includable id='comments' var='post'/>
      <b:includable id='main' var='top'><!-- Main Function of Any widget comes with ID 'main' -->
<!-- Loop Page Posts (only 1 in a post page )-->
         <b:loop values='data:posts' var='post'>
            <b:if cond='data:post.labels'>
               <!-- If the post has labels, make Meta keywords by looping lables -->
               &lt;meta name=&quot;keywords&quot; content=&quot;<b:loop values='data:post.labels' var='label'><data:label.name/><b:if cond='data:label.isLast != &quot;true&quot;'>,</b:if></b:loop>&quot; /&gt;
            </b:if>
         </b:loop>
      </b:includable>
   </b:widget>
   </b:section>
</b:if>
<!--::::::::::: Block1 END -->


After that, paste the following code after the tag <head> :

<!-- THE HEAD -->
<!-- must include(called) here to output other head sub elements -->
<b:include data='blog' name='all-head-content'/>
<!--::::::::::: Block2: Output Index Title,keywords,decription
 and Post Title,description  -->
<!-- Post/Archive Page -->
<b:if cond='data:blog.pageType != &quot;index&quot;'>
  <title><data:blog.pageName/></title>
    <meta name='description' expr:content='data:blog.pageName' />
<!-- Index Page --> 
<b:else/>
   <title><data:blog.pageTitle/></title>
   <meta name='keywords' content='your,blog,keywords!!' />
   <meta name='description' content='your blog description!!' />
</b:if>
<!--::::::::::: Block2 END -->

Meta keywords from the label will appear above the tags, meta keywords are usually placed in between the tags <head> blah ... blah ... blah .. </ head>. Because a widget can not be inserted into the head tag.
Some currency analysts tags / keywords meta keywords will not find you, but for the Search Engines like google and yahoo can find it. 

source: disconected

0 comments:

Posting Komentar