Google AdSense – Section Targeting

January 30, 2009 · 66 Views · Filed Under Google/SEO, Web Development · Comment 

What is section targeting and how do I implement it?

Section targeting allows you to suggest sections of your text and HTML content that you’d like us to emphasize or downplay when matching ads to your site’s content. By providing us with your suggestions, you can assist us in improving your ad targeting. We recommend that only those familiar with HTML attempt to implement section targeting.

To implement section targeting, you’ll need to add a set of special HTML comment tags to your 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 -->
content goes here
<!-- google_ad_section_end -->

You can also designate sections you’d like to have ignored by adding a (weight=ignore) to the starting tag:

<!-- google_ad_section_start(weight=ignore) -->
content goes here
<!-- google_ad_section_end(weight=ignore) -->

You can use section targeting to make suggestions about as many sections of a page as you like. However, please be aware that we can’t guarantee results, and that it may take up to 2 weeks before our crawlers take into account any changes you’ve made to your site.

In order to properly implement this feature, you’ll need to include a significant amount of content within the section targeting tags. Including insufficient content may result in less relevant ads or PSAs. In addition, please keep in mind that this feature should only be used to emphasize significant sections of your site’s relevant content. It is against our program policies to manipulate the ad targeting to result in ads that are not relevant to the content of your pages.

https://www.google.com/adsense/support/bin/answer.py?answer=23168

Ubuntu Pocket Guide and Reference – FREE

January 28, 2009 · 84 Views · Filed Under Free Stuff, Linux · Comment 

At just 5.25 x 8 inches and 164 pages, Ubuntu Pocket Guide and Reference is a compact yet comprehensive guide to everyday Ubuntu use.

It’s ideal for those who need vital information on all aspects of using Ubuntu, but who don’t have time to wade through thick documentation.

Each chapter of Ubuntu Pocket Guide and Reference tackles an aspect of Ubuntu.

First, you learn about installation—getting Ubuntu onto your computer—after which you learn how to configure your computer’s hardware.

Following this, you’re introduced to the Ubuntu desktop, and the tricks and techniques of efficient day-to-day usage. The book then describes the highways of the Ubuntu filesystem, and gives a full run-down of Ubuntu’s file manager.

Next, the command-line is tackled in-depth, after which software management is explained. Finally, system security is described—configuring the firewall, installing antivirus, and encrypting sensitive data. Appendixes provide a glossary of terms, and a guide to understanding technical documentation.

Written for anybody switching to Ubuntu, particularly former Windows users, Ubuntu Pocket Guide and Reference assumes zero Linux knowledge. It provides the wisdom of the expert user and concisely conveys core competencies.

Ubuntu Pocket Guide and Reference

Download The Full Version For Free!

Botanicalls DIY Plant Twitter Kit

January 27, 2009 · 85 Views · Filed Under Fun & Humor, Gadgets · 1 Comment 

This could possibly be the weirdest gadget I’ve ever seen…

There’s a school of thought that says that plants, like higher animals, have thoughts and feelings. They have an inner voice, and can tell you their life-stories, if only you could speak “plant.” It’s not a difficult language to learn, actually – there are only a few words to contend with, since all they seem to care about is how much water they’re getting. There are no masculine or feminine nouns. Plus, there are no verb tenses, because plants have no concept of linear time.

The original breakthrough was made just a few months ago when the chief scientist at CERN, attempting to converse with a patch of catnip translated through their Milliard Gargantubrain computer, was able to discern “I CAN HAZ TWITTER?” The scientist didn’t quite understand that gibberish, but his granddaughter did, and the Plant Twitter Kit was born.

Once the kit is assembled, connect it to the Internet through the built-in ethernet jack, jam the leads into the plant’s soil, and subscribe to the plant’s twitter feed. It will tell you when it needs watering, or scold you if you’ve overwatered it, and report its status in between. The DIY Plant Twitter Kit comes unassembled, so you’ll have to break out the soldering iron and get to work. Don’t worry, it’s not that difficult to put together, and the satisfaction you get from building your own translation circuit is huge.

Botanicalls DIY Plant Twitter Kit

If have the ability to assemble this, it could make a great Mother’s Day gift!

Purchase the Botanicalls DIY Plant Twitter Kit

Hiding Affiliate Links With PHP

January 16, 2009 · 98 Views · Filed Under Scripts · Comment 

While I was working on a new layout for my main site, I thought about implementing a system of “hiding” affiliate links and making them appear cleaner.

So, instead of this:

http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=bigfish

I wanted something like this:

http://www.0092ff.com/go.php?id=hostgator

I found a ton of scripts that would allow me to do this, both free and paid versions, but I couldn’t find exactly what I wanted. I tested out a couple free scripts, but I didn’t like the way the links were created.

After a while I stumbled upon this simple PHP code that would allow me to do exactly what I wanted to do, without all the bells and whistles.

Create a text file and copy/paste the following code:

<?php
  $id = $_GET['id'];
  $links = array(
    "google" => "http://google.com",
    "yahoo" => "http://yahoo.com",
    "wikipedia" => "http://wikipedia.org"
    );
 
  header("Location:".$links[$id]);
  exit;
?>

Then, just change the names and link codes to fit your needs. Save the file as “go.php” and then set up your links like this:

http://www.yourdomain.com/go.php?id=google

http://www.yourdomain.com/go.php?id=yahoo

http://www.yourdomain.com/go.php?id=wikipedia

If you want to add more links, just copy/paste another line in. You have to pay attention to where your commas are placed though.

It doesn’t get any easier than that!

Firefox Add-on: Firebug 1.3.0

January 14, 2009 · 227 Views · Filed Under Web Development · 1 Comment 

If you use Firefox (which you should be) and you’re a web designer, then you need to install this free tool. I just recently started using Firebug when my layouts became more advanced and included more css.

“Firebug integrates with Firefox to put a wealth of web development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.”

After installation is complete, you should see a little bug icon at the bottom of the Firefox window (see image below). With the desired page in your browser, click on that bug icon to bring up the Firebug workspace. You can also press F12 to get the workspace up. To open it up in a new window press Ctrl + F12.
Firefox Firebug - workspace

Once the workspace is up, you can navigate your HTML/CSS in the left section and then see the style properties in the right section. Something that I just learned is that you can click on “Layout” tab on the right and it will show you a picture of the various divisions/blocks. That comes in handy when making pixel-perfect layouts.

While you navigate the code in the left window, you can hover on different tags and it will highlight the corresponding item on the page. If you click that tag, it will show you the properties on the right. You can also click “Inspect” on the top left hand side and that will let you hover over an object on the page and it will highlight the corresponding code. As you can see from the image below, I’ve hovered my mouse over the “ Firefox Firebug - hover on tag

For me this feature has proved to be a tremendous help when dealing with many nested divisions on a page. I’m sure that there are many features that I haven’t discovered yet, but so far this tool gets an A+ in my book.

For more information, or to download the add-on, please visit Firebug’s home page.
http://getfirebug.com
firebug

Page 1 of 212