Hi! I’m clsung

Hi! I’m clsung

clsung’s blog site, or you can call me AlanSung

Hi! I’m clsung RSS Feed
 
 
 
 

[WP] share-this plugin

很久沒介紹 WP 的 plugin 了,這次來介紹 share-this

安裝方法很簡單,照它的 README 寫的:

  1. 下載並解壓縮(Download the plugin archive and expand it (you’ve likely already done this))
  2. 將 share-this/ 目錄放在 plugins/ 下(Put the ’share-this’ folder into your wp-content/plugins/ directory)
  3. 到管理外掛頁面(Plugins)啟用(Go to the Plugins page in your WordPress Administration area and click ‘Activate’ for Share This)
  4. 如果是 2.1 之前的版本(像我自己就不是),要將 prototype.js 放在 wp-includes/js/ 裡(If you are using a version of WP prior to 2.1, upload the included prototype.js to your wp-includes/js/ directory)

啟用之後,在每篇文章後面就有個 “Share This” 的連結,點下去就有各家書籤、社群的連結可以利用。等於是把小貼紙全部收在一起,讚!!!

又,因為這裡面沒有黑米(現在都規定要這樣叫了嗎?)的連結,我也做了一點 patch:

— share-this.php.orig Wed Nov 29 13:36:18 2006
+++ share-this.php Thu Dec 7 09:47:23 2006
@@ -39,6 +39,10 @@
‘name’ => ‘Digg’
, ‘url’ => ‘http://digg.com/submit?phase=2&url={url}&title={title}’
)
+ , ‘hemidemi’ => array(
+ ‘name’ => ‘HemiDemi’
+ , ‘url’ => ‘http://www.hemidemi.com/user_bookmark/new?url={url}&title={title}’
+ )
, ‘furl’ => array(
‘name’ => ‘Furl’
, ‘url’ => ‘http://furl.net/storeIt.jsp?u={url}&t={title}’

記得到黑米網站找小圖,只要存成 hemidemi.gif 就可以了。

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • funp
  • Haohao
  • Hemidemi
  • Live
  • MisterWong
  • TwitThis
  • udn

Leave a Reply

噗浪:

分類

Flickr

    clsung. Get yours at bighugelabs.com/flickr

Blogroll

    馬的警總回來了
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan