<?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>Looki's Blog &#187; 插件</title>
	<atom:link href="http://www.liaojun.com/tag/%e6%8f%92%e4%bb%b6/feed" rel="self" type="application/rss+xml" />
	<link>http://www.liaojun.com</link>
	<description>Good Good Study,Day Day Up... </description>
	<lastBuildDate>Thu, 29 Jul 2010 02:25:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>把wordpress改造成微博客</title>
		<link>http://www.liaojun.com/356.html</link>
		<comments>http://www.liaojun.com/356.html#comments</comments>
		<pubDate>Fri, 24 Jul 2009 09:44:11 +0000</pubDate>
		<dc:creator>Looki</dc:creator>
				<category><![CDATA[七拼八凑]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[插件]]></category>
		<category><![CDATA[网站]]></category>

		<guid isPermaLink="false">http://looki.cn/356.html</guid>
		<description><![CDATA[    无意中逛到这里，发现把wordpress改成微型博客也挺有意思的，刚好又搞到个国外的免费空间，就决定拿这个测试一下了。
    改造过程很简单，按照上文要求一步一步来就好了，如果嫌修改文件麻烦，可以去这里下载改好的，而且还带评论回复功能哟。下面主要说下我所遇到的问题，呵呵，要是真像更换主题那么简单的话，我也就没必要在这里记录一笔了。
    本以为会很顺利的，结果换上主题，切换到前台后，才发现因为这个免费主机居然不支持mbstring扩展，页面出现mb_substr()函数不可用的错误提示。难道就没办法用这款主题了么？google了一番，找到这个插件，装上，启用之，再按照插件要求的，分别查找此主题目录下的index.php和single.php文件，找到：
&#60;?php echo mb_strimwidth(strip_tags(apply_filters(&#8216;the_content&#8217;, $post-&#62;post_content)), 0, 63,&#8221;&#8230;&#8221;); ?&#62;
&#60;?php echo mb_strimwidth(strip_tags(apply_filters(&#8216;the_content&#8217;, $post-&#62;post_content)), 0, 80,&#8221;&#8230;&#8221;); ?&#62;
均修改为：
&#60;?php the_excerpt(); ?&#62;
    再切换回前台，显示OK！
    演示地址：http://xiazhua.net/blog/
]]></description>
			<content:encoded><![CDATA[<p>    无意中逛到<a href="http://tarr.cn/wordpress-for-microblog-twitter.html">这里</a>，发现把wordpress改成微型博客也挺有意思的，刚好又搞到个国外的<a href="http://2kmegs.com/">免费空间</a>，就决定拿这个测试一下了。<br />
    改造过程很简单，按照上文要求一步一步来就好了，如果嫌修改文件麻烦，可以去<a href="http://zxt.name/archives/1.html">这里</a>下载改好的，而且还带评论回复功能哟。下面主要说下我所遇到的问题，呵呵，要是真像更换主题那么简单的话，我也就没必要在这里记录一笔了。<br />
<span id="more-356"></span>    本以为会很顺利的，结果换上主题，切换到前台后，才发现因为这个免费主机居然不支持mbstring扩展，页面出现mb_substr()函数不可用的错误提示。难道就没办法用这款主题了么？google了一番，找到这个<a href="http://myfairland.net/wp-utf8-excerpt/">插件</a>，装上，启用之，再按照插件要求的，分别查找此主题目录下的index.php和single.php文件，找到：</p>
<blockquote><p>&lt;?php echo mb_strimwidth(strip_tags(apply_filters(&#8216;the_content&#8217;, $post-&gt;post_content)), 0, 63,&#8221;&#8230;&#8221;); ?&gt;</p></blockquote>
<blockquote><p>&lt;?php echo mb_strimwidth(strip_tags(apply_filters(&#8216;the_content&#8217;, $post-&gt;post_content)), 0, 80,&#8221;&#8230;&#8221;); ?&gt;</p></blockquote>
<p>均修改为：</p>
<blockquote><p>&lt;?php the_excerpt(); ?&gt;</p></blockquote>
<p>    再切换回前台，显示OK！<br />
    演示地址：<a href="http://xiazhua.net/blog/" target="_blank">http://xiazhua.net/blog/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.liaojun.com/356.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>推荐一个flv插件：wp-bcastr3</title>
		<link>http://www.liaojun.com/353.html</link>
		<comments>http://www.liaojun.com/353.html#comments</comments>
		<pubDate>Mon, 22 Jun 2009 04:00:32 +0000</pubDate>
		<dc:creator>Looki</dc:creator>
				<category><![CDATA[网罗资源]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[女儿]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://looki.cn/?p=353</guid>
		<description><![CDATA[    原本是想找个flv播放器来放一段我女儿的视频，找来找去也没发现有合适的，结果无意中在WordPress 中文论坛上却发现这么个东西，看说明还蛮合我胃口的：
支持一个文章内发布多个flv视频
支持默认flv视频高度、宽度设置
支持以标签设置flv视频的高度、宽度设置
支持设置默认flv视频是否自动播放
支持给flv视频增加水印文字、设定文字大小、颜色以及水印文字的链接
以bcastr3的XHTML模式生成代码，避免造成XHTML不兼容现象
使用方法，上传插件，激活插件，设置插件，然后在发布文章的时候可以通过这样的标签来调用：（把前面的{换成[）
{bcastr3]http://xxxxxx/xxx.flv[/bcastr3]
或：
{bcastr3 width=&#8217;xx&#8217; height=&#8217;xx&#8217;]http://xxxxxx/xxx.flv[/bcastr3]
作者原文：http://ipbfans.org/2009/01/wordpress-plugin-bcastr3-flv
Vcastr 3.0：http://www.ruochi.com/main/2008/03/19/vcastr-30/
                       http://groups.google.com/group/vcastr
播放器效果如下：
    如果插件安装后出现“J.parentNode为空或不是对象”的错误，那可能是因为你已经安装过其它需要引用SWFObject对像的插件，如Audio Player、NextGEN Gallery等之类的，要解决也很简单，把插件目录的swfobject.js文件直接删除掉即可。
]]></description>
			<content:encoded><![CDATA[<p>    原本是想找个flv播放器来放一段我女儿的视频，找来找去也没发现有合适的，结果无意中在<a href="http://wordpress.org.cn/" target="_blank">WordPress 中文</a>论坛上却发现这么个东西，看说明还蛮合我胃口的：</p>
<blockquote><p>支持一个文章内发布多个flv视频<br />
支持默认flv视频高度、宽度设置<br />
支持以标签设置flv视频的高度、宽度设置<br />
支持设置默认flv视频是否自动播放<br />
支持给flv视频增加水印文字、设定文字大小、颜色以及水印文字的链接<br />
以bcastr3的XHTML模式生成代码，避免造成XHTML不兼容现象</p></blockquote>
<p><span id="more-353"></span>使用方法，上传插件，激活插件，设置插件，然后在发布文章的时候可以通过这样的标签来调用：（把前面的{换成[）</p>
<blockquote><p>{bcastr3]http://xxxxxx/xxx.flv[/bcastr3]<br />
或：<br />
{bcastr3 width=&#8217;xx&#8217; height=&#8217;xx&#8217;]http://xxxxxx/xxx.flv[/bcastr3]</p></blockquote>
<p>作者原文：<a href="http://ipbfans.org/2009/01/wordpress-plugin-bcastr3-flv" target="_blank">http://ipbfans.org/2009/01/wordpress-plugin-bcastr3-flv<br />
</a>Vcastr 3.0：<a href="http://www.ruochi.com/main/2008/03/19/vcastr-30/" target="_blank">http://www.ruochi.com/main/2008/03/19/vcastr-30/</a><br />
                       <a href="http://groups.google.com/group/vcastr" target="_blank">http://groups.google.com/group/vcastr</a><br />
播放器效果如下：<br />
<div id='wp_bcastr3_wrapper_353_1' class='wp-bcastr3-player-wrapper' style='height:360;text-align:center;'>
	<div id='v_wp_bcastr3_wrapper_353_1' class='wp-bcastr3-player'>bcastr3 flv player</div>
</div>
<script type="text/javascript">
var flashvars = {
		xml: "{vcastr}{channel}{item}{source}http://looki.cn/wp-content/uploads/2009/06/20090619.flv{/source}{duration}{/duration}{title}{/title}{/item}{/channel}{config}{buffertime}4{/buffertime}{isAutoPlay}false{/isAutoPlay}{isloadbegin}false{/isloadbegin}{/config}{plugIns}{logoPlugIn}{url}http://looki.cn/wp-content/plugins/wp-bcastr3/bcastr3/logoPlugIn.swf{/url}{logoText}Liaoyumeng.com{/logoText}{logoTextAlpha}0.75{/logoTextAlpha}{logoTextFontSize}20{/logoTextFontSize}{logoTextLink}http://www.liaoyumeng.com/{/logoTextLink}{logoTextColor}0xffffff{/logoTextColor}{textMargin}10 10 auto auto{/textMargin}{/logoPlugIn}{/plugIns}{/vcastr}"
		};
var params = {
		wmode: "transparent",
		allowFullScreen: "true"
		};
var attributes = {
		id: "p_wp_bcastr3_wrapper_353_1",
		name: "p_wp_bcastr3_wrapper_353_1"
		};
swfobject.embedSWF("http://looki.cn/wp-content/plugins/wp-bcastr3/bcastr3/vcastr3.swf" , "v_wp_bcastr3_wrapper_353_1" , "480" , "360" , "9.0.0" , false , flashvars , params , attributes);
</script></p>
<p>    如果插件安装后出现“J.parentNode为空或不是对象”的错误，那可能是因为你已经安装过其它需要引用SWFObject对像的插件，如Audio Player、NextGEN Gallery等之类的，要解决也很简单，把插件目录的swfobject.js文件直接删除掉即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liaojun.com/353.html/feed</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>
