Posts Tagged ‘website’

Creating Line Graphs in JPEG Format through PHP

Tuesday, May 25th, 2010

A while ago I wrote about making use of information collected by websites – I find graphs a great way to do this. And while there are lots of great graphing objects, or tools available today, it can be a hectic scene to try and find a free one that you want for basic use. So quick modifications to existing code can sometimes be exactly what you need! Below is the code that was used to create the graphs seen in that previous post.
(more…)

Share on Facebook

Useful Currency Information by Accident

Wednesday, May 12th, 2010

Pennies and Pounds If you run a website, have you ever noticed how much data it accumulates? Usually, quite by accident as well… I was poking through some old parts of the VenueMirror website today and stumbled across a feature that I had totally forgotten we had implemented. It is of course one of those features that the code makes use of everyday, but it has become so inherent that it gets taken for granted!

There is a need for our system to perform currency conversions as transactions can take place across multiple currencies, and so currency updater was created to provide live exchange rates. Our currency updater is quietly used by our currency and transaction objects, and so once built there’s very little need for us to even think about how it works! Essentially it collects the latest currency conversion rates and builds a currency table for the whole system to use. In the process though, it has collected historical currency data.

So I thought it would be interesting to render this data into charts that show how exchange rates fluctuate. I built a quick bit of PHP to take daily spot rates out of the data at 11.30am and see how they compared to the previous days! The images below are dynamic PHP images, and should show you exchange rates for ten days started from 25 days before yesterday!




The script takes parameters that allows it to be customised on how many data points it shows, which currencies it compares, and how many days into the past it should end. Tomorrow, I’ll post the source to the graphing code, and the tutorials that are available online for you to get more information from.

Cheers,
K
P.S: Thanks to Mukumbura for the opening photo!

Share on Facebook

VenueMirror gets a facelift and celebrates by giving away a week in Goa!

Thursday, October 8th, 2009


The VenueMirror website has had a fantastic facelift done to it! Everything about the website is now much more intuitive and it provides a richer experience when looking for great places to stay in various destinations.

In line with our ideals of only relevant information – we’ve tried to make it easier to gather as much information as possible about each hotel, their location, and what they look like in comparison to other hotels around it.

We are so happy with the new design that we’re giving away a whole week in Goa to celebrate!

There’s no catches, no restrictions, and no funny stuff. The give away is simple – the person that gets the most people to enter the competition before 11:59pm November 19th wins an entire week at a luxury resort in Goa at a date they choose! So start winning!

Share on Facebook

How to make money with your blog

Wednesday, July 1st, 2009

One of the most common questions I have seen in the blogging community, is “how can I make money from my blog”? There are definitely a lot of methods out there, ranging from Google AdSense to web survey marketing – but these may not be suitable for your readers, or result in small amounts being earned.

The most recent release of our website actually tries to help bloggers, and has a special area specifically designed to help generate revenue. We released a guide on how to make money with your blog that shows you in simple steps how to install a web-gadget that allows your readers to book hotels directly through your website.

When somebody uses the gadget from your blog to make a booking, the hotel actually pays the blog owner a significant commission. Given that most people that travel need a hotel – it’s something that a lot of people are going to need!

While we’d love for everyone to install the gadget, the way you monetise your blog should be relevant to your content, or your readers will probably ignore it. I think that the gadget is best suited to travel blogs, or blogs that contain features or information about hotels or the hospitality industry.

Earning commission from hotel bookings is a great earner – and now with our gadget, anybody can do it :-)

Cheers!
K

Share on Facebook