Archive for the 'api' Category
As part of an upcoming article on geo location I am putting together a few Geo Toys for myself and here is the first one. Addmap.js is a JavaScript that analyses an elements text content, finds geographical locations and links them to Google Maps. It also adds a map preview and a list of the [...]
January 29th, 2010 | Posted in Examples, Front Page, Google, JavaScript, Mapping, Miscellaneous, Yahoo!, analisys, api, geo, maps, placemaker, yql | Comments Off
I am right now working on a high-traffic project that will run in a sandbox that doesn’t allow me to pull third party JavaScript or use canvas/Flash. Yet I need to generate bar charts from a set of data.
The solution to me was to create the charts from HTML using CSS. There have been some [...]
January 15th, 2010 | Posted in CSS, Front Page, JavaScript, Miscellaneous, PHP, Performance, api, charts | Comments Off
Downloadify is an interesting solution to offer files as downloads without having to create temporary files and loop through a script that sets a force-download header.
As shown in the demo page offering a file for download and setting its content is as easy as this:
PLAIN TEXT
JAVASCRIPT:
Downloadify.create(’downloadify’,{
filename: function(){
return document.getElementById(’filename’).value;
},
data: function(){ [...]
December 15th, 2009 | Posted in Flash, Front Page, JavaScript, Miscellaneous, api, downloads, file generation | Comments Off
The BrowserPlus team of Yahoo released a client-side compression API. As explained in the following screencast, the JavaScript API allows you to pack and compress files on the client with LZMA or tar.
Client Side Compression from Lloyd Hilaiel on Vimeo.
You can read more about the implementation or try out the live demo (requires BrowserPlus)
Using [...]
October 22nd, 2009 | Posted in Browsers, Front Page, JavaScript, Miscellaneous, Performance, Yahoo!, api, browserplus, compression | Comments Off
Yesterday’s announcement of Yahoo’s YQL now supporting insert, update and delete overshadowed another interesting new feature: JSONP-X output.
Here’s what it is and why it is useful: YQL data can be returned in XML which is annoying to use in JavaScript (for starters because of crossdomain issues in Ajax). JSON is much easier as it [...]
July 9th, 2009 | Posted in Front Page, JSON, JavaScript, Miscellaneous, Yahoo!, api, json-p, jsonp-x, outputformat, yql | Comments Off
As preparation for an upcoming tech talk about Placemaker I thought it would be good to take a bit of the pain out of the geolocation service by making an interface for it. Placemaker works the following way: you post some content or a URL to it, it goes through the content or gets the [...]
July 2nd, 2009 | Posted in Front Page, JSON, JavaScript, Miscellaneous, Yahoo!, api, geo, geolocation, placemaker, wrapper | Comments Off
I just looked through the API of Microsoft’s new Bing search and found an interesting step in protecting code from throwing errors.
When you provide a JSON output for developers it does make sense to also allow for a callback parameter. That way your code can be used in script nodes without having to use any [...]
June 15th, 2009 | Posted in Front Page, JSON, JavaScript, Library, Microsoft, Miscellaneous, api, bing, callback, padding | Comments Off
It is great to see when traditional media takes on some of the ideas we got to understand as de-facto standards in the new media world. One of the things that until a few years ago was unthinkable is to allow third parties to display your precious data.
This has changed now and more and [...]
March 10th, 2009 | Posted in Announcements, Data, Front Page, Miscellaneous, api, guardian, openplatform | Comments Off
This morning I had a fun email (in 60 pixel letters) concerning TweetEffect - a Twitter analysis tool I’ve written (details on my blog). In essence I was being accused of making protected updates of the Twitter user available to the world.
I tried it out and couldn’t reach their updates. I then started wondering what [...]
January 29th, 2009 | Posted in Front Page, Miscellaneous, Security, api, protection, twitter | Comments Off
Earlier this week I blogged about a proof of concept that you can detect if a user is logged in to twitter and display their data with a few lines of JavaScript. This could be used to show for example “tweet this” buttons in a blog application.
The trick is easy: use the user_timeline to [...]
January 7th, 2009 | Posted in Examples, Front Page, Miscellaneous, Security, api, hack, phishing, proofofconcept, twitter | Comments Off