UK Hotel booking websites

We have just released a bunch of hotel booking websites for the UK's top destinations. The Hotels 24x7 franchise bring the best UK hotels, guest houses and bed & breakfasts in one place.

The sites carry reviews of the accommodation, photographs and ratings based on the reviews from previous guests. There is also the facility to book the accommodation online.

Search results are sortable by many factors such as price and distance from key locations such as the nearest railway station, airport or the city centre. The sites will soon be backed up with pages containing things to do, places to eat and much more.

Why not visit one of the sites now and let us know your thoughts!

Hotels in Bath Hotels in Blackpool Hotels in Brighton
Hotels in Chester Hotels in Edinburgh Hotels in Liverpool
Hotels in London Hotels in Manchester Hotels in Paris
  Hotels in York  

Encrypting a password when using datasource.cfc in ColdFusion Admin API

I've recently moved (yeah I know - it's only been round for years) to the Admin API for creating datasources but had a problem with the unencrypted password not working when verifying the datasource.

All elements of the datasource created correctly but the password was being stored incorrectly - I looked at how to create a twofish (2fish) based password but after coming accross this blog entry it became a lot simpler! However, it does require that you have access to the Java service factory too.

First to set up the service and encrypt the password:-

 <cfset adminObj = createObject("component","cfide.adminapi.administrator")>
 <cfset myObj = createObject("component","cfide.adminapi.datasource")>
 <cfset service = createobject("java","coldfusion.server.ServiceFactory").getDatasourceService()>
 <cfset form.password = service.encryptPassword(form.password)>

Next to creat the SQL server datasource:-

 <cfscript>
 // Login is always required. This example uses two lines of code.
 adminObj.login("youradminpassword");
 
 // Create a DSN.
 myObj.setMSSQL(driver="MSSQLServer",
 name="#form.dsn#",
 host = "#form.host#",
 port = "#form.port#",
10  database = "#form.database#",
11  username = "#form.username#",
12  password="#form.password#",
13  encryptpassword=false,
14  login_timeout = "29",
15  timeout = "23",
16  interval = 6,
17  buffer = "64000",
18  blob_buffer = "64000",
19  setStringParameterAsUnicode = "false",
20  description = "#form.description#",
21  pooling = true,
22  maxpooledstatements = 999,
23  enableMaxConnections = "true",
24  maxConnections = "299",
25  enable_clob = true,
26  enable_blob = true,
27  disable = false,
28  storedProc = true,
29  alter = true,
30  grant = true,
31  select = true,
32  update = true,
33  create = true,
34  delete = true,
35  drop = true,
36  revoke = false );
37  </cfscript>

Voila, the encrypted password works like a charm!

Residential driving courses

Residential driving courses

Just preparing for the launch of residential driving courses, a useful resource for people looking to take a fast-track, intensive driving course.

The site contains all of the UK's driving schools and a vast selection of UK hotels and guest houses. This allows the user to find the driving school  of their choice and match that up with suitable accommodation within the same area.

We have linked up with laterooms.com to provide the online booking facility and used their data to enhance the results that are displayed. More will be coming soon which allows the owners of the websites to manage their own listings.

Crash Driving Courses | Resdiential driving courses

Intensive driving courses Just done some SEO work and a bit of a redesign for one of my customers who run a large and successful driving school.

They have dominated in their local area for phrases such as "Driving Lessons Llandudno" and even "Driving lessons North Wales" but were struggling to entice search traffic for their Residential Driving Courses page..

Let's see how work progresses - and fingers crossed!

Search Engine and adword managment for Home Improvement company

John Williams Windows, Doors & Conservatories based in North Wales have chosen BeetrootStreet as their SEM partner for controlling their AdWords management and Search Engine Optimisation.

Powered by ColdFusion (of course), we have created a dynamic structure to comliment the company's Search Engine Marketing in both paid-for and organic search results.

Focussing on their Windows and Conservatories we have created a structure which enables the search engine to find their sites easier, and also reduce their CPC and increase relevance in their AdWords Campaigns.

Addendum: 31 May 2010

We are now seeing many #1 positions and the client is extremely happy!!

Cheap new cars in Australia

Just finished another Australian car based website - When will they end??  ;-)

This one has great new feature which virtually all Australian car sales websites  lack - The ability to offer On The Road ( OTR ) prices for new cars. This was achieved by an amazing new calculation CFC that I wrote to work out the on the road costs. Try out the Novated Lease Calculator for yourself.

It also works out a monthly and yearly Novated Lease price for both Maintained and Non-Mainatined leases.

So, check out Less For New Cars and see what you think.

New Mercedes-Benz dealer website in Berwick, Victoria, Australia

Just finished a Mercedes-Benz dealer's website and to be honest - I rather like it!

Have a look now and let me know what you think.

www.mercedesbenzberwick.com.au

Domain names for sale

My friend Shaun and I have decided to have a clearout of some domain names that we no longer need. We have som .coms, .com.au's and co.nz's and they cover a broad spectrum of topics. Have a root and see if there's any you fancy:-

Extract H1, H2, H3 heading tags from a HTML page using a regular expression

To heading tags from a string, you can use the following regular expression.

<cfset myString = "<h1>Welcome to my site</h1>">
<cfset regex = "(<h1.*?>)(.*?)(</h1>)">
<cfset tx = reFindNoCase(regex, mystring, 1, true)>
<cfif tx.pos[1] gt 0>
     <cfset theResult = mid(myString, tx.pos[3], tx.len[3])>
     <cfoutput>H1 is: #theResult#</cfoutput>
</cfif>

Alternatively, you could use <cfset regex = "(<h[0-9]{1}.*?>)(.*?)(</h[0-9]{1}>)"> which would match all H1, H2, H3 etc and you could then loop over the complete page to extract them all.

Australian photographers directory

BeetrootStreet have been chosen as the technology provider for a brand new photographers website in Australia.

Choice4U Australia awarded BeetrootStreet with the contract to produce a high quality photographer directory where users will be able to manage their portfolio online, list the industry awards they have received, communicate with other photographers via a forum.

The other side of the site will be allow members of the public to find a photographer in their local area who specialise in certain types of photography.

The site is set to go live within the next few weeks.

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.5.002. Contact Blog Owner