Archive for November, 2005

Writing a PHP Page for the googlebot / google’s cache

Here’s something cool to share.

My calcylator project is written in php, it’s one of those “on-line tools” where users can create an account, log in, and can calculate personal profit & loss sheets for ebay.

Like most websites there are “log in” sections, now these pages need to be dealt with differently for search engines & users. Search engines will not be able to log in, but you may still want to deliver some content to them. Take my example, calcylator is running google adsense, and for adsense to work the googlebot (search engine) needs to be able to “see” some content, thinking this through, every time googlebot visited the log in or other protected pages all it would see is “access denied” error pages.

I want a Sony AIBO so much it hurts.

You know the deal, it’s getting close to x-mas time, you start looking at gifts to get for friends & family, not to mention windows shopping for stuff you want.

Yesterday I came across this little guy, a Sony AIBO pet dog. From what I’ve seen on the sony website this dog is da bomb !

Sunset Pier on art.gnome.org

Just a quick note to share the joy, My Sunset Pier picture has been accepted into the art.gnome gallery.

Bug Hunting Calcylator

Nearly 10days in, and the bug hunt is in full swing, to be honest life is slowing me down !

I’ve learnt an important lesson it is impossible to fully bug hunt your own app, I know this seems obvious, but the scale of this truth isn’t apparent until someone else starts pulling apart what you have done.

Feedback so far:

  • Many Pages: £ Signs were being formatted incorrectly – fixed
  • Profit Report: Needs simple funds in & out calculation at bottom – added
  • Edit sold page: Error – Cannot update postage type – removed

New Gallery & New GnomeArt

I’ve been meaning to finish this for a long time now, & I’ve finally finished integrating Gallery2 into my website. The pics section has a direct integration thanks to wpg2.

To celebrate I’ve thrown together a new wallpaper, it’s a sunset at southsea Pier, taken recently. Sunset pictures always make desktops, and this one has some subtle life in it too ;)

Yummy Gnome Sunsetness!

Yummy Gnome Sunsetness!

I’ve released it too on gnome look.

Introducing Calcylator.com !

I’d like to introduce my new website: www.calcylator.com

Calcylator.com is personal project, targeted at ebay sellers. The site is free for people to sign up to, and provide them is a new & different profit & loss (P & L) calcylator, erm sorry, calculator ;)

The wife & I use ebay as an on line car boot sale, one of the things we’ve noticed as sellers is how hard it is to keep track of how much you are spending on listing fees, paypal fees and P & P (postage and packaging) So in my wisdom I decided to write an application to calculate & track that information for me, and now I’m sharing it with the world !!!!

Nagios Ping Tool – Another Hack

I’ve received a patch from ed.davison, if you have commented out hosts in your config, you’ll get odd \”address – hostname\” results in the drop down list. Ed’s patch fixes that; thankx :-D

At the moment you’d have to apply the patch your self from the below; but I have a official revision in the pipeline.

Xfce 4.2.3.1 – I have a problem

Sorry yum friends, when I saw the announcement from xfce about Xfce 4.2.3.1 I sighed, not because my love for xfce has changed, but I remember what I’d forgotten.

When my place of work moved office I lost my white box build server :-( as soon as I’ve got one, I’ll get the rpms built, in the mean time please see www.xfce.org

Nagios Ping Tool & Nagios QL

Recently I had a request from rex to modify my nagios ping tool (Official Nagios Exchange page); he wanted to use the tool with his nagios configuration.

Rex appeared to be using Nagios QL (Which I believe to be a nagios management tool) , now QL handles nagios config slightly differently . The Ping Tool reads the nagios hosts.cfg file, and turns it into a couple of arrays to use for ping & display, with QL they generate multiple hosts.cfg files, one for each hosts.

Perhaps a short way of saying it, Rex needed to read in multiple hosts.cfg files from a directory, and below is the hack to do it :)

Renaming Jak3 Wallpaper

Jak 3 Thumb

I know I’m breaking the code, but I’m renaming the Jak3 wallpaper hosted in my pics section, the reason is that for the 3rd month in a row it is by far the biggest bandwidth eater, & I just can’t afford it :(

Please don’t get me wrong, I love that game, and it makes me happy to see that so many people out there do to, but recently I’ve found a couple if forums out there using the LARGE 2MB file as an AVATAR !!!!!!!!!!!!!!! yes really ! So every time someone reads a post from them, I get stung with a download / bandwidth theft.

Converting HTML to xhtml, a couple of tips.

As part of my blogging re-vamp and a continuation of making sure my site was standards compliant I’ve had to go through the pain of converting my old HTML to new xhtml.

Why did this happen ? Well to be honest I made a bit of a mistake, I’ve had some training on HTML, and have a book too ;-) , so obviously that’s what I started to code my site in, then I introduced wordpress, and unwittingly started to code my theme in HTML, only to find out that all the work I’d done was wrong because wordpress uses xhtml :-(