Category Archives: how-to

How to use Google Adsense in WordPress blog

google_adsense_logo


Have you tried to earn some money on your blogging? Well, a lot of people do try. Some bloggers can earn a lot of money, others not so much. And I’m in the second group. But it doesn’t hurt to try to have some ads on your blog.

This small guide is to help you place Google Adsense ads in your WordPress blog hosted on your own domain. The easiest way is to go to the Appearance menu on the left and select Widgets. Here you add a new widget to the sidebar of the Text-type. Copy the code for the ad that you got in Google Adsense and past it in the new Text-widget. That’s it.

You can use one of the plugins found at WordPress.org. I haven’t tested any of them, so I can’t say how they are.

If you want to have full controll or just want to do it the hard way, then you edit the code your self. There are three temples you should consentrate on (found in Appearance – Editor). The files are archive.php, index.php and single.php.

At the top of each file, you will find a code similar to this:

1. <?php get_header(); ?>
2.
3. <div id=”content” class=”narrowcolumn”>
4. [YOUR CODE HERE]
5. <?php if (have_posts()) : ?>

You place your Google Adsense-code on  line 4 (remember that the number shall not be written to the php-file, it’s only for illustrations). This will place the ad at the top of the page. I usually place the add in a p-tag:

<p style=”text-align: center;”>[YOUR CODE HERE]</p>

I do this to center the ad in the blogpost and to give a bit of space around the ad.

reklame_topp

You can also add the ad to the bottom of the page. Each of the three mentioned php-files have this code at the bottom:

<?php endif; ?>
[YOUR CODE HERE]
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

And you see where you have to place the code. You can also put an ad between the post and the comment. To do this, you have to look for the following code at the bottom of the single.php file:

</div>
[YOUR CODE HERE]
<?php comments_template(); ?>

The picture bellow shows you how it will look.

reklame_post_kommentar

You can offcourse use ads from other associates-programs. remember that you can only use three Google Adsense units/page.

You have to test what placement gives you the best income. Try, test, fail and try again.

If you need more information on Google Adsense, you can take a look at ProBlogger.net. If that’s not enough for you, take a look at Amazon.com. The search for google adsense give you over 600 book titles. Also a relevant keyword in all this is AdWord.

I hope this was helpfull. If you have comments or experience you want to share, please feel free to do so.

I also found a YouTube-video of AdSense optimization where it talks about the placement of ads, well worth a look.

How to record video from Xbox 360, PS3 and Wii


I’ve made a lot of YouTube videos recorded from gameplay. And from time to time, I’ve been asked how I get so good quality on my videos. I will try to answer that in this post.

You probably already have a device for recording video; a camcorder, digital compact camera, cellphone or a DVD recorder.

When you record from Xbox 360, PS3 and Nintendo Wii, in most cases you will only be able to record in SD. But that is more than enough for putting the video up on YouTube.

I will go through the different method I’ve used to record video gameplay.

DVD recorder/TV-card

This is the best option if you want to record from Xbox 360, PS3, and the Nintendo Wii. If you have an internal TV-card or a USB-stick of some kind, you will get the records directly on your PC ready for editing. But I actually prefer my DVD recorder since I think that better visual quality. I have to copy the recording over to DVD and rip it on the PC. It’s a bit more work (not much though), and I think it’s worth it.

If you can, record from S-video instead of composite video. It will give you a much clearer picture. For some strange reasons, S-video is not enabled in the European Wii.

Camcorder

I have an “old” DV-camcorder. I’v mostly used this for record DS and PSP gameplay. And it works very well. If you record from the TV screen, it can result in flicker. The PSP-2000 have video out, but you can’t record gameplay from it since it only output gameplay in progressive scan (not interlaced). Tha’s why a camcorder will work very well for the PSP.

 To get a good and steady recording, use a tripod.

Cellphone

Many cellphones are able to record video, and many in VGA-resolution (640 x 480). Remember to hold the phone still. A shaky camera is not fun to watch on YouTube or anywhere else.

Digital compact camera

If you got a relative new camera, they make OK videoes. I got a 4 year old camera recording in 320 x 240 in MPEG-1. Well, it’s not good to watch.

Record in HD

There is actually one option that I know of which let you record in HD, the Hauppauge HD PVR. It will let you record in 1080i with component cables. That will give you a great video quality for you Xbox 360, PS3 and Wii recording. Well, Wii only support 480p, but the quality will be much better. This device will also let you record video from PSP in 480p.

When you have recorded your video, you use your prefered video editor to edit the video and make it ready for upload to YouTube.

 Compare different video sources

I made a video which will show you how the end result are when you compare the same video shot with a DV-camera, a cellphone and using a DVD-recorder.

OK, so this was not an in-depth guide or tutorial, but I hope it give you an idea of how you can record gamevideoes with good quality.