Sunday, July 4, 2010

Random Ad Banners Widget For Blogger

22 Comments so far

Random-Ad-Banner-Widget In most blogs which are selling ad spots you often have seen random Ad banners appearing when the page is refreshed. Ever wondered how to show random Ad Banners in Blogger? In today's tutorial we will learn how to create a Random Banner Widget for blogger which will show random Ad banners when a visitor visits a new page on your blog. Using this widget you can display as many Ad banners on a Sponsor Area as you want!

This widget is exactly similar to our previous 125 by 125 AD Banner Widget and in fact it is the most awaited one and have been requested several times by our readers. Just last night I succeeded in creating a simple Java script that uses Array of images and thus displays random images on Page refresh.

Lets have a demo of the widget before jumping to the tutorial. Note:- Refresh the page to see new Ad banners.

 


Live Demo

 

How To Add Random Ad Banner Widget To Your Blogs?

Simply follow these steps,

  1. Go To Blogger > Design > Page Elements
  2. Choose HTML/JavaScript Widget
  3. And Paste the following code inside it,

<div align="center">
<table border="0"  cellpadding="2" cellspacing="6" width="265" bgcolor="#ffffff">
<tbody><tr>
<td><center>

<!--  BANNER#1  -->

<script language="JavaScript">
images = new Array(2);

images[0] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>

</center></td>

<td><center>

<!--  BANNER#2  -->

<script language="JavaScript">
images = new Array(2);

images[0] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>

</center></td>
</tr>
<tr>

<td><center>

<!--  BANNER#3  -->

<script language="JavaScript">
images = new Array(2);

images[0] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>

</center></td>

<td><center>

<!--  BANNER#4  -->

<script language="JavaScript">
images = new Array(2);

images[0] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>

</td></center>

</tr>

</tbody></table>

<table border="0" bordercolor="#0084ce" cellpadding="2" cellspacing="6" width="265" bgcolor="#ffffff">
<tbody>
      <tr>
       <td><center><a href="URL OF ADVERTISER" rel="nofollow"><img width="265" height="37" border="0" alt="Advertise Now!" src="file:///C:/Documents%20and%20Settings/Mohammad/Desktop/ADVERTISE-HERE.gif" /></a></center></td>
      </tr>

    </tbody></table>

</div>

 

MAKE THE FOLLOWING CHANGES:-

1.  Replace URL OF ADVERTISER with the website link of the advertiser

2.  Replace URL OF BANNER’S IMAGE-1  and URL OF BANNER’S IMAGE-2 with the Image links of the Advertiser’s banners

3.  Replace AD DESCRIPTION with some information related to the Ad. The description appears on mouse hover.

4.  If you want to increase the distance between the ad blocks then edit width="265"

Now after making the necessary customization view your blog to see a beautiful 125 by 125 Banner widget that will change Banners on every different page.

Download Animated AD Banners

To ad spice to the widget may be you will prefer some of our previously designed animated banners -> Animated 125 by 125 AD Banners

Do let me know how did you find this new and useful widget. Take care! :D

Saturday, June 26, 2010

Meta Tag Generator Tool For Blogger

18 Comments so far

meta-tags-generator-tool Meta description and meta keywords are the most popular html tags which are still recommended despite many arguments by several expert Search engine Optimizers. The first thing that every blogger must do after creating a log is to optimize his template by submitting it to search engines and by adding important meta tags inside the template. To make your job easy I have created a simple Meta Tag Generator Tool below which will help you create important tags within seconds with no SEO knowledge required at all!

Follow these tips for writing best blog description and for choosing the most relevant keywords for your blog.

Meta Description:

Describe your blog in max 150 letters. The Character Counter tool can help you. For example I have chosen the following words for describing my blog,

A Blog about Blogger Tricks, Blogger Templates, Widgets, SEO, Make Money Online, CSS and HTML Tricks etc.

You can choose a similar format to describe your blog with most relevant words.

Note:- I have enclosed the meta description inside a dynamic HTML tag in order to avoid duplicate content issue. Confused? Let me explain. If Meta description appears for all pages in your blog then search engine robots would think that all your pages are having same description. Since robots deal each page as a separate website therefore your blog could get penalized for using same meta description over and over again. To avoid this I have added two pieces of code before and after meta description  so that it may appear to robots at homepage only. Following are the two codes added to the tool by default,

<b:if cond='data:blog.url == data:blog.homepageUrl'>
<META NAME="Description" CONTENT="Your Blog description">
</b:if>

 

 

Meta Keywords:

Choose words that describe the core topics of your blog. Keywords are high traffic targeted words that define your blog content. Most people use dozens of most competitive keywords but doing this is unnecessary and further effects your search engine listing. Choose few but smart keywords that may reflect the overall content of your blog. Google keyword Tool can immensely help you in choosing the right keywords. The best tip is to use similar keywords as used by your competitors. You can press Ctrl + U to open the source file of your competitor while you are on his blog. Through source file you can easily see what keywords and description your competitor is using.

Write a maximum of three words per keyword and separate each keyword using a comma. See my keywords as an example,

 

Blogger tricks,blogger tips, SEO guide, make money online, blogger widgets, css html tricks

Meta Author:

This is not a very important tag but still everyone likes to attach his name to his website so why should you left behind! :p Simply write your full name and avoid using nicknames or special symbols.

If you don't want to add your name then simply leave the blank empty in the tool below.

Meta Robot:

Sometimes you don't want search engine robots to crawl and index your blog so you can simply tell the robots that don't crawl the data of the blog using the No follow tag or No index tag.  By default blogger tags all blogs as ALL

If you don't want to be bothered with this tag then simply leave the blank empty in the tool below.

 

Meta Tag Generator Tool


