Showing posts with label Most article. Show all posts

Adsense code in Blogger post Body  

Posted by dharmendra

One of the known tips for improving the performance of your Google AdSense ads is knowing where to place the ads. In this guide, we shall discuss the modification you can make to your Blog template to have your Google AdSense ads appear between your post title and post body, or between your post body and post footer. Also, we shall have the AdSense ads appear on every individual post.

Choosing a best placement for your AdSense ads will attract more attention; attention leads to clicks; and clicks bring you AdSense revenue. Easier said. While people may have theories on where the ideal AdSense spot ought to be, there is really no standard answer because it depends very much on your Blog's layout, contents, theme, etc. If you have been following the changes made to our Blog, you would agree that we are no guru at this. We had merely placed the ads where they fit aesthetically and not where they will get the most attention. Nevertheless, if you would accept our two cents' worth of opinion, try to put yourself in the minds of your readers. Ask questions like why readers visit your Blog, which section of the Blog are they most interested in, and whether placing an ad at a particular area will distract, annoy or please them.

Many people believe that having AdSense ads just before or after the Blog posts will best optimize their performance. For the purposes of this article and to give you an idea how it would look, we have inserted the AdSense code into our template to have the ads appear immediately below the article and before the post footer. If you think you would like to do the same for your Blog, the following are the steps you should take.

Update: A section on Using Blogger Feature to insert the AdSense Ads after every post.

Using Blogger Feature

If you merely want an Ad to appear after every post or every few posts, use this Google feature instead. Go to Template -> Page Elements and you see in your layout the heading “Blog Posts”. Click the “Edit” link at the bottom right corner. You will see this screen.

AdSense Code in Blogger Post Body

We assume you have a Google AdSense account. If you don't, you can create one using the same login through your Google account. You will be assigned a Publisher identity number which shall appear in all your AdSense codes.

Tick the “Show Ads Between Posts.” You can select whether to show ads after every post or after several posts. In accordance with AdSense TOC, a maximum of 3 Ads will be displayed. Choose the ad format and color scheme. Save the changes and refresh your Blog to see the Ads.

While using this Blogger feature is simple and easy, you may want more control over the position of the Ads. For example, you may want it between the title and posts rather than after the posts. The following guide will show you how you can do that.

More Ad locations

Log in to your Google AdSense account.

AdSense Code in Blogger Post Body

Go to AdSense Setup -> Products and choose “AdSense for Content”.

Next, select “Ad unit” and follow their instructions on picking the size of ad, color combination, and so on, right till the end when they automatically generate a HTML code for you. Copy this code and paste it into Microsoft Notepad. (If you are a WinXP user, click the Start button at the bottom left corner of your screen. Under All Programs -> Accessories, you should see the MS Notepad icon.)

AdSense Code in Blogger Post Body

Change the AdSense code

This heading may sound misleading. We are not at all altering the code but converting some of the characters to character entities. We have to parse the AdSense code so that it can be included into your Blog template. This is not against AdSense rules because after the code is inserted into the template, when you view the source code of the template, you should see the exact same AdSense code that Google has generated for you. Indeed, if it is anything different, it means that you have not parsed it correctly and should review the code again. Parsing the code essentially involves replacing the following HTML characters:-

< with &lt;
> with &gt;
" with &quot;

Your final Google AdSense Code should look something like this:-

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-0000000000000000&quot;;
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = &quot;336x280_as&amp;amp;quot;;
google_ad_type = &quot;text&quot;;
google_ad_channel = &quot;&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;000000&quot;;
google_color_text = &quot;000000&quot;;
google_color_url = &quot;000000&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;


Insert code into template

Login to your Dashboard. Go to Template -> Edit HTML and click the box next to “Expand Widget Templates”.

AdSense Code in Blogger Post Body

Block copy the entire HTML code for your site that you presently have and save it in a separate text file in MS Notepad. You can also click the "Download Template" link to backup the template. This is one of the two necessary steps whenever you want to change the template. The second step is to “Preview” the new changes, and save the changes only when you are satisfied. The backup you have saved in a text file will come in handy when you accidentally click to save the changes without previewing them. With a backup, you can easily restore the template to the prior state if need be.

Now search for post.body through your browser's search function (Ctrl+F for Firefox and IE). You should see these lines:-

<div class='post-body'>
<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>


If you want the AdSense ads to appear between the post title and post body, add the following code above the orange lines. If you want the AdSense ads to appear immediately after every individual post, add the following code below the orange lines. The code to add is:-

<div style='float:left;'>
AdSense Code
</div>


The AdSense Code is the one you have amended above in MS Notepad. Do NOT save the template, but click the Preview button to see if you like the placement of the AdSense ads.

Do you want to have the AdSense code on the left of your text as shown in this screenshot?

AdSense Code in Blogger Post Body

Choose the smallest AdSense format like 125x125. Insert the AdSense code here:-

<div class='post-header-line-1'/>
<div style='float:left;'>
AdSense Code
</div>
<div class='post-body'>
<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>


If you want the Ads on the right of the text, like this:-

AdSense Code in Blogger Post Body

Insert the code as follows:-

<div class='post-header-line-1'/>
<div style='float:right;'>
AdSense Code
</div>
<div class='post-body'>
<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>


Set the AdSense ad margins

If your AdSense ads are too close to the edge, you may set a margin in the style tag. To give you an idea how wide the margin should be, you can see the sample in our other Business Fables blog where the left margin is set to 30px. The code used was:-

<div style='float:left; margin-left:30px'>
AdSense Code
</div>


Should you want to align the AdSense ad to your text, you can specify a margin or padding around the entire AdSense code. The code you can use is:-

<div style='float:left; margin:5px 10px 15px 20px'>
AdSense Code
</div>


The first number 5px is for the top margin, 10px is for the right margin, 15px for the bottom margin, and 20px for the left margin. You should of course change these values to suit your template.

Preview the template and if you are satisfied, save the template and refresh your Blog to see the new positions of your AdSense ads.

Other than Google Ads, you can learn how to place AdSense Product Referrals in your Blog.

Removing Autorun.inf/Autorun.ini virus manually  

Posted by dharmendra

Please note that I’ve already posted this thing but it was only few steps.. Now I want you to apply several methods to remove the autorun.inf or autorun.ini virus.
METHOD I
You can easily remove the VB script viruses like MS32DLL.dll.vbs and others which works with the aid of autorun.inf in your harddrive. This virus is mostly transferred via USB pendrive which don’t have any write protect function.
Although i recommend you to use a good virus removal software or script blocker. When you open any of the hard drives may be USB or primary hard disk. You will be directed to this visual basic script which drives your computer crazy. It becomes hard to access your harddrive.
Here’s a way how to disable this script atleast.
As it works with the help of autorun.inf you must be aware to find the autorun.inf file in your hard drive which is read-only and hidden.
NOTE: Remember this script also blocks some of the contents in Folder options . For example, “show the hidden files“.



So DOS, which is the best way for hackers as well as repairers to edit your computer.
Do the following.
STEP 1:
Locate the infected drive either C:, D:, E:, F, and so on.
STEP 2:
Now search for the file name autorun.inf using dir command.
” C:/dir autorun.inf (where C, is your drive)”
STEP 3:
I know that, it won’t discover any of the file name autorun.inf as it is the hidden one. Try the following:
” C:/dir/ah (where C is ur drive letter)
Now you can see the files autorun.inf of approx 100+ Kb and MS32DLL.dll.vbs file.

STEP 4:
Autorun.inf is the Master and MS32DLL.dll.vbs is a worker. Autorun.inf gives order to work out on the computer. So first you must delete the file named autorun.inf try these codes.
“C:/del/ah/f autorun.inf”
I think the file is now deleted
STEP 5:
Now type following commands:
“C:/copy con autorun.inf (Enter)
[AutoRun]
open=explorer.exep(Press F6 button and hit enter)
Now you are approx. done.
Now do the same steps for MS32DLL.dll.vbs file as i mentioned in STEP 4
Try to restart the computer
You’ll see the result, if not worked better you use a better virus removable and be prepared for future. If you want to remove this virus first download your usb drives and ur hard drives. Don’t keep any backup.
AND HEY DON’T forget about the program wscript.exe check if it is running or not in you taskmanager. It makes the vbs file work.


