Sunday, May 25, 2008

Truveo Developer Challenge - Chance to win $100,000.

The Truveo video search engine is an index containing millions of video files that are available on the Internet. This index is continuously updated, cleaned and expanded to include the latest videos from the most popular video destinations on the Web. The Truveo video search APIs provide a programmatic interface to access this index and build applications that feature video search results. The rich functionality of these APIs enables you to build a wide variety of video-based web applications.

Truveo invites developers build innovative applications using their video search API.

Check here to know more about the API
API

The competition is conducted through TopCoder

There are nine $10000 prices and twenty $500 prices for the most creative, successful and ingenious submissions.
Check here to know more about the competition.

Also check out the application gallery to see some sample applications built using Truveo video search API.

Apollo Portable HD from Imation Next Month


Imation plans to introduce its sleek new Apollo portable hard drive sometime next month.
The high-capacity, USB-powered portable hard drive is stylish and lightweight, and extremely durable, the company claims.
The Apollo portable hard drive is based on 2.5-inches hard drive technology. It can offer up to 320GB for consumers' storage and backup needs.

Read more about this at
http://www.techtree.com/India/News/Apollo_Portable_HD_from_Imation_Next_Month/551-89613-581.html

Monday, May 19, 2008

how to put adsense inside blog content

Hello all,

In my first post I presented the method to put adsense ads inside blog headers.
Now I am going tell you one method for putting adsense right inside your blog posts
content. With this method, you will be able to put adsense in between your post title and post content or after the post content. You may even experiment different formatting to move the ads to the right or left. Check what I have done in my page for an example.

Well, here are the steps. This is little more difficult than putting ads in header.
So pls listen carefully.

1 . Go to 'template tab' and then 'Edit HTML'

2 . Find out the following line

<div class='post-header-line-1'/>

If you are not able to find out, then enable the check box
Expand Widget Templates and then check again.

3. Paste your adsense code below that line.


<script type="text/javascript"><!--
google_ad_client = "your publisher id";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text_image";
google_ad_channel = "1807125254";
google_color_border = "477fba";
google_color_bg = "eef6fe";
google_color_link = "477fba";
google_color_text = "000000";
google_color_url = "4386ce";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


Plese be very carefull while doing the 4th step. The above 3 steps alone is not sufficient. Somehow the ads are not rendering properly. There are several ways to get around this. One way is to remove the '<!--' and '//-->' from the adsense code. But this can be a possible violation of adsense TOS because we are modifying the adsense code. So we need one way with out modifying the adsense code. Now go to step 4.

4. Make the following 2 changes in your adsense code.

Replace <!-- with &lt;!--
Replace //--> with //--&gt;


Now you will get a question. "Aren't you modifying the adsense code now?"
My answer is 'No'. Becuase blogger will make opposite changes of what we have done in the step 4. If you view the page source of the final blog page, your adsense code will be there without any changes !!. Thats what we want.

Thats it. Now you can go ahead and try it out.
For your reference, here is my relavant template portion.

<div class='post-header-line-1'/>

<div style="float:right;">
<script type="text/javascript">&lt;!--
google_ad_client = "pub-5945396827065074";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text_image";
google_ad_channel = "1807125254";
google_color_border = "477fba";
google_color_bg = "eef6fe";
google_color_link = "477fba";
google_color_text = "000000";
google_color_url = "4386ce";
//--&gt;</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<div class='post-body'>

How to put Adsense in blog header

Well, let me start with the first experince i had while creating the blog. Many of you might have wanted to put adsense (or any other programs like YPN) ads in the header of your blog. It is easy to put adsense in other areas like side bar, with the integrated 'add page element feature' in bloger beta. Here I present in you the way to put adsense in your blog heading.

1. Edit your template and go to the 'Edit HTML' tab.


2. Go to the following section in the HTML code

<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Webmaster Tips and Tricks (Header)' type='Header'/>
</b:section>
</div>


3. Make the follwing changes.
maxwidgets='2' showaddelement='yes'
Now the code will look like

<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='2' showaddelement='yes'>
<b:widget id='Header1' locked='true' title='Webmaster Tips and Tricks (Header)' type='Header'/>
</b:section>
</div>


4. Now come to 'Page elements' tab.
Now you will be able to see 'add page element link' above the heading. Yes thats it. You are done. Now you can use that link to add a page element. From the list of options select 'HTML/JavaScript'. And in the content area paste the adsense code that
you got from google.

The ad will be placed above the Heading. You can drag it make it below the heading.

Try it out and maximize your revenues.