Archive for the ‘Google’ Category

Google Maps + Google Ditu Mashup

Sunday, July 22nd, 2007

转到 Google 地图 主页Go to Google Maps Home

Some days ago I wrote a small bookmarklet to switch between Google Maps and Google Ditu, now I have a simple maskup which add google ditu as a customized layer in Google Maps.

The reason why Google Ditu in China can’t contain a satellite layer is the goverment’s policy. There are so many unbelieveable policies here in China, this one is just a simple example.

The satellite images and the maps don’t match well, actually that’s also a policy and requirement by China goverment… :(

 

Here is page with the code,use browser’s “view source” to see how this implemented.

Popularity: 16% [?]

Get google reader’s UID

Sunday, July 22nd, 2007

 

Playing with Google Reader API, in some API it need a UID.

Google Reader users are assigned a 20-digit user ID used throughout Google’s feed system. No cookies or session IDs are required to access this member-specific data. User-specifc data is accessible using the google.com cookie named “SID.”

Open Google reader, in address bar, input following and hit return:

javascript:if (prompt(”Google Reader ID”, _USER_ID)) {};

What you get a 20 digits, that’s google reader’s UID, and can be used in Google Reader API.

Unfortunately, many of the APIs only return a 500 internal error page. :( 

Popularity: 11% [?]

Close
E-mail It
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.