Christian Heilmann

Author Archive

Geo this! A Chrome plug-in to turn any web site into a map

Wednesday, July 21st, 2010

I’ve just started playing with Google Chrome Extensions heavily inspired by Mark Wubben’s talk at SWDC and of course the first thing I build is something to do with geographical locations.

Geo This! adds a little Earth icon to Chrome that, when pressed, analyses the page and shows a map of the locations it found in the text. If you highlight a part of the page first you only get the locations in this section. Click the screenshot below to go to the download site:

Geo This! A chrome plugin to turn any web site (or highlighted text) into a map

You can also see the extension in action in the following screencast:

Under the hood the extension is more or less a port of my addmap.js hack which in turn works most of its magic by using Yahoo Placemaker and YQL. The source code of the extension is available on GitHub.

Things that will come in future versions are:

  • Fixing the problem that Google Maps only numbers the first 10 markers on the static maps APIv1.0
  • More details on the found locationsv1.0
  • Ability to save the map and locations as an image
  • Better icons (anyone can paint me one?) – right now I am using one of the Project Icons by Mihaiciuc Bogdan and cruelly resized it in Skitch

What do you think?

Join us Tuesday to learn from Paypal and Yahoo how to win $160k!

Thursday, July 15th, 2010

Paypal together with some other partners are currently hosting a developer competition with prizes of over $160,000. For more information check out the Paypal X challenge web site.

To give you more information about the challenge and to introduce you to the Paypal and Yahoo APIs to be used in your submissions we invite developers to join us for a developer evening on Tuesday, the 20th of July at 6.30 in the newly opened Techhub in Old Street.

TechHub London
76-80 City Rd
EC1Y 2BJ London
United Kingdom

John Lunn from Paypal and Christian Heilmann of the Yahoo Developer Network will walk you through the APIs and answer your questions.

This is your chance to learn tricks of the trade and to get well on the way to be the winner of some great cash prizes and build the future of online payments. Following the presentations we organised food and drinks to aid the mingling.

Get your free ticket now and see you on Tuesday!

Analyzing the FIFA2010 worldcup with Guardian Data and YQL

Wednesday, July 14th, 2010

Breaking news: The Guardian once again involved in committing a data awesome! As before, the UK newspaper graced developers with a really cool piece of information published on the web: all the World Cup 2010 statistics as an Excel Sheet.

Now, the easiest way to play with this data is to use YQL, so I simply took a copy of the information and shared it as a CSV document on Google Docs. That way I can use it in YQL:

select * from csv where url="http://spreadsheets.google.com/pub?
key=0AhphLklK1Ve4dEdrWC1YcjVKN0ZRbTlHQUhaWXBKdGc&single=true&gid=1&x=1&
output=csv" and columns="surname,team,position,time,shots,passes,tackles,saves"

You can Try this out in the console and see the results here.

Using YQL to filter and sort this, you can do some interesting searches on that information. For example:

What were the German mid field Players?

select * from csv where url="http://spreadsheets.google.com/pub?
key=0AhphLklK1Ve4dEdrWC1YcjVKN0ZRbTlHQUhaWXBKdGc&single=true&gid=1&x=1&
output=csv" and columns="surname,team,position,time,shots,passes,tackles,saves"
and team="Germany" and position="Midfielder"

You can Try this out in the console and see the results here.

Using sort() and reverse() you can do rankings. For example:

Who was the goalkeeper with the most saves?

(Neuner of Germany, Kingson of Ghana and Enyeama of Nigeria in case you wonder)

select * from csv where url="http://spreadsheets.google.com/pub?
key=0AhphLklK1Ve4dEdrWC1YcjVKN0ZRbTlHQUhaWXBKdGc&single=true&gid=1&x=1&
output=csv" and
columns="surname,team,position,time,shots,passes,tackles,saves"
and position="Goalkeeper" | sort(field="saves") | reverse()

You can Try this out in the console and see the results here.

Which was the player that spent most time on the pitch?

select * from csv where url="http://spreadsheets.google.com/pub?
key=0AhphLklK1Ve4dEdrWC1YcjVKN0ZRbTlHQUhaWXBKdGc&single=true&gid=1&
output=csv" and
columns="surname,team,position,time,shots,passes,tackles,saves"
| sort(field="time") | reverse()

You can Try this out in the console and see the results here.

Who were the players who were the least on the pitch in the German and Brazilian teams?

select * from csv where url="http://spreadsheets.google.com/pub?
key=0AhphLklK1Ve4dEdrWC1YcjVKN0ZRbTlHQUhaWXBKdGc&single=true&gid=1&x=1&
output=csv" and columns="surname,team,position,time,shots,passes,tackles,saves"
and team in ("Germany","Brazil") | sort(field="time")

