WP-Plugin: Share this

14十二月06

頗 nice 的 plugin, 讓版面簡潔有力又不失其功能性.

下載, 解壓縮, 放到 plugin 目錄, active 即可 (WP 2.1 以前的使用者請將 prototype.js 放在 wp-include/js). 我這邊有個小 patch 可以讓產生的頁面有正確的 charset.


--- share-this.php~ Thu Dec 14 13:16:56 2006
+++ share-this.php Thu Dec 14 12:25:45 2006
@@ -594,6 +602,7 @@
+ < meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('wpurl'); print(AKST_FILEPATH); ?>?akst_action=css" />
<style type="text/css">

另外要加入黑米或 Myshare 可以修改 share-this.php 依樣畫葫蘆, 在 $social_sites 裡面加入相關網址即可.


--- share-this.php~ Thu Dec 14 13:16:56 2006
+++ share-this.php Thu Dec 14 12:25:45 2006
@@ -46,7 +46,15 @@
$social_sites = array(
- 'delicious' => array(
+ 'hemidemi' => array(
+ 'name' => 'Hemidemi'
+ , 'url' => 'http://www.hemidemi.com/user_bookmark/new?title={title}&url={url}'
+ )
+ , 'myshare' => array(
+ 'name' => 'MyShare'
+ , 'url' => 'http://myshare.url.com.tw/index.php?func=newurl&url={url}&desc={title}'
+ )
+ , 'delicious' => array(
'name' => 'del.icio.us'
, 'url' => 'http://del.icio.us/post?url={url}&title={title}'
)

記得要抓小圖放在 share-this 的 plugin 目錄下喔 !

[Link]

Technorati Tags: , ,



One Response to “WP-Plugin: Share this”

  1. 感謝,您的文章解決了我的問題。 :)


發表迴響

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

連結到 %s


Follow

Get every new post delivered to your Inbox.