METHOD IIAlternative method to remove autorun.inf virus or ms32dll.dll.vbs
1-2. double click on My computer on Desktop ,
- choose Tool and select “Folder options”
- click on “View” tap select “Show Hidden files and folders” and un hake “Hide Extention….”
- and “Hide protected operating system file” (this selections are important to find the files you need to delete)
- then click “OK”

3. open Windows Task Manager (ctrl-alt-del) and select the “Processes” tap
- Click on “Image name” to sort File
- find “wscript.exe” and click on “End Process” (if there is more than one process with that name you have to end all of them)
- close the “Task Manager”


4. then you will click on Start and select “Search” and search for “autorun.inf” (Search the computer)
- you will then delete all the files that contains the text MS32DLL.dll.vbs (the virus) by pressing: SHIFT + DELETE. (There of course should not be Autorun.inf in the C rooth).
5. you will also delete the virus from the system (C:WINDOWS MS32DLL.dll.vbs) by pressing: SHIFT + DELETE
6. Next step is to edit the Register (Like always you have to be very care fool in the registry tools. Some mistake there can crash your computer)
- first, click on “Start” and select “Run” and type in “Regedit” and press “Enter”.
- select HKEY_LOCAL_MACHINE –> Software –>Microsoft –>Windows –> Current Version –> Run.
- find there “MS32DLL” and delete that entry.
6. Then select HKEY_CURRENT_USER –> Software –> Microsoft –> Internet Explorer –> Main. There you find “Window Title “Hacked by Godzilla”" and you should delete that entry. You can close the registry now.
7. next you will click on Start –> Run and type in “gpedit.msc” and press “Enter”. then you will open “Group Policy”.
- there you will select User Configuration –> Administrative Templates –> System –> and there you will double click on “Turn Off Autoplay”
- in the window there you should select “Enabled” and select “All drives” (they say in this Thai webside that select all turn of Autoplay will be safer for not getting viruses). Now you can close the Group Policy.


8. Next you will click on Start –> Run and type “msconfig” and press “Enter”.
- you will open “System Configuration Utility”.
- click on “Startup” tap
- find the file MS32DLL, choose Enable All, then unhake “MS32DLL”
- click Apply then OK to close
- then you will exit the “System Configuration Utility” and select “Exit Without Restart” when prompt.
9. After this you double click on My Computer and select “Tools” and “Folder Options” and “View” tap to change back there.
- select “Hide Extention…” and “Hide protected operating system file” and “Don’t show hidden files and folders”.
- then you will empty the “Recycle bin” and “Restart” your computer.

After applying both methods, I trusted the second method. Which one worked great on you?Please do comment in it.

A complete guide: How to make your post attractive using images  

Posted by dharmendra

How many blog posts get added to web each day? Certainly millions. Do you think on how to make your post different than the crowd? Probably it’s the time to think now. Attractive post design is a key part to grab the user attention. You can make your post more attractive and readable using images.
Design your blog posts using images
Photo by masaaki 
Images enhance your blog by increasing visual interest of the user. Generally people don’t have time to read your whole blog post till end. Most of the readers don’t have time to read your content till the end. Moreover if your posts are without any design, text highlights or images then reader will leave the page by reading first few lines only.
How to engage users in your content? Obviously killer content comes first. But if your post looks attractive then user will get more engaged till end of the post.
This post basically focusing on following elements:
  • Where to find the images?
  • How to capture and enhance images from different tools? (like SnagIt tool)
  • How and where to embed images in your post?
Where to find images for your blog post?
This is a big question. Many bloggers think that images available on internet web pages are free to use. But these images are copyrighted to some people. Do not use copyrighted images on your blog. Fortunately you can download free images from some legal sources.
Sources to download the images:
To know more resources probable you want to check the post 100 legal sources to download images.
These are some popular and quality image sources. Some are charging a small amount for downloading the images. Most of the Google images are copyrighted images. So you can’t use them. My best source to get images is yahoo Flickr.
Flickr is extensive collection of free images. Many Flickr users offered images to download under Creative commons license. You can download images filed under Creative Commons license and you can use them in your blog post by giving a photo credit to original author. To know different Creative commons license types visit Flickr.
How to search for Good images of your interest on Flickr:
1) Once you visit this flickr page click on “See more” link to view more images under that license type.
2) You can search images with specific title or tags. By default you will see “Most relevant” images.
3) Click on “Most interesting” link to get images that will catch user attention. Search for images as per your requirements. Then you can download these images with different sizes.
4) Click on image of your interest. Then click “All sizes” link to see all available sizes for that image. The available image sizes are:
  • Square (75 x 75)
  • Thumbnail (100 x 100)
  • Small (240 x 240)
  • Medium (500 x 500)
  • Large (1024 x 1024)
  • Original (3692 x 3692)
5) Select the image size you want to use and click on “Download image” to download it to your local hard drive.
That’s it!
Now you have the images that you might want to enhance. Focusing on particular part of the images using image magnifying and marking with arrows can be done using image processing tools like SnagIt.
How to capture images using SnagIt:
SnagIt is a very popular tool for capturing and processing of images. Though it is not freely available you can download one free SnagIt version 8.0 from here.
SnagIt home pageYou can almost capture any type of image from SnagIt. Following are some of the great features of SnagIt tool:
  • Make movies of your desktop actions
  • Capture scrolling window web page
  • To capture all images from a web page
  • Extract text from a window
  • To insert watermark on your images
  • Enhance images by inserting text and marking with arrows
  • To magnify specific part of the image
How to capture widely used image formats using SnagIt:
1) Capture Window or Full screen: You can capture full window or full screen for the web page of your interest. This feature is extremely useful when you want to show screenshots of particular web page. Like if you are writing post on “How to drive traffic from Digg?” then you would like to insert digg screen snap in your post.
Open SnagIt software then select-> Window then click on red capture button on right bottom. The image will get captured and will be shown in SnagIt editor for enhancements. If this web page snap is too big to fit into your post then you can resize image using “Resize Image” option. Keep the aspect ratio same in this case. This way you can fit the image in any of your page.
Digg screenshot from snagIt
(Image: Digg screenshot taken from SnagIt)
Also see Example of different web site Screen shots used in post content.
Scrolling window2) Capture scrolling web pages: SnagIt can capture web pages requiring to scroll down. You can capture whole page from top to bottom and can resize it to place anywhere you want.
Just select SnagIt option “Scrolling window” and select the scrolling direction by mouse. Capture the complete web page and resize its width or height to fit it to your page.
Also see live example of full web page image used in post.
3) Download all Images from web page: Specify a web page from where you want to download all the images. All images from this web page will be saved to your hard drive. Keep in mind that images you are downloading should not be copyrighted to use it on your web page.
4) Extract text from message window: You can capture the text of error messages windows. This is extremely useful when you want to report any specific error to other webmasters or readers through your post. All text from popup error message window can be extracted and saved to disk.
5) Record desktop movies: You can record desktop movies of small size using SnagIT.
6) Enhance images: Put watermark on the images, enhance images by inserting arrows to point some image part. If you want to spotlight or magnify specific part of the image, you can do so using SnagIt image editor.
See the examples below:
Image enhancements using SnagIt
(Image enhancements using SnagIt)
Also see live Example of image Spotlight and Magnify.
7) Save images with different formats: You can almost save image in all formats. Some of the popular used formats are: JPG, GIF and PNG to reduce image size.
How and where to embed images in your post?
You should be very careful while inserting images in your blog. Your blog design should not get break by inserting large images and images at wrong places. Also do not overuse images in any post. Keep in mind that images are just to support your content and not vice versa.
Popular places to place image in your post:
To avoid placing all the snapshots in this post I will link to each of the sample post to see the image placement example:
1) Top right or left corner of the post: This is very popular place used nowadays by most of the bloggers. For this place you can use square or rectangular image formats. This also makes your RSS feed more interesting to read.
Example of Top right Corner image placement.
2) Rectangular image just below the post title: Place image just below the title of your post. This should be rectangular image and should fit to your post page width.
Example of rectangular image placed just below the post title.
Example of image placed below title and some content.
3) Place images in between the content: You can support your writing by placing images just at left, right or middle of your content. This makes post very attractive and interesting to read.
Example Images placed in between the content to support your writing.
4) If you are writing a “How-to” resource post then for each resource title you can place the image or resource company logo at left cornet just below the resource title.

Free For Everyone Headline Animator