You can Try this out in the console and see the results here.

Using the CSV output and YQL you can do all kind of cool things with that data – as YQL also releases it as JSON it makes it easy to create interactive interfaces and visualizations, too – why don’t you have a go?

Webstylemag – my trip into non-technical blogging

Friday, July 9th, 2010

When my esteemed colleague Ara Pehlivanian told me that he plans to set up a web development lifestyle magazine called http://webstylemag.com and asked me for participation I was reluctant at first as it seems a bit inbred. However, Ara had done such a nice job and I remember having had such good feedback to my Chris’ travel tips – Japan post here that I thought I have a go at sharing my wealth of experiences in traveling to conferences world-wide in the last year and set up a series of posts on webstylemag that give tips how to survive a mental travel schedule like mine. I’ve cut it up into 6 parts:

  • Part 1: “So what did I forget to bring?” tells you about how to pack, what to take with you and how to get to the airport
  • Part 2: “Dealing with discomfort and public humiliation” covers your experiences at airports
  • Part 3: “God I wished I had packed tranquilliser blow darts” covers the journey in the air
  • Part 4: “Parlez-vous Anglais?” – travel from the airport to the hotel
  • Part 5: “Checkout at 11” – going to the conference and back to the hotel
  • Part 6: “Here’s my business card” – travel back and conference follow-up

The first part dealing with packing your bags and getting to the airport is now online for your reading pleasure.

Hope you like it.

Cheers,
Chris

Paypal and Yahoo developer challenge – over $160,000 in prizes

Friday, July 9th, 2010

I am right now working with Paypal on setting up a developer evening in the next few days to talk people through Paypal and Yahoo’s APIs and systems to build something cool for the Paypal X Developer Challenge. All in all the contest has prizes of $160,000 with $100,000 being the main prize and $10,000 prizes sponsored by different Paypal partners.

If you register your product idea by the fourth of August you also enter a special sweepstake for one of 10 iPads.

So what are you supposed to build for this? Mainly a product that uses Paypal’s payment APIs in a new and innovative way.

While PayPal, the external judges, and the X Award sponsors may select winners at their sole discretion, here are some of the general guidelines that they will use:

  • Innovative and “buzzworthy”: Innovative concepts that are able to capture the public imagination will be viewed more favorably than concepts that reflect existing ideas.
  • Viable business: The judges will favor viable business concepts over those that are less likely to succeed.
  • Newer applications favored: We welcome applications that have been built previously, or that have been entered into prior contests, but the judges will tend to favor newer applications and ideas.
  • Merchant integrations are less interesting: While it is possible to enter an online store into the contest because it meets the requirement of using PayPal’s products, classic ecommerce applications are unlikely to win the judges’ hearts.  Tools and services that “change how we pay” will be much more interesting for the judges.

In addition to this we have the X Awards:

We’ve set up some special awards offered by both our partners and us which are designed to reward innovation in key areas. These X Awards are judged independently and a single team could, in theory, win multiple X Awards and/or the Grand Prize. To be considered for an X Award, you will need to meet the eligibility requirements for the overall contest as well as any additional requirements for the X Award(s) for which you are applying. The top X Award entries will be invited to exhibit their applications at the PayPal X Innovate 2010 conference October 26th and 27th in San Francisco.

The Yahoo special award is tied to the following ideas:

Yahoo! Developer Network X Award: Yahoo! Developer Network is excited to participate as a sponsor in the PayPal Developer Challenge. Our prize of $10,000 will go to the application that demonstrates the most useful and inventive integration of PayPal and Yahoo! Technologies. We’re interested in apps that combine PayPal’s open platform technologies with the Yahoo! Application Platform (YAP), our social platform APIs (YOS), and those that use YQL (the Yahoo! Query Language) to access and manipulate web data from multiple sources in combination with PayPal’s transactions platform. Show us apps that solve real world problems in creative new ways; that make it easier or simpler to get transactions done; that enable transactions in new contexts; that create “wow” experiences for consumers, or help us create new business opportunities around the world. Entrants in this category must agree to the Yahoo! Developer Network Terms of Use, located at http://info.yahoo.com/legal/us/yahoo/api/api-2140.html, and the Yahoo! Query Language Terms of use, located at http://info.yahoo.com/legal/us/yahoo/yql/yql-4307.html.   By entering an Application in this category, Entrants agree that Yahoo! may feature your Application in the Yahoo! Developer Network website.  Also note that PayPal remains the sole legal sponsor of this X Award.

I’ll be working with Paypal the next few days to set up an event in London, so watch this space.