Description:
Keywords:
Author (Optional):
Robots (Optional):

Saturday, June 19, 2010

HTML Form For Blogger

3 Comments so far

HTML Contact Form I received several emails this week regarding how to create a contact form, web form, email form etc. Few months back I wrote a detailed tutorial on how to create a HTML and CSS based Email Me form. In that tutorial I mentioned every single step of embedding a high quality free Contact form in your blogger blogs just the way I have done on my blog. See my Contact Me page.

Kindly read this tutorial to learn the best way or trick of adding a free Contact Form on your websites -> Learn How to Create HTML and CSS based Contact Form

Note:- This was a recall post.

Tuesday, June 15, 2010

Google Crawls This Blog Every Minute!

10 Comments so far

fast-crawl-rate I published two posts today and was shocked when I found out that how fast is Google crawling this website. It took less then a minute for my search results to appear. It was interesting to see how fast Google crawls a blogger site. I immediately took a screenshot as a proof to show it to most of you. I will share just one Search engine optimization tip which will help you achieve the fastest crawl rate possible! But first have a look at the screenshot below,

 

 

Keyboard-shortcuts-for-blog

 

Note:- In actual it might have taken even less than a minute for Google to crawl the last post that I published. Due to my reaction delay I took long to observe this amazing crawl rate and then to take the screenshot.

How to let Google Crawl your Website Faster?

As I promised that there is only one SEO tip which will boost the crawl rate of your blog or website and the tip is,

Start publishing useful and valuable content so that more and more people could link to your blog. The more one way linking you receive the better your rank increase in Google search listings. PageRank greater than 2.0 in short means a faster crawl rate! The higher your Site PR grows the better your ranking increase in Search engine listings. So work hard from today to flow the PR juice from other developed blogs to your blog.

Write Guest Posts at blogs with good PR and traffic and just don't waste any further time by commenting on forums and blogs! MBT has just started offering guest posting and is offering three Links to your blog for one post that you write for us. Further we have promised that if you come up with at least 6 quality Guest posts for MBT we will add your homepage link to our Friends list permanently! You can read further details here -> All Brilliant minds invited to write Guest Posts at MBT!

Kindly let me know what are your valuable views on increasing the crawl rate of a site.

Blogger Post Editor Keyboard Shortcuts

6 Comments so far

Blogger Keyboard Shortcuts After writing a post on Windows Live Writer keyboard shortcuts I moved towards Blogger Editor. I tried many combinations of keyboard shortcuts but only few shortcuts could work properly with the latest browsers like Mozilla and Chrome. However some shortcuts are still not applicable to the latest versions of Firefox and Chrome but they work with old browsers like Internet Explorer 5.5+.

Note:- Shortcuts with red font do not work with Firefox or any other latest browser.

 

 

The Complete List Of Keyboard Shortcuts for Blogger Editor

 

Keyboard Shortcuts Function
CTRL + Z To Undo
CTRL + X To Cut
CTRL + C To Copy
CTRL + V To Paste
CTRL + B To Bold
CTRL + A To Highlight all the text
CTRL + S To Auto Save and Keep editing
CTRL + D To Save as Draft
CTRL + F To Find a Word or Phrase
CTRL + G Indic Transliteration
CTRL + Y To Redo
CTRL + U To Underline
CTRL + I Change To Italic
CTRL + P To Publish the post
CTRL + SHIFT + P To Preview the post
CTRL + SHIFT + A To Insert Hyperlink

If you know any shortcut that I haven't shared yet then kindly share it with all of us in the comments. Hope this may help you in saving time while editing posts and in making your blogging experience more enjoying!

Windows Live Writer Keyboard Shortcuts

8 Comments so far

windows-live-writer.jpg Windows Live Writer Tricks tutorials are increasing day by day. WLW is a visual blog editor for Windows. It works with most blogging platforms like WordPress, TypePad, Movable Type, Blogger, and others. I always use it when I write posts even when I am offline. As a regular user of this useful editor I just figured out many keyboard shortcuts while playing with this cool high quality text editor. I have compiled each and every keyboard shortcut that works with Windows Live Writer and have listed them below for your ease.

The Complete List of Windows Live Writer Keyboard Shortcuts

Keyboard Shortcuts

Function

CTRL + Z

To Undo

CTRL + X

To Cut

CTRL + C

To Copy

CTRL + V

To Paste

CTRL + B

To Bold

CTRL + N

To Open a New Post

CTRL + A

To Highlight All text

CTRL + S

To Auto Save

CTRL + F

To Find a word or phrase

CTRL + H

To strikethrough

CTRL + K

To Insert Hyperlink

CTRL + L

To Insert Image

CTRL + Y

To Redo

CTRL + U

To underline

CTRL + I

Change to italic

CTRL + O

To Open Drafts or Recently posted posts

CTRL + P

To Print the post

F11

Switches To Edit window

F12

Switches To Preview window

SHIFT + F11

Switches To Source window

CTRL + F11

Toggles theme usage

CTRL + SHIFT + C

To Set Category/ Tag

CTRL + SHIFT + V

Paste Special:
Lets you whether to keep or remove text formatting when you copy text from WordPad, excel, blogs or websites

CTRL + SHIFT + P

To Publish the post

You can read read more about it in this post -> Learn How To Do Offline blogging with windows live writer

If you know any hidden keyboard shortcut of WLW then kindly share it with us all! :>

 

Recent Posts

Join Me On Facebook

532+ Followers

Join The Team!

Licensed Under CC

Creative Commons License

Recent Comments

Follow Me On Twitter

| My Blogger Tricks (MBT) © 2010. All Rights Reserved | Template Style by Mohammad Mustafa Ahmedzai |