bookmark_borderThe Wrong Domain

For a few years now I’ve randomly been checking the WHOIS records for the mclean.co.uk domain, and throughout that time it’s sat there, holding nothing but adverts and any attempt by me to contact the owner with a view to purchasing said domain for a “reasonable” fee have fallen on increasingly deaf ears.

Yes, it’s pure vanity/ego at play but I did have plans to offer email addresses to my entire family (and a few cousins too) so it wasn’t entirely unselfish. My Mum and Dad have done a lot of genealogy research which was something else I had toyed with hosting under that domain name.

And now, it’s gone. Bought (for a stupid fee no doubt) by a record company.

I’m a bit pissed off about the whole thing to be honest.

Yes I know the person who originally bought the domain name was entirely within their rights. Yes when you visit this very site you will see that I have adverts here although I’d counter that with the small fact that I provide content as well (even if the quality is rarely all that high), and yes he didn’t have to sell it to me just because I wanted it.

I get all that.

It’s just… well, it’s fucking annoying. Alright?

Never fear though as I have a cunning plan. I’m going to find a domain name that no-one has yet bought, purchase it and change my name! Ha ha! That’ll teach those annoying domain squatters.

Yours,

Gordonisawesome (c/o www.gordonisawesome.co.uk)

bookmark_borderFurther Webhelp hacking

I mentioned in my previous post that we run a webhelp build of our content (a.k.a. our Knowledge Centre) on our developer community website, and that it was hosted in an iframe. I thought it worthwhile fleshing out the detail of that as it includes a bit of custom code some others might find useful.

As our content is locked behind a login, we need to be sure that only people who are logged in can access it. This is achieved by a couple of simple checks.

1. When the Knowledge Centre is loaded, a script runs that checks it has been loaded within the correct iFrame within our website. If it’s not, the user is redirected to the login page.

The javascript for this is added to the webhelp.js file (around line 106):

//———– init function ————
Kbase.init = function() {

//OUR redirect
if(window.top.location==window.location) {
window.top.location = ‘URLTOYOURIFRAME’;
}

2. If the Knowledge Centre has been loaded in the correct iFrame (in other words the above javascript is happy), the website checks for a cookie (checking for login) and then either loads the Knowledge Centre, or, again, redirects the user to the login page. The javascript for this is standard cookie checking stuff (google will find you a zillion solutions).

And that’s it. Nothing particularly clever, but a useful way to (lightly) protect the content of our Knowledge Centre.

bookmark_borderI was in London

And there I met some people I know, and some I don’t know, and hobnobbed with celebrities (not really), and ate and drank and walked about a lot and even went and stood in a big black box that was very very dark indeed.

The main reason I was in London was to attend a book launch, at the Groucho club. You know, the ones celebrities (and as it turns out, non-celebrities) fall out of a lot. The book in question was Girl with a One Track Mind Exposed which is a most excellent, moving and filthy read. It also marks the second time I’ve been mentioned in a book (in the Acknowledgements no less!) which was something I only found out on Monday night at the launch itself and which I’ll happily confessed I’m hugely touched and honoured by.

The party was fun and after arriving a little later than others (and spoiling their moment) much free drink and merriment was had. Obligatory name dropping follows. I didn’t talk to either Ben Miller (of Armstrong & Miller), David Mitchell (of Mitchell & Webb), Jay Rayner (of Claire Rayner’s womb), or Heather Brooke (of that whole MP expense scandal (as in she worked on it, not was involved in it) at least I think it was her).

There may have been other celebrities/people who have been on TV there but I’m terrible with names. I’m pretty bad at keeping up with people at the best of times, this is something made a lot hard when said people are bloggers, so I hope my surprise at hearing that two bloggers whom I’ve read for many years are, completely unbeknownst to me, happily married was taken as exactly that. I really wasn’t kidding, I didn’t have a clue.

There is a tale involving David Mitchell but I’ll let the perpetrator tell it. I did feel a bit sorry for the parties involved, a bit. And as usual it was good to put names to faces, although I do now wish I’d been wearing a cravat

Tuesday and I spent the day wandering random parts of London, stopping off for a quick perusal of a large steel box in the Tate Modern. I’m still very much in the learning phase of ‘art’ and perhaps I should’ve taken mike up on his offer of spending sometime wandering the Gorky exhibition. It was via Twitter that he realised we were both there at the same time, but I didn’t want to intrude on his day too much and I was also quite enjoying wandering about on my own .. another time though, I do badly need educated on that whole ‘art’ thing (hmmm, perhaps I should stop ‘quoting’ it like that for starters).

And then to the National Film Theatre bar where I spent a quite hour nursing sore feet and a large gin and tonic, and waited for a very random group of wonderful and most excellent people who I’m still amazed can be arsed to trawl to a somewhat hard to find bar just because I’ve said I’m there. It still baffles me somewhat and I console myself be remembering that they are all there to see everyone, and that I’m more than happy to be the catalyst for such an event, rather than the main attraction (god forbid!).

All in all a good couple of days in London, which was all down to the company I kept. You guys are fantastic.

bookmark_borderChange of Venue

Survived last nights party, just, and now I’m ready for more!

Having now had a look at the bar we had arranged to meet in, think it will be better in the National Film Theatre bar (the one round the back not the one facing the water). It’s only 2 mins from the previous suggestion but bit better atmosphere.

Hope to see you there, anytime after 5.

bookmark_borderHit and Run (and party)

I must be getting old, life seems to be speeding up. I remember thinking, yesterday, that I should really post something here and I’ve only just realised that wasn’t yesterday it was Monday, which is four days ago.

Bad blogger!

Work (capital W) continues to suck a lot of my energy but I’m still enjoying it so that is far from a complaint. The other work (small w) is also starting to pile up so I’ve gone for a divide and conquer approach, also known as “they can chase me if they really want something done”.

Elsewhere life continues, and I can happily report that the new car is great. It’s very nice to drive and has a much better ride than the Civic had, I am missing the 2.2 litre turbodiesel though! I’m still getting to grips with all the voice commands mind you but that’s all part of the fun.

Speaking of fun, I will be launching myself in the general direction of London next week. I’ve been invited to a book launch party (what WILL I wear! Seriously, WHAT WILL I WEAR!!) on Monday, and I will be wandering the streets of said city on Tuesday (anything good I should visit?). I’m planning to be in the Royal Festival Hall bar on Tuesday evening from around 5.30pm and as I’d rather not sit there and drink alone I’d like to invite you all to come along and ply me with alcohol. That’d be great, thanks.

bookmark_borderHacking Author-it Webhelp

Finding the right solution for a problem isn’t always easy but sometimes, if you are very lucky, the solution will fall straight into your lap. Such was the case with our switch to Author-it even though we didn’t fully realise it at the time.

I’ve covered our reasons for switching from FrameMaker to Author-it elsewhere, and once we had converted our content we started to look at how we could get the most from the other output formats available. We already had ideas on how we could use the provided HTML based publishing formats to provide a better solution to the problem of finding information, and we were planning on generate HTML versions of the entire documentation set to be hosted, and searchable, on our community website.

It was right about then that Author-it announced their new ‘Webhelp’ format which would include a (very) quick search in a nice modern looking format. Given that one issue we were addressing was how hard it is to search across multiple PDFs (which presumes the poor reader knows which PDF they should start with) it looked like an excellent solution.

And it is.

We now host a specific build of all of our content within our developer community (which is password protected I’m afraid so you’ll just have to trust me), which allows the developers, partners and customers, to search across everything we have. However we have had to customise the output a little to meet our needs, and this is where the hacking starts.
Continue reading “Hacking Author-it Webhelp”