Posts Tagged ‘wordpress plugin’

wp-codec-cn: Encode / decode the posts and comments

09.22.2009 by star - 0 Comment
Posted in BLOG

Name / 名称:
wp-codec-cn

Description / 描述:
Encode / decode the posts and comments with one of the following algorithms: base64, phpjsrsa, rune word etc.
将博客的文章和评论进行编解码,避免G*F*W截获关键词。

插件下载:Plugin download

Principle / 原理:
服务端 WordPress:PHP 编码
客户端:JS 解码
插件:将编解码方法加入 WordPress

Refer to / 参考:

http://secret.moumentei.com/

http://jquery.com/

http://www.webtoolkit.info/

BTW:
You could change the JS lib to your fastest site if you want to accelarate loading the JS lib or reduce the bandwidth.
为提高JS库下载速度,减少下载带宽,可以将JS库转到速度快带宽大的站点

wp-codec-cn from liuchangjun [plugin]

Revision:
0.1 – 2009.9.21 – initial version.
0.2 – 2010.1.17 – rebuild the architecture to add the algorithms easyly, update by zhoushuqun.

制作了一个Google Adsense插件,copy from e-xia.com

08.28.2009 by star - 0 Comment
Posted in BLOG

昨天成功申请了Google Adsense帐户,网上找了一下相关的wordpress插件,根据轶侠的文章做了一个简单插件,据说要30年才能达到Google $100的标准 O(∩_∩)O~

原文在这里:给WP加上Google广告代码

<?php
add_filter('the_content', 'google_ads');
function google_ads($content){
  if(is_page()||is_single()){
    ob_start();
?>
<div class="google center">
<!--Google AdSense Code HERE-->
</div>
<?php
    $content = ob_get_contents().$content;
    ob_end_clean();
  }
  return $content;
}
?>