add2home

哈哈哈
我花了6天搞出來的
網址: http://b123400.net/add2home
這個東西的介紹文在這裡: http://b123400.net/blog/207

修復小bug

2008/09/30 01:52 / 電腦野/web 2.0
剛才明明已經在床上
但是無聊時用iphone試下自己的add2home時發覺有bug!
之後就立即落床開機搞返掂
難怪這兩天別人upload了幾次無redirect的圖上來啦...(不過我都沒有剷)
不懂的可以不看:
原來是因為不redirect的選項發生錯誤...
導致icon輸出不能....
用戶插入圖片
就是這個! highlight了的部份我竟然忘記加上!!
(然後下面的fetch就這樣白癡的進行了......)
然後無redirect的選項就這樣被封印了....無論是upload還是用別人的...

最後終於搞定了...超唔小心,幸好寫入database的部份無錯
(有留意的話,不redirect的頁面,add參數永遠是-1的,然後有網址是0或以上)
不然我真係人手改到死...

不過我可以肯定那裡還有甚麼bug的,只是我未發覺!(關於網址大細偕的問題,根本未搞過...)
所以加上了本來就應該存在,但卻一直忘了加的報告bug...
本來想加上ajax的,因為現在在電腦是沒有介面去瀏覽全部icon的...ajax的話就很棒了
又想過善用iphone的save image和mail image功能,做個經過email的upload icon
(這個完全不懂!!根本未接觸過mail相關物,所以可以話係狂想)
但係現在這堆bug已經煩死我了....(其實更加重要的重點是功課啊....)

還有順帶一提,隱王結局根本就是垃圾
2008/09/30 01:52 2008/09/30 01:52
Posted by YUKI.N.
TAGS Keyword add2home,

http://b123400.net/add2home/logo.png
This is an iPhone web app for changing the icon of webpages
The add-to-home icon is decided by the webpage itself.
用戶插入圖片
Although you can scroll and zoom to the suitable position if there are no icon prepared , but there are webpages that can't fit what you want
Just like Google Hong Kong (http://google.com.hk)
←The icon is too small, you can only get an icon like this
It is not easy to recognize at all
And also, what if I don't like the default icon?
Icon should be decided by yourself,
because you are the one who use it!
There are people who tried to customize the icon of a webpage:Here
It is a bookmarklet, you can enter a address of icon, and it will cover the original one
but who can remember the whole address?

add2home(http://b123400.net/add2home) customizes the icon as you want
It is also a bookmarklet, but it helps you to search for suitable icons
For example, if you are browsing yahoo, and find out that yahoo don't provide that icon
you can use this bookmarklet, and it recommends you
You can press that and this icon will be ready for your home screen immediately
If site that you are visiting does not have an icon on our server, you may upload it
as you uploaded the icon, it will appear as a recommendation to people that come from that site
Of course you can set the icon to be private so others won't see it (eg. You want your girl friend's face to replace the google logo.)

Just as you like it to be appear on your home screen, Icon can be something interesting like this:
While everyone share their icon, you will not be desperate about the ugly-default-icon anymore!
2008/09/09 22:19 2008/09/09 22:19
Posted by YUKI.N.

http://b123400.net/add2home/logo.png
是一個新做的東西,很簡單的,專for iphone的
一向的iPod/ iPhone add to home screen icon都是由網站決定
用戶插入圖片
比如說這個google的例子
可以看到google本身沒有預備那個logo
雖然應該是能夠scroll/zoom到適合的地方
可是因為google logo的圖太小
根本zoom不到去適當的地方
最後只能以這個大部分空白的icon結尾
有部份的google頁面提供了icon,可是卻只有小部份
就算該頁面真的提供了icon可能也很難看啊
用戶插入圖片
比如說這個plurk的
plurk在iphone上沒有程式(合法的)
要使用的話,就只能用web介面
可是web介面的圖示真的很難看...
這樣就跟強逼對方使用難看的icon嘛
要改善這個問題的話,之前有人試過:這裡有連接
方法是用一個bookmarklet,然後要輸入圖片的網址
要是你想鏟除圖示的話,胡亂打就可以了
看起來不帥

這樣看起來,根本不帥,而且數量多的話很難分辨

可是要是想新增一個你自己想要的icon,就很麻煩了
你必須背了那個圖示的網址啊!還有這件事情你只能在家做(iphone看不到圖片的網址)
如此麻煩的,其實根本沒有解決問題啊!



花了6天的時間,說真的,我自己很滿意
搞了這個 add2home 出來,網址是 http://b123400.net/add2home
在電腦上,先把你喜歡圖像upload,或者可以選擇別人已經upload了的圖示
然後輸入你想要的網址/選擇別人打過的網址 (←↑很方便吧? 別人做過的話,你就甚麼都不用幹了!
他會給你一個短網址,把這個網址輸入到iPhone/iPod touch(很多人喜歡叫iTouch...)
就完成了!
要是你在街上不在電腦前的話,也不要緊,這裡有個bookmarklet : Add to Home Screen
把這個drag到safari的bookmark bar, sync到iphone上,就能使用了
他會看看你現在瀏覽甚麼網站,替你選擇一些相關的icon,比如說我正在瀏覽facebook:
他會建議這些圖示:
這些圖示是一早有人upload過的,所以你可以享受共享的力量了!
選擇後能把facebook用漂亮的圖示add to home screen了
要是你正在看的網頁沒有適合的圖示? 你可以自己選擇
我upload了一大堆有趣的icon,例如這些,會很管用的

因為根本就沒有甚麼主題的,自己喜歡,看上去棒就好了!
這樣,大家要是不滿意網頁的icon,都能自己動手改掉了
而且這個 add2home 還能用來扮app!
2008/09/07 06:47 2008/09/07 06:47
Posted by YUKI.N.