the wikipedizer

about

A month or two ago, Stefan Maglenski released a nifty hack that scanned BBC news pages for proper nouns and turned them into hyperlinks if the phrase in question has a Wikipedia entry. Clever!

The Wikipedizer is a simple RESTful web service based on Stefan's idea (and loosely on his code). Pass it a URL, get back a list of related Wikipedia entries.

I wrote this for the Laszlo InfoBlox widget I was playing around with.

using the API

Stupid simple. Right now I don't have API keys, but if the service starts to take a pounding I'll add them.

Sample query:

http://www.antisleep.com/wikipedizer/?url=http://news.google.com

Sample return:

<wikipedizer version="1.0" />
   <entry title="Wordclock Records" htmlUrl="http://en.wikipedia.org/wiki/Wordclock_Records" />
   <entry title="Prepared piano" htmlUrl="http://en.wikipedia.org/wiki/Prepared_piano" />
</wikipedizer>

Source Code

Have at it: wikipedizer.php.txt

Updates

For now you'll have to watch my riveting blog (RSS) for news. If there's enough news I'll add an RSS feed to this page.

contact

Scott Evans
gse@antisleep.com
www.antisleep.com