[Lifetype] 收藏文章選單 - Del.icio.us、Furl、HEMiDEMi、Technorati
| 五月 06, 2006 | 7個迴響| 1個引用| 2504 reads | Size: L, M, S | Edit: P, C, R || Category: LifeType. |
之前有寫過一篇「在文章上加入Add To Del.icio.us、Add To Furl 連結」,今天在看 chweng 的 Blog 時,覺得他的選單方式還不錯,就偷看了一下語法,分享紀錄一下語法。
另外,後來也修改了一下我的這些收藏文章的連結,最後是把他拿到文章的最後去,這樣首頁比較簡潔。而且說實在的,會想收錄文章,也是看完文章後吧,所以放在文章末,更符合閱讀行為。
此外,加上了 HEMiDEMi 和 Technorati 的連結。
UPDATE 2006-08-28: 新增了智邦 My Share 的連結。
語法 For Lifetype:
<select onchange="location=this.options[this.selectedIndex].value;">
<option value="">加到網路書籤</option>
<option value="http://www.hemidemi.com/user_bookmark/new?title={$post->getTopic()}&url={$url->postPermalink($post)}">+ HEMiDEMi</option>
<option value="http://del.icio.us/login/?url={$url->postPermalink($post)}&title={$post->getTopic()}">+ del.icio.us</option>
<option value="http://www.furl.net/storeIt.jsp?p=1&t={$post->getTopic()}&u={$url->postPermalink($post)}">+ Furl</option>
<option value="http://technorati.com/faves?add={$url->postPermalink($post)}">+ Technorati</option>
<option value="http://myshare.url.com.tw/index.php?func=newurl&url={$url->postPermalink($post)}&desc={$post->getTopic()}">+ MyShare</option>
</select>
不過最後我沒有使用,測試過幾種後,我喜歡現在的方式。有興趣的人可以加看看。
另外,這次多了 Technorati 和 HEMiDEMi 的連結,如下:
+<a xhref="http://www.hemidemi.com/user_bookmark/new?title={$post->getTopic()}&url={$url->postPermalink($post)}" target="_blank" title="Add To Your HEMiDEMi" >HEMiDEMi</a>
+<a xhref="http://technorati.com/faves?add={$url->postPermalink($post)}" target="_blank" title="Add To Your Technorati Favorites" >Technorati</a>
+<a xhref="http://myshare.url.com.tw/index.php?func=newurl&url={$url->postPermalink($post)}&desc={$post->getTopic()}" target="_blank" title="Add To Your My Share" >My Share</a>
P.S. 一樣,Fx 跟 TinyMCE 兩個處的不好,記得把 xhref 改成 href。
隨機文章:
» [Lifetype] 收藏文章到 FunP
» 在文章上加入「Add To Del.icio.us」「Add To Furl」連結
» 在Blog播放MP3 的簡單方法 - Del.icio.us playtagger
» Ubuntu 8.04 (HardyHeron) Alpha5
» [Twitter] TwitThat and Twitio.us For Lifetype


感覺這篇對我會有用,可是我現在還看不懂。有空再來研究一下;)