MailCounter 显示出文章被转寄的次数


  本文标签:MailCounter

这项工具是由 The Next Web 所开发,如果你想知道你的文章被转寄的多不多,只要将语法加入网页即可 。

使用教学

MailCounter 的显示样式如下:

mailcounter-sample

JavaScript 语法:将以下源代码复制到你的网站要显示按钮的位置,记得将 http://yoururlhere.com 和 title of your page here 变更为页面网址以及页面标题 。

复制代码
代码如下:

<iframe src="http://getmailcounter.com/mailcounter/?url=http://yoururlhere.com&title=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>;?>

网址:http://getmailcounter.com/(原文)