2007年9月1日 星期六

iGoogle _IG_FetchContent supports Big5

前幾天發現 iGoogle gadget API 的 _IG_FetchContent, _IG_FetchXmlContent 和 _IG_FetchFeedAsJSON 開始支援 Big5 了! 以前寫 gadget 時,只要遇到要抓取 Big5 的網頁,就沒辦法用。因為之前這三個 function 假設網頁的內容是 UTF-8。不過前幾天我抓了一個 Big5 的網頁,發現內容竟然正常了。看來他現在會幫你猜網頁的 encoding 了! 這樣開發 gadget 就方便多啦。

Mapplet 也是一樣,因為 mapplet 也可以用 gadget 的 API。

也許 Google 正在辦的比賽會有更多的 idea 跑出來。

1 則留言:

danielle 提到...


iGoogle was a customizable homepage service by Google that allowed users to personalize their start page with various widgets and content feeds. The function was part of the iGoogle API, enabling widgets to retrieve external content dynamically. Regarding support for the Big5 character encoding, which is commonly used for Traditional Chinese text, iGoogle did support multiple character encodings, including Big5, to cater to a diverse user base. However, specific documentation detailing.
Embezzlement Lawyer
Federal Embezzlement Lawyer