Christian Heilmann

Posts Tagged ‘jquery’

TTMMHTM: Apptember, fonts to embed, time API, mobile frameworks and charity hacks

Wednesday, September 2nd, 2009

Things that made me happy this morning:

  • There is a new cafe in my street: Maria e Munti - new cafe around my streetMaria e Munti - new cafe around my street
  • Font Squirrel has a repository of free fonts to embed via @font-face
  • Apptember is a one-month hackathon, no rules, no business model, no prices – just build some good stuff
  • Man builds house from Lego – now this is dedication.
  • Some very impressive photorealistic Star Wars Illustrations
  • Blockchalk has an API now and I am impressed with the ease of approach to keep it totally open
  • Both jQTouch and Pretty Mobile are frameworks to make mobile web development easier
  • Baseline is a typographical CSS framework
  • The Time API is a very clever semantic API that understands natural language to turn it into timestamps
  • Browser for the better is a Microsoft campaign that provides food for homeless people when you upgrade to IE8. Seems a bit stretched, but hey upgrade is good!
  • Charity Hack is a hackday by Paypal an Justgiving on 19-20th of September in London
  • Top Trumps 3D is an interesting concept of Top Trumps with 2D barcodes that turn into augmented reality games.

TTMMHTM: Apollo 11 source code, Driving directions API, most expensive JavaScript ever,opening a banana the right way

Wednesday, July 22nd, 2009

Things that made me happy this morning:

Another amazingly useful web site: http://ismycomputeron.com

Friday, January 9th, 2009

Sometimes you come across web services that are so amazingly useful, you wonder why nobody has done it before. One of those is Is my computer on? sent to me this morning by Tomas Caspers.

While the usefulness of the service is indisputable the lack of RSS feed or API is actually annoying (let’s not discuss the HTML quality of the site, I am sure this is because of performance reasons as it is the case with other big players). Likeminded web dwellers like Dion Almaer bemoaned the same fact which is why I’ve taken matters into my own hand and used YQL to turn this service into a JSON API:


http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Fismycomputeron.com%22%20and%20xpath%3D’%2F%2Fcenter%2Ffont%2Ftext()’&format=json&callback=isiton

This version wraps the resulting data (in my case “yes”) in a JSON object and calls the isiton() method. You can try it out for yourself.

If you want to change this simply rename isiton at the end of the url to your function name of choice. If you use alert() as the function name you could even turn this into a useful bookmarklet.

Of course you should never forget to support the library followers if you have a system like that and Mattias Hising came quickly to the rescue and built the system as a jQuery plugin.