Now Reading TW 1.2
April 24th, 2006 by vgod
剛把原本Now Reading在Amazon的搜尋功能合併進我的程式,現在可以同時搜尋博克來和Amazon了
This entry was posted on Monday, April 24th, 2006 at 10:30 pm and is filed under Now Reading TW. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


vgod's blog is proudly powered by
WordPress
Entries (RSS)
and Comments (RSS).
|
April 26th, 2006 at 10:04 pm
我發現某些書在 PreviewBook 這個 function 裡 iconv 執行完後就爛掉了,比如「槍炮、病菌與鋼鐵:人類社會的命運」這本書,但是把 iconv 改用 mb_convert_encoding 就沒有問題,會是因為那本書的網頁裡 http://www.books.com.tw/exep/prod/booksfile.php?item=0010069715 含有奇怪的字嗎?
無論如何,這還是個很讚的 plugin
- 回覆留言(Reply)
April 27th, 2006 at 7:40 pm
剛研究了一下PHP的iconv和mb_convert_string,iconv在轉碼失敗時會直接中斷,而mb_convert_string在這方面的確比較好。
於是我就把iconv全換掉了,請下載1.21版看看還會不會有問題
- 回覆留言(Reply)
May 8th, 2006 at 4:43 pm
hi,
是「博客來」非「博克來」喔
我安裝了以後查 Amazon 的書沒問題,但博客來的書總在查詢後丟給我一句「找不到任何資料」 orz… 研究中
- 回覆留言(Reply)