Archive for the ‘Web D’ Category

LAMP Installation On Ubuntu-Easiest method

November 6th, 2009 by Naman Bagga | No Comments | Filed in Linux, Tech Talk, Web D

For noobs, LAMP stands for Linux Apache MySQL PHP. If you don't know what LAMP stands for, you probably have no business installing a LAMP server anyways. Installing LAMP on Ubuntu is pretty simple, you just need to install Apache, MySQL and PHP. I know there are many tutorials on how you can do a LAMP server install on your Ubuntu installation but most of them have long steps explaining how you should install and configure each part. This post is meant to tell you the easiest way to install a LAMP server.

If you are using Ubuntu(or any Debian based Linux distro), installing LAMP is easier than you can imagine. Just open a terminal and run-

sudo tasksel

This should show you a list of prefined software collections. Just select LAMP server and select OK. That's it. Just sit back and relax while your LAMP server is being installed :)

The World Through My Lens

August 8th, 2009 by Naman Bagga | 11 Comments | Filed in General, Pix, Tech Talk, Web D

People who know me well or have known me from my childhood, know that I wear contact lenses. Many more people know this fact now that I've mentioned about it on my blog. Well my contact lenses are not the only lenses I use. I often take pictures from my camera (Canon Power Shot A430) and my mobile phone (Motorola L9). I haven't really shared any pictures online yet. I have a Picasa Web Album and a Flickr account but I just didn't feel like uploading picutres.

This was my story until recently I realized that I have all the time in the world to start sharing photos. So I've decided to maintain a photo gallery. I bought hosting a few months ago and have lots of unused space and bandwidth. Thus I decided to host my own photo gallery. I considered Gallery2 and even installed it using GoDaddy's Hosting Connection one click installer. I found it good but something about it just didn't feel right. So I gave ZenPhoto a try through my Dreamhost Apps account as GoDaddy doesn't have a 1 click installer for ZenPhoto. It turned out to be nice. In fact I found it better than Gallery2. It had all the essential features I needed and was easier to use. So I decided to go for ZenPhoto.

Installing ZenPhoto was the next step. Installation was not as simple as I expected it to be. I think needed to make some changes to the .htaccess file and also needed to create a php.ini in the gallery folder to satisfy a few installation requirements. Overall the installation was easy and the setup guide was useful in troubleshooting installation problems.

So that's pretty much all it took to set up my own hosted photo gallery at http://gallery.namanb.com. I haven't put up many pictures yet but I'll be putting quite a few pictures soon. I made a short visit to Udaipur this June and I've uploaded the pictures of the visit on my photo gallery.

So now you can see The world through my lens, which happens to be the present name of my photo gallery at http://gallery.namanb.com.

PayPerPost v4.0

July 8th, 2009 by Naman Bagga | No Comments | Filed in Blogging, Reviews, Web D
PayPerPost

Payperpost was one of the first blog advertising networks based on the sponsored post model. A lot of blog advertising networks have followed the path laid by PayPerPost but nothing has been as big as PPP. Izea's other advertising network SocialSpark gets close to PayPerPost but is not as big as PPP was in pre-RankSpank days. Izea recently launched 1003 3258 3870 PayPerPost v4.0PayPerPost v4.0 which aims to help PPP regain its position.

PayPerPost lost popularity after the RankSpank incidents and a better search-engine friendly advertising network was due to come. People might have thought that SocialSpark will be Izea's main focus but the launch of 1003 3258 3870 PayPerPost v4.0PayPerPost v4.0 has proved that PayPerPost will live and Izea will not shut-down its most popular service.

PayPerPost

1003 3258 3870 PayPerPost v4.0PayPerPost v4.0 has many new features making it a great improvement to PPP v3. It has a nice clean interface for bloggers. Bloggers set their own blog prices and the advertiser no longer sets the prices. Advertisers get to control every aspect of their opportunities. They can hand-pick bloggers and manually approve their posts. Bloggers also have an option to limit themselves to posts with nofollow links.

PPP v4.0 is ready to come out of its alpha stage. The response from bloggers has been great. They are currently looking for advertisers who want to1003 3258 3874 PayPerPost v4.0Advertise On Blogs. Izea always takes good care of its advertisers and hence keeps its clients happy. So I expect a lot of advertisers to sign up on 1003 3258 3870 PayPerPost v4.0PayPerPost v4.0 to promote their website or service. PayPerPost v4.0 is going to be big.

Support My Sponsor
Code Of Ethics

Split test your Adsense ads

June 20th, 2009 by Naman Bagga | 1 Comment | Filed in Blogging, Tech Talk, Web D

Split testing (also known as A/B testing) your ads is a great way to determine which ad format is best for your website. Regular visitors of my blog would've noticed (if you don't use ABP) that the ad at the top of the sidebar is sometimes a large ractangle (336x280) and sometimes a rectangle (300x250). Well, this is a part of a split test I've been conducting for some time. This post will explain how you can split test your Adsense ads.

First of all you need to create two similar Adsense units like a 338x280 and a 300x250 unit or a 160x90 or a 160x600 unit and a 120x600 unit. You may also create two units of the same size with a different layout or format. This depends on what aspect you want to test. Create a separate channel for both these units for the purpose of tracking their individual stats.

Now comes the main part, implementing the split test code. There are many methods to implement the split test code. All of these use conditional statements along with some function to generate a random number. I'll give two popular methods to split test Adsense ads. Both more or less work on the same principle.

The Javascript Method

This is the basic syntax of the split test using Javascript-

<script type="text/javascript">
var random_number = Math.random();
if (random_number < .5){
<! Add first ad code below>

}
else {

<! Add second ad code here>

}
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

Note that it is against the Adsense program policies to edit the ad code. I thought this method was against the Adsense policies when I started writing this post. But then I came across this post on the Adsense blog which mentions that they talked to their policy folks and they've given permission to publishers to edit the ad code for A/B testing purposes.

As I've mentioned, I used to think that the Javascript method was against the Adsense program policies so I decided to use some other method. This method was the PHP method.

The PHP Method

This method doesn't insert any bit of code between the ad code. So naturally there is no question of it being against the Adsense program policy. Note that your server needs to support PHP for this method to work. If you are using Wordpress, your host definitely supports PHP(duh!). This is the code for the split test using PHP

<?php $splitIt = rand()&1; echo "<!-- $splitIt -->"; ?>
<?php if ($splitIt == 0) { ?>

<! Insert 1st ad code>

<?php } ?>

<?php if ($splitIt == 1) { ?>

<! Insert 2nd ad code>

<?php } ?>

Using both these methods both the ads will show up almost 50% of the times the ad is shown. You can now compare the performance of both the ad units and decide which one you want to use. You can also further split test the better performing ad with another ad.

My Results

I've been conducting a split test between 338x280 and 300x250 rectangles for quite some time now. The result of the test was mixed. The 300x250 unit and 338x280 unit both have good CTRs but the 300x250 unit has a slightly better CTR. But what attracts me towards the 338x280 unit is that at a decent CTR it gives a much higher CPC which effectively leads to better earnings than the 300x250 unit. I need some more time before which I can decide which size is the best for my blog.

Note that different websites show different results on split testing. The best way to know which format is the best for your site is to split test ad units. I'll update this post once I get a concrete result of my split testing experiment.

Navigation »
Subscribe RSS

Canonical URL by SEO No Duplicate WordPress Plugin