For those haven’t heard of it, the former del.icio.us was one of the first social bookmarking services around. But, as with so many promising sites that were bought by Yahoo!, it languished for years without any new features except maybe a redesign of the web site. I moved my bookmarks to Pinboard a while ago. At least Pinboard seems to be actively developed. Doesn’t matter, though, because Delicious claims some 5+ million users and 180 million unique bookmarks, which makes it a great resource to tap.
Enter a URL and the script grabs up to 100 (Delicious’ limit) public bookmarks for that site, along with user names and tag information. Getting that user list is crucial to finding like-minded people. Then you can select any of the tags that any of the users have assigned and the script will load other bookmarks from the respective users with those tags. Getting sites which have been tagged with the same tags from the same users as your URL is probably the closest you can come to finding related content. So give it a try:
Note: The URL is exactly matched by Delicious, i.e. it matters if there’s a “www” at the beginning and even if there’s a closing forward slash. I found that including the slash at the end of the server address usually finds more bookmarks.
The script came about because I wanted to try out the Google Maps API – there are so many awesome sites and mash-ups out there that use Google Maps that I figured it can’t be that hard. And it isn’t.
Update: I retrofitted the oh-so-useful autocomplete feature of the Google Maps Places library, which is also used in other scripts, to the location input field. So now there is some Google Maps code here after all.
Update (December 1, 2013): Noticed by accident that Yahoo! removed free access to the PlaceFinder API in their quest to destroy the Internet. Thus the script now does use the Google Maps Geocoding API, but needs to make a second call to the Google Time Zone API to get the corresponding time zone.
There are two versions of the script: One lets you enter an origin and a destination location, with full-featured Google Maps pathfinding in between.
The other will ask for an origin location and then lets you set arbitrary waypoints, with Google Maps calculating the route between waypoints. This is useful for round trips as are typical for joggers.
I can never remember what the weather was like in the past. Did we have a nice summer last year? Was it a cold winter in ’10? Beats me. But the information is out there if you look for it. And after some tinkering with the awesome Flot plotting library it can even be put into a useful form.
This script accesses weather data from Deutscher Wetterdienst – and therefore only shows German weather data – who freely make available measurement data of 78 weather stations around Germany. The data comes in text files which are loaded, parsed and then finally presented using Flot. Due to the limited space on a web page I chose to first compute weekly averages which expand to daily values for a month at a time when you hover the mouse over the plots. Luckily, Flot has some hooks to enable checking mouse position and also can freely scale the axes, allowing for the zoom effect. Even though I had the first plots up and running quite quickly, the script grew to almost 500 lines of codes before it was done.
AutoPager for Kindle
A final script helps me format pages to be sent to a Kindle, especially when they are paginated, i.e. spread out over several pages that you have to click through. The script loads all pages, collects the useful portions and puts them into a single document. To get the document into a Kindle, including tables, images and whatnot, I still use the excellent Send to Kindle extension from amazon. For single-page articles this extension is all that’s needed, anyway.