<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>licream&#039;s blog &#187; 插件</title>
	<atom:link href="http://www.licream.net/tag/%e6%8f%92%e4%bb%b6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.licream.net</link>
	<description></description>
	<lastBuildDate>Wed, 01 Sep 2010 02:46:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>本站使用WordPress插件汇总</title>
		<link>http://www.licream.net/wordpresshack.html/</link>
		<comments>http://www.licream.net/wordpresshack.html/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 11:41:30 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[网络相关]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://www.licream.net/%e6%9c%ac%e7%ab%99%e4%bd%bf%e7%94%a8wordpress%e6%8f%92%e4%bb%b6%e6%b1%87%e6%80%bb.html</guid>
		<description><![CDATA[WP折腾的差不多了，暂时还没想到哪需要去弄弄，整理WP当然离不开插件哈，有些是必需使用的，在这我也分享给大家看看，知道大家基本都有过总结插件这文－ －！。随便看看哈。 1.Baidu Sitemap Generator&#160; 百度地图。 2.Google XML Sitemaps&#160; google地图，这二个优化用的。。 &#160; 3.Comment Info Detector&#160; 会显示留言者的IP，地理，浏览器信息。感觉很时尚。呵呵 4.PHP Speedy WP&#160; 优化类的，好像是优化JS的。。。我的目的是为了配合wp super...]]></description>
			<content:encoded><![CDATA[<p>WP折腾的差不多了，暂时还没想到哪需要去弄弄，整理WP当然离不开插件哈，有些是必需使用的，在这我也分享给大家看看，知道大家基本都有过总结插件这文－ －！。随便看看哈。</p>
<p>1.<strong>Baidu Sitemap Generator</strong>&#160; 百度地图。</p>
<p>2.<strong>Google XML Sitemaps</strong>&#160; google地图，这二个优化用的。。</p>
<p> <span id="more-360"></span>
<p>&#160;</p>
<p>3.<strong>Comment Info Detector</strong>&#160; 会显示留言者的IP，地理，浏览器信息。感觉很时尚。呵呵</p>
<p>4.<strong>PHP Speedy WP</strong>&#160; 优化类的，好像是优化JS的。。。我的目的是为了配合wp super cache用。</p>
<p>5.<strong>WP Super Cache</strong>&#160;&#160; 缓存插件，具说配合上面的使用效果更佳。</p>
<p>6.<strong>ItemstatLite</strong>&#160; 这插件很少人用到。魔兽世界玩家用的，是为了显示英雄榜信息，装备也可以显示。作者制作了很多魔兽插件。也有php之类的插件。牛人一个，预览<a href="http://www.licream.net/about" target="_blank">请看</a>。</p>
<p>[item]索利达尔，群星之怒[/item]</p>
<p>7.<strong>SyntaxHighlighter Evolved</strong> 代码高亮，个人感觉很不错，我很喜欢的。</p>
<p>防Spam的和读者墙功能还有ajax无刷新回复功能我使用了Willin.org牛人提供的代码，mp3播放器主题已经有了，不用我去操心。还有很多都是在网上找到的各位方法加以添加修改的。比如jquery效果阿，大家可以在我footer下面找到我的all.js文件。想要用这些效果的下载去弄弄。不准盗链哈~还有个功能是把文章同步到QQ空间以及嘀咕，雷猴等微博。代码是用我爱水煮鱼的。感觉这才像个样了嘛。呵呵！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/wordpresshack.html/feed/</wfw:commentRss>
		<slash:comments>72</slash:comments>
		</item>
		<item>
		<title>求助贴,关于插件问题</title>
		<link>http://www.licream.net/help-paste-on-the-plug-in-problems.html/</link>
		<comments>http://www.licream.net/help-paste-on-the-plug-in-problems.html/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 15:22:39 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[网络相关]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[域名]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=322</guid>
		<description><![CDATA[是这样的,之前我使用com域名,在你好万维网买的域名和空间,太贵,我不续费了,博客是在用com域名时安装的,现在换成.net域名了.. 现在我安装某些插件,会提示获取一段路径.一般都是插件目录.问题就出在这了,获取的地址是原来域名时安装的地址,如: /www/users/licream.com/wp-content is writeable! 如下面的图: 只要插件需要获取路径的都是以/www/user/licream.com开头,现在需要解决这个错误路径.去哪改成为licream.net开头呢?后台没有找到相关设置,在wp_option也没看到相关信息.我觉得是在数据库里.可一直没找到在哪里面.你们知道怎么解决或有什么好意见的方法,告 诉我吧.非常感谢!这问题太折磨死人了.闷!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.licream.net/wp-content/uploads/2009/12/help-me.png"><img class="alignnone size-full wp-image-325" title="help-me" src="http://www.licream.net/wp-content/uploads/2009/12/help-me.png" alt="help-me" width="555" height="155" /></a></p>
<p>是这样的,之前我使用com域名,在你好万维网买的域名和空间,太贵,我不续费了,博客是在用com域名时安装的,现在换成.net域名了..</p>
<p>现在我安装某些插件,会提示获取一段路径.一般都是插件目录.问题就出在这了,获取的地址是原来域名时安装的地址,如:</p>
<p>/www/users/licream.com/wp-content is writeable! 如下面的图:<span id="more-322"></span></p>
<p><a href="http://www.licream.net/wp-content/uploads/2009/12/wp-cache.jpg"><img class="alignnone size-full wp-image-323" title="wp-cache" src="http://www.licream.net/wp-content/uploads/2009/12/wp-cache.jpg" alt="wp-cache" width="664" height="134" /></a></p>
<p><a href="http://www.licream.net/wp-content/uploads/2009/12/wp-php.jpg"><img class="alignnone size-full wp-image-324" title="wp-php" src="http://www.licream.net/wp-content/uploads/2009/12/wp-php.jpg" alt="wp-php" width="644" height="205" /></a></p>
<p>只要插件需要获取路径的都是以/www/user/licream.com开头,现在需要解决这个错误路径.去哪改成为licream.net开头呢?后台没有找到相关设置,在wp_option也没看到相关信息.我觉得是在数据库里.可一直没找到在哪里面.你们知道怎么解决或有什么好意见的方法,告 诉我吧.非常感谢!这问题太折磨死人了.闷!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/help-paste-on-the-plug-in-problems.html/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>抛弃WordPress Related Posts,也能实现它</title>
		<link>http://www.licream.net/abandoned-wordpress-related-posts-it-is-possible-to-achieve.html/</link>
		<comments>http://www.licream.net/abandoned-wordpress-related-posts-it-is-possible-to-achieve.html/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 08:15:06 +0000</pubDate>
		<dc:creator>Licream</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[插件]]></category>
		<category><![CDATA[相关文章]]></category>

		<guid isPermaLink="false">http://www.licream.net/?p=310</guid>
		<description><![CDATA[今天在网上发现有个很实用的功能，完全可替代WordPress Related Posts插件，现分享给大家，我直接上方法了！ 下面的方法的出自http://www.hacklog.cn/wordpress/wpskills/wordpress-related-posts-with-no-plugin.html功能更强大了 将下面的代码添加到你目前使用的主题的functions.php文件的最后一个?>标签前面即可 ####### START ########## 显示相关日志 ################# START ######### ########################### www.hacklog.cn ###################################### $wp_rp=array( 'limit'=&#62;6, //显示几条相关文章 'wp_rp_rss'=&#62;true, //在rss...]]></description>
			<content:encoded><![CDATA[<p>今天在网上发现有个很实用的功能，完全可替代WordPress Related Posts插件，现分享给大家，我直接上方法了！</p>
<p>下面的方法的出自http://www.hacklog.cn/wordpress/wpskills/wordpress-related-posts-with-no-plugin.html功能更强大了<br />
将下面的代码添加到你目前使用的主题的functions.php文件的最后一个?>标签前面即可<span id="more-310"></span></p>
<pre class="brush: php;">

#######  START   ##########     显示相关日志    #################    START   #########
###########################   www.hacklog.cn    ######################################
    $wp_rp=array(
    'limit'=&gt;6, //显示几条相关文章
    'wp_rp_rss'=&gt;true, //在rss feed 中显示相关文章
    'wp_no_rp'=&gt;'random', //无相关文章时的选择：text 或random（random为显示随机文章)
    'wp_rp_date'=&gt;true, //显示日志发布日期
    'wp_rp_comments'=&gt;true, //显示日志评论数
    'wp_rp_title_tag'=&gt;'h3',//相关日志标题标签(h2 ,h3 ,h4 ,p ,div)
    );
function wp_get_random_posts ($limitclause=&quot;&quot;) {
    global $wpdb, $tableposts, $post;

    $q = &quot;SELECT ID, post_title, post_content,post_excerpt, post_date, comment_count FROM $tableposts WHERE post_status = 'publish' AND post_type = 'post' AND ID != $post-&gt;ID ORDER BY RAND() $limitclause&quot;;
    return $wpdb-&gt;get_results($q);
}

    function wp_get_related_posts()
    {
    global $wpdb, $post,$table_prefix,$wp_rp;
    $limit =$wp_rp[&quot;limit&quot;];
    if(!$post-&gt;ID){return;}
    $now = current_time('mysql', 1);
    $tags = wp_get_post_tags($post-&gt;ID);

    $taglist = &quot;'&quot; . $tags[0]-&gt;term_id. &quot;'&quot;;

    $tagcount = count($tags);
    if ($tagcount &gt; 1) {
        for ($i = 1; $i &lt; $tagcount; $i++) {
            $taglist = $taglist . &quot;, '&quot; . $tags[$i]-&gt;term_id . &quot;'&quot;;
        }
    }

    if ($limit) {
        $limitclause = &quot;LIMIT $limit&quot;;
    }   else {
        $limitclause = &quot;LIMIT 10&quot;;
    }

    $q = &quot;SELECT p.ID, p.post_title, p.post_content,p.post_excerpt, p.post_date,  p.comment_count, count(t_r.object_id) as cnt FROM $wpdb-&gt;term_taxonomy t_t, $wpdb-&gt;term_relationships t_r, $wpdb-&gt;posts p WHERE t_t.taxonomy ='post_tag' AND t_t.term_taxonomy_id = t_r.term_taxonomy_id AND t_r.object_id  = p.ID AND (t_t.term_id IN ($taglist)) AND p.ID != $post-&gt;ID AND p.post_status = 'publish' AND p.post_date_gmt &lt; '$now' GROUP BY t_r.object_id ORDER BY cnt DESC, p.post_date_gmt DESC $limitclause;&quot;;

    $related_posts = $wpdb-&gt;get_results($q);

    $output = &quot;&quot;;
    //不存在相关日志则显示随机日志
    if (!$related_posts)
    {
        if($wp_rp['wp_no_rp'] == &quot;text&quot;)
        {
            $output  .= '&lt;li&gt;无相关日志&lt;/li&gt;';
        }
        else

        {
            if($wp_rp['wp_no_rp'] == &quot;random&quot;)
            {
            $wp_no_rp_text= '随机日志';
            $related_posts = wp_get_random_posts($limitclause);
            }  

            $wp_rp_title = $wp_no_rp_text;
        }
    }

    foreach ($related_posts as $related_post )
    {
        $output .= '&lt;li&gt;';
        if($wp_rp['wp_rp_date'])
        {
        $dateformat = get_option('date_format');
        $output .= mysql2date($dateformat, $related_post-&gt;post_date) . &quot;  //  &quot;;
        }
        $output .=  '&lt;a href=&quot;'.get_permalink($related_post-&gt;ID).'&quot; title=&quot;'.wptexturize($related_post-&gt;post_title).'&quot;&gt;'.wptexturize($related_post-&gt;post_title).'&lt;/a&gt;';
        if ($wp_rp[&quot;wp_rp_comments&quot;])
        {
        $output .=  &quot; (&quot; . $related_post-&gt;comment_count . &quot;)&quot;;
        }
    $output .=  '&lt;/li&gt;';
    }
    $output = '&lt;ul class=&quot;related_post&quot;&gt;' . $output . '&lt;/ul&gt;';
    $wp_rp_title_tag = $wp_rp[&quot;wp_rp_title_tag&quot;];

        if(!$wp_rp_title_tag)
        $wp_rp_title_tag ='h3';
        if($wp_rp_title != '')
        $output =  '&lt;'.$wp_rp_title_tag.'  class=&quot;related_post_title&quot;&gt;'.$wp_rp_title .'&lt;/'.$wp_rp_title_tag.'&gt;'. $output;
    return $output;
}

    function wp_related_posts_attach($content)
    {
       global $wp_rp;
          if (is_single()||(is_feed() &amp;&amp; $wp_rp[&quot;wp_rp_rss&quot;]))
          {
          $output = wp_get_related_posts();
          $content = $content . $output;
           }

    return $content;
    }

add_filter('the_content', 'wp_related_posts_attach',100);
#######    END     ##########     显示相关日志    #################    END   #########
###########################   www.hacklog.cn    ######################################
</pre>
<p>－－转自Hacklog【荒野无灯weblog】 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.licream.net/abandoned-wordpress-related-posts-it-is-possible-to-achieve.html/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
