Author Archives: Steven

About Steven

Steven Jackson is a web developer based in the North East of England

Improved error handling

Not a big deal for most people, but Carsurvey.org, and the Mobile Phone and Motorcycle sites, have had changes made regarding error pages.

Rather boring I know, but basically I’ve cleaned up a lot of internal error pages, and replaced them with proper 404 pages. This is to make sure that any error pages don’t get mistaken by search engines or people as real pages.

I’ve done quite a bit of testing, but if anyone spots any errors (regardless of whether you think they may be related to this change), I’d appreciate it if you could let me know.

More visible search box for Carsurvey.org

I’ve made some subtle CSS changes to the top left search box on Carsurvey.org. The text input box is now a pale yellow (rather than white), the Search button itself is bold, and the text size is a little larger. This should make the important search functionality easier to find on the page.

I’m planning to roll similar changes out to the Motorcycle and Mobile Phone sites tomorrow.

Recent gaming diversions

I don’t find much time to play games, and rarely finish them, but here’s a list of some gaming related items that have caught my attention in the last 3 months or so:

  • Elder Scrolls IV Oblivion on Xbox 360 – beautiful, deep, but also curiously artificial. Only about 10 hours into it, and I doubt I’ll ever find the time to get much farther. A pity as there’s so much to see
  • Amped 3 on Xbox 360 – Underrated in my view. Huge mountains, loads of missions, bizarre (in a good way) cut scenes, and the controls just feel right. Great to just pick up and play for 1/2 an hour
  • Battlefield 2 on the PC – I still keep coming back to this one. I don’t play it a lot, but I find little can compete with the feeling you get when you’re playing well. I’m rather anti social though… I don’t fly things, and I don’t join squads. I much prefer just being being a lone wolf (probably says something profound about me), and trying to help my side capture or hold bases
  • Outrun 2006 on the PC – I loved Outrun 2 on the Xbox, and was disappointed that Outrun 2006 wasn’t available in any form for the Xbox 360. I waited for the PC version, and despite a few issues (such as stuttering audio with my Audigy 2 card unless I disable DirectSound acceleration), I’m very happy. Wonderful levels and handling, and it looks great on a good PC monitor. Arcade racing perfection – it’s like a child’s fantasy about driving a Ferrari brought to life on your screen
  • Which brings me onto the Xbox 360 Wired Controller. The best joypad ever in my view, and it works in Windows (via USB), with Outrun 2006. Just a pity that the Wireless Controller bundled with the Premium Pack Xbox 360 doesn’t work with Windows, not even through the Plug & Charge (USB) kit
  • My new GP2X is everything I hoped it would be. Perfect emulation of the Sega Megadrive, Atari ST, Sinclair ZX Spectrum, lots of other interesting programs, and expansion via SD card. Need I say more?
  • As well as picking up a GP2X, I recently traded my Nintendo DS in for a DS Lite. I wouldn’t normally have bothered, but there were some great deals available, so once I factored in the bundled copy of New Super Mario Brothers, the upgrade only cost me £34.99. No regrets as the screens are much improved, and the smaller form factor works very well. And I can’t help but notice, that it looks rather like a new Apple Macbook that has been shrunk in the wash

Simplified CSS for Carsurvey.org

As I’m pretty happy with the most recent changes to the Carsurvey.org layout, I’ve taken the opportunity to simplify the CSS used on the site.

In particular, I’ve banished negative margins. They’re very powerful, but I’ve never felt very comfortable with them.

The site now renders a little less well in Internet Explorer 5 (IE5), but it’s still perfectly usable (just a few minor alignment issues). IE5 market share is falling steadily, so while I intend to make sure the site continues to work well in IE5 (it’s about 2% for my sites now), I’m not going to resort to scary pieces of CSS to make everything pixel perfect.

IE6 (73%), Firefox (18%), Safari (3%) and Opera (1%) will continue to be the focus of my attention, with some IE7 testing in the near future.

Search the Carsurvey.org Airline reviews

Following on from the Improved Carsurvey.org Search, I’ve now ported this functionality to the airline reviews site.

The old Google search solution used by the other sites wasn’t an option for the airline site (as it sits within the Carsurvey.org domain, rather than under its own domain name), but this new searching system doesn’t have such constraints, so at long last, the airline site is now properly searchable.

Further Carsurvey.org Layout changes

Apologies to anyone getting sick of these…

I haven’t had any feedback on the other changes made recently, and the figures are ambiguous, so I’ve made a change to the reviews pages only, in an attempt to find an optimal layout.

I’ve restored the similar reviews box, and altered the advertising placement slightly.

Improved Carsurvey.org Search

I’ve spent some more time working on the new search functionality:

  • Keywords in results are now highlighted as bold text
  • Matching fragments of reviews and comments are shown, rather than just the review summary text
  • Less results per page are shown, as each result tends to be larger due to the above changes
  • I’ve decreased the maximum limit of results from 200 to 100. This is to counteract the increased work load generated by matching the keywords and fragments

Much as I’m very impressed with MySQL Fulltext Searching, it doesn’t offer the facility (at least in Version 4) to extract the matching text from results sets. I’ve had to do it myself in PHP using regular expressions. Not a big deal, but it did feel a little like I was having to reinvent the wheel.

The Carsurvey.org Home Page as a Graph

Had a play around with this nice tool for creating website graphs a few weeks ago. Very pretty, and it’s a nice way to see how simple or complicated your markup is.

Now Gary has posted about this, I thought I’d put a screenshot of the Carsurvey.org Home Page up for people to see:

I’m rather proud of the relative simplicity of my graph. The key features being the three lists of manufacturers, which make up the large blue and grey circular objects. Those should really be one list, but it’s difficult to split a single list into three columns without using some hairy markup.

A sprinkling of small changes to Carsurvey.org

Not feeling too well at the moment (Hay Fever), so have spent the afternoon making a series of simple changes, mostly to make things more consistent across the site:

  • The new reviews and comments pages now use the new date formatting (minutes, hours, days, or weeks ago), rather than showing the database datetime stamp (which was pretty meaningless)
  • The various geographic new reviews and comments pages, along with the pages that display reviews by type, or comments by volume, have been changed to the full width layout currently used on the reviews and comments pages. This should make better use of the available space. The global new reviews and comments pages are unchanged
  • I’ve disabled the descriptive text that was present for some models. It hasn’t been updated for ages, and Wikipedia does a better job of documenting car model histories than I ever could. Better to not do something than do it badly.