enrii.blog

A passionate programmer’s findings in the world of internet.

Archive for May, 2007

AdSense Notifier Plugin for Firefox

Sunday, May 6th, 2007

Since I began blogging again, I'm seeing a little AdSense revenue - few bucks a day. That develops my Google AdSense Stats Syndrome (G.A.S.S.) again! Had to reinstall the AdSense Notifier to save my time from logging into AdSense again and again.

It's not a new thing on the web, but if you have not heard of it before, get it here: Adsense Notifier.

AdSense Notifier

Page Break for Printed Web Pages

Sunday, May 6th, 2007

After I get my invoice to be printed differently from screen, I need to have page breaks for invoices that have more than 1 page. The way to achieve it, is to use CSS, again.

It's just as simple as putting the following code at wherever you need the page break:

<div style="page-break-after: always;"></div>

Also note that there's also page-break-before which you can specify a page break before some tags.

Make WordPress Blog Mobile Friendly

Friday, May 4th, 2007

Since I started to browse the web with my Dopod D810 (Trinity), I feel annoyed when I come to websites that is not mobile-compatible. I will have to scroll vertically and horizontally to read an article. I think I should make my own blog mobile friendly.

Andy Moore has a very nice WordPress Mobile Plugin. The installation steps are really simple:

  1. Download and activate the plugin.
  2. Register at AdMob to get a publisher ID for advertisement (you may skip this if you don't want extra income).
  3. Configure settings at Options > WordPress Mobile.
  4. If you would like to create post from mobile (MoBlogging), add a secret code into configuration and you will see an a link for it at your mobile site.
  5. Test your blog with mobile emulator using the original link of your blog.

Going to look at my site from my Dopod. Enjoy.