Computer and internet tips

Get Computer tips and tricks. Resources to help you Learn the techniques to make Computer and online works slide safe and run smooth. Electronic projects and stuffs small things i make are here, my hobby

Open post

if any one of the reader is interested in contributing for a post then you can email it to
duck3.tips@blogger.com

Say no to irrelevant ads on site

How Does Section Targeting Work?


It’s actually quite easy and to implement Section Targeting, you’ll need to add a set of special HTML comment tags to your blog template code. These tags will mark the beginning and end of whichever section(s) you’d like to emphasize or de-emphasize for ad targeting.


The HTML tags to emphasize a page section take the following format:


<!-- google_ad_section_start -->


<!-- google_ad_section_end -->


You can also designate sections you’d like to have ignored like your navigation, sidebar, or anything that’s not worth targeting by adding a (weight=ignore) to the starting tag:


<!-- google_ad_section_start(weight=ignore) -->



<!-- google_ad_section_end -->


Once you add these tags to your WordPress or Blogger template code, you won’t immediately notice a change. There’s actually nothing visual to see as well so don’t expect anything to show up. If you view your blog’s source code from your browser, you’ll see these new tags, however.


How Many Section Targeting Tags Can I Use?


You can use as many Section Targeting tags on a page as you like. However, just because you use several Section Targeting tags doesn’t guarantee you’ll get results. I’d recommend only using one or two on each page otherwise Google might just ignore them.


How Long Before Google Recognizes the Tags?


It can take at least 2 weeks before Google crawlers figure out the changes you’ve made and update your AdSense account. Some sites might not even notice a difference because the ads were already pretty well targeted in the first place.


Setting Up Section Targeting For Blogger


If you’re familiar with editing Blogger templates then this will be a breeze for you. If not, it’s still rather easy to setup since you’re only dealing with two new lines of code. Before anything, make a backup copy of your current template just in case you mess something up. Next, you’ll want to open your template code in something like notepad or any text editor. You can even edit it right in the Blogger html window but it’s small and harder to search for things.


Now you want to search your template for the <data:post.body/> tag. There should only be one in your entire template. This tag is very important as it prints out your blog posts. It’s the meat of your template code and without it, your blog wouldn’t really work. Next you’ll want to surround this tag with the Google AdSense code. Essentially, we’re telling AdSense whatever text is in your Blogger posts is what it should display relevant ads for.



Here’s what your updated code should look like:


<!-- google_ad_section_start -->

<data:post.body/>

<!-- google_ad_section_end -->


Some people also want to setup Section Targeting for their blog post titles which is fine as well. You basically do the same steps shown here but for the <data:post.title/> tags. There are usually at least two so make sure you wrap them all if you decide to make this change.


Save your template code and load it back into Blogger. Look at your blog and view the page source. You should now see these Google AdSense tags in your code!


Setting Up Section Targeting For WordPress



For WordPress users, you follow the same steps as above but you’ll want to edit the single.php or index.php page. You’re looking for the <?php the_content();?> tag which is equivalent to the <data:post.body/> tag for Blogger. Wrap the Google AdSense tags around the content tag and that’s it.


Here’s what your updated code should look like:


<!-- google_ad_section_start -->

<?php the_content();?>


<!-- google_ad_section_end -->


Now another trick I do is also wrap my comments with the Google AdSense tags as well. Blog comments are a great way to build up additional relevant content to an existing post. Most of the time your comments are very relevant to your post so why not give AdSense more text to use for ad matching? This works especially well if your blog post is short and you’ve got a lot of comments.


To make this change you’ll want to edit your comments.php file and look for the <?php comment_text()?> tag. The modified code should look like this:


<!-- google_ad_section_start -->

<?php comment_text()?>

<!-- google_ad_section_end -->


Extra Tip - Ignore Sections of Your Blog



For any type of blog you can also use the ignore AdSense tag. This is great for sections that are static or don’t really tell Google much about what your blog is about. Like I mentioned briefly above, this would be things like your top navigation, sidebar, or some other advertisements you may be running on your site which are not relative to your blog’s theme and content.


<!-- google_ad_section_start(weight=ignore) -->


<!-- google_ad_section_end -->


Important Note


In order to properly implement Section Targeting, you’ll need to include a significant amount of content within the section targeting tags. This means make sure your blog posts are a pretty good length otherwise insufficient content may result in less relevant ads or public service ads and it’s not worth adding these tags. It is also against Google’s AdSense policy to manipulate the ad targeting code to result in ads that are not relevant to the content of your pages. Don’t do it otherwise you risk getting banned from AdSense.


Conclusion


After you’ve made all these changes, you should start seeing improved targeted AdSense ads on your blog. It might take a few weeks before Google updates their system so be patient. Your AdSense earnings should also go up since more relative ads means you have a better chance of visitors clicking on them.

opening folders in its own window

While I was looking to answer a few of the questions in the yahoo answer. I came to a problem that was faced by one of my friend long back in the collage days. But the scenario was different. He got the problem of opening folders in its own window while he was playing with the Registry Keys. At that time I just looked the matter and forget it as he told me that he has searched the net for the problem but could not find any answer. So in order to coup up with the problem he made the Explore Action as the top most list on the Right click menu instead of Open. Today again saw the same problem faces by one guy and I followed the way he got the problem. And hence I to got the problem I checked the Browse option but it was ok.

 

Then I go to the registry edit section seeking some information from my previous experience. After an hour long struggle. I accomplished my mission

it was really “interesting part getting into trouble for saving other”. Here is how the second guy got the problem

 

This is what had happen:
I want to change all folder's icon so I go to Control Panel and then Folder Options then I click File Types tab. After that I select File Folder and I click Advanced. A new window opens and then I click Change Icon... I choose my icon and then i press OK and press OK again in the Edit File Type. I press OK in the Folder options. But when I click and open the folder (e.g. Program Files), there is a new window appeared and that is Search. So a go back again to the Folder Options, File Types tab, File Folder and then Advanced. I see that there is "find" under Action so I click New (below the Change Icon...) and then I type open under Action and I click Browse and I browse explorer.exe which is in the WINDOWS Folder. I click OK, OK and OK. But when I click and open any folder, the folder opens in its own window. I go back again to Folder Options and I see that in General Tab, under the Browse Folder, the setting is that the folder will open in the same window.
Please help me.
I'm using Windows XP
Tell me how to restore all my settings before I modify the File Folder
I used System Restore but it didn't bring back the settings before

 

 And the solution is Here

 

Go to: [Window icon + r]

 
Run >>>> regedit >>>> HKEY_CLASSES_ROOT >>>> Directory >>>> shell

expand it you will find a [Find] just delete it  or you may edit it. It doesn’t make any difference

Bingo !! Thing finished now you can open folders in the same Window.

 

If you find any trouble e-mail me: contributehere@gmail.com

 

“some indulgence cannot be defined”

      This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is  intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to  read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message  in error, please notify the sender immediately and delete all copies of this message.