Friday, April 14, 2006

JSON Feeds of Google Reader

You may know "Google Reader" - kind of online RSS reader - are providing publishing feature for your labeled and publicly opened feeds. You can copy the code and paste it to your blog.

For example, this is my feeds about web 2.0.




If you can check the source HTML code of this page, you might notice that this is some kind of JSON with padding (JSONP) call. Actually, you can check what feed data is sent from Google via following URLs :

http://www.google.com/reader/public/javascript/user/03853986730064725171/label/web2.0?n=5

http://www.google.com/reader/public/javascript/user/03853986730064725171/label/web2.0?n=5&callback=hello

The most intuitive way to see the JSONP services, I think, is to use my JSON with Padding Tester. Arbitrary JSONP services (including Yahoo, del.icio.us, or Amazon with xslt) can be visualized using this tester. Of course it is useful for this Google's JSON service.


Technorati tags: , , , ,

Wednesday, March 01, 2006

Name Changed : My Del.icio.us Recommendation Snippet

Recently I noticed that original del.icio.us is providing "Del.icio.us Recommendation Engine", so I changed the name of this module to "My Del.icio.us Recommendation Snippet".

This confliction is because I named it so easy way, but anyway these two are totally different. The former (original) is an internal functionality in del.icio.us service itself, and the latter (I created) is a script snippet using del.icio.us JSON call interface, which can be embedded in arbitrary web site.

Wednesday, February 22, 2006

Why del.icio.us recommendation engine is not personalized 2.0 ?

First, you have to tell your del.icio.us ID to your visiting site. In principle, it's not necessary. Because what we need is your recent tagging information, not your id. Unfortunately, to get your bookmark information, the site owner have to know your del.icio.us id. This is derived from del.icio.us's feed interface. But, in general, forcing to tell someone's unique id is not preferable from the aspect of privacy.

Second, this module doesn't consider the case where identity information is originally access controlled. Del.icio.us bookmarks are apparently identity information, but it's not restricted, always published for general public. In order to deal with every identity-aware web services, we have to consider the case where services are access controlled.

These are not only the issues in personalized 2.0 services. If I have a time I can pick up many other issues to be solved.

Del.icio.us Recommendation Engine

While researching recent del.icio.us's native support of JSONP, an interesting idea hit me and fired up my imagination. Devoting recent days to this development, and finally I created an attractive script moudule. "Del.icio.us Recommendation Engine", I call it.

"Del.icio.us Recommendation Engine" is a recommendation link list generator extracted from site owner's bookmarks archived in del.icio.us. If you tell your del.icio.us ID to the site, you can get the site owner's bookmarks as a recommendation. While creating your recommendation list, your recent del.icio.us posts and associated tags automatically used as your preference information.

It is cool because we don't need any server infrastructure for generating recommendation list. Entire generation process is done in client side Javascript. JSON (or JSONP) and On-Demand JavaScript techniques are used to get del.icio.us posts.

Seeing is believing. Please look and see it.

I think it is a kind of interesting module, but I don't think it is the final achivement of my personalized 2.0 project. Yes, this module does some kind of personalization for the visitors, but techniques used in this module cannot be used in many cases. I think there're many issues to be solved there in order to be a generic personalized web 2.0 service solution.

Anyway, I created some "personalized 2.0 like " service module. It's totally fun. Enjoy yourself.

Thursday, February 16, 2006

Del.icio.us is Now Doing JSONP, or Callback Support

I don't know when del.icio.us began the JSON service, but the JSON interface for their bookmark information was only kind of static one. Through static 'Delicious' javascript object we can get posts. So it is not apparently supporting parallel queries (will destroy each other's results), and does not consider name confliction.

But while doing test of JSON with Padding Tester (JSONP Tester), I found that they are implementing callback function parameter like Yahoo.

Check out this.

http://del.icio.us/feeds/json/stomita?callback=JsonUtil.responseCallbacks%5B0%5D


It is not mentioned official web help page and couldn't find any articles about this new feature. I'm not sure when they implemented it (maybe old).

Anyway I included del.icio.us call in JSONP Tester page.


Technorati tags: , , , ,