這項工具是由 The Next Web 所開發(fā),如果你想知道你的文章被轉(zhuǎn)寄的多不多,只要將語法加入網(wǎng)頁即可。
使用教學
MailCounter 的顯示樣式如下:
JavaScript 語法:將以下源代碼復制到你的網(wǎng)站要顯示按鈕的位置,記得將 http://yoururlhere.com 和 title of your page here 變更為頁面網(wǎng)址以及頁面標題。
iframe src="http://getmailcounter.com/mailcounter/?url=http://yoururlhere.comtitle=title of your page here" height="64" width="50" frameborder="0" scrolling="no">/iframe>
WordPress 語法(自己架設WordPress):復製以下源代碼,加入你的模版 single.php 和 index.php 等檔案里。
?phpecho 'iframe src="http://getmailcounter.com/mailcounter/?url=';urlencode(the_permalink());echo 'title=';urlencode(the_title());echo '" height="64" width="50" frameborder="0" scrolling="no" >/iframe>';?>
網(wǎng)址:http://getmailcounter.com/(原文)