So a few days back I was looking up on Google the recipe for pizza, and low and behold, Google not only gave me the recipe for pizza but it also gave me a little pull down menu to specify what sort of pizza recipe I was looking for. When I tried it again yesterday though it had gone, however it seems to be back now. This isn't the first time Google has surprised, the other day I typed in "Hello in Spanish" and low and behold, it told me straight out. This seems to work with a few languages (although oddly not French).
Anyway, this got me thinking, what would be really great would be if Google started a joke search function. Whereby you'd search for the word "joke" and then any other words you'd like to be involved in it. It'd then throw out some hilarious jokes for you to use. This would have a million practical applications, the most obvious of which would be making this website a whole lot funnier. Say I was to write something like this:
Apologies for not writing anything witty today, but that's because I'm saving it all for my amazing new stand up comedy routine I'm about to do. It's going to be called "oh so Danish" and be about the joy it is to eat pastry in the morning.
On an unrelated note, I saw David Hasselhoff in the back of a Taxi the other day, and that person who I think is Germaine Greer (but not together).
Now that's unspeakably dull, but imagine if I could just type in "joke 'david hasselhoff' 'germaine greer' pastry danish" into google. All of a sudden there would be some fantastic witty punchline waiting at the end to catch you out.
I don't think that Google have time to do this though, which is a lost for us all. Fortunately though I have no social life so I wrote the code myself.
It works amazingly Ben and you know it. Maybe. I haven't go IE but as it's all in PHP bar the form and the $_GET part I can't see how that it's browser dependant. Are you sure it's just because the answer to the joke is hidden where the form was? I may need to give it some "HERE IT IS" styling.
Your website works...but only just!
BURN!
WHen I press back, it tends to go back to the main page, but about half way down. What's up wid dat?
Well I type words in, press "search" and the page doesn't change at all. I'm happy to accept it's probably due to IE interpreting things in a microsoft way rather than in an "internationally accepted standards" way.
The joke went down well the first time when I used badger, but the second time I used the Prophet Mohammad and had a brick thrown in my face.
This is a website by Mark Walley. If you want to find out more or get in touch, that'd be nice.
Getting around this website can be a tad confusing. If you're looking to explore the better stuff of what I've written then this navigation should help you. If you're after a specific post then searching or looking through the archives chronologically may help.
This site tries its best to be accessible for everyone. Atom, and RSS feeds are available. All content licensed through a creative commons licence. I may have stolen ideas off you when you weren't looking, but it was almost certainly an accident. As with all claims of originality and ownership Psalm 24 v1 applies.
Benjamin
Your code doesn't work, at least in IE. (My office is un-enlightened and doens't use Firefox...)