Thursday, May 17, 2007

Flickr Gmap Show with Greasemonkey user script

之前的版本到這個版本雖然呈現方式差不多,不過內部實現方式改了蠻多的,從原本用 rest json 方式呼叫到偷用 flickr 本身的 ajax call,從原本只能看 public photo 到用 auth call,再到不需要用 flickr api 也不用 google map api key。

這個版本的 code 只能用在和 Greasemonkey 配合的方式 (因為呼叫 flickr 的方式不同),也就是必需和 flickr 本身配合,不能像之前的版本單獨使用。另外一個不同是拿掉了 lightbox 的顯示效果,變成只單純顯示照片,主要是因為 lightbox 比我的程式還大,動態載入也常發生問題,所以就自己加上簡單的效果就好。後續目標就放在把 flickr 上和 map 相關的部分都加上 gmap 的支援吧 (那用 GMiF 就好了嘛 :) )。

對了,這東西是 MIT License,想用想改不用客氣 :) 。

Install Greasemonkey user script Project page: http://code.google.com/p/flickr-gmap-show/
fgs-2
fgs-4
Reference:
Using Google Maps without API Key, Guide
Greasemonkey EASY authenticated API call
.CK
VicJuan
Goston
Arthur
真是的,這麼忙還在偷時間玩這種東西。還要花時間改一下之前的版本…

0 comments:

Post a Comment