<?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>嘿，嘻嘻   WP &#8211; 嘿嘻嘻</title>
	<atom:link href="http://hexy.cc/category/wp/feed/" rel="self" type="application/rss+xml" />
	<link>http://hexy.cc</link>
	<description>Sunny period, partly Cloudy....</description>
	<lastBuildDate>Mon, 16 Jan 2012 06:42:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Hexy WP Theme design 2-PinkWine</title>
		<link>http://hexy.cc/2008/10/hexy-wp-theme-design-2-pinkwine/</link>
		<comments>http://hexy.cc/2008/10/hexy-wp-theme-design-2-pinkwine/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 16:34:41 +0000</pubDate>
		<dc:creator>hexybaby</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[WP]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://hexy.cc/2008/10/06/229</guid>
		<description><![CDATA[点击查看大图 下载PSD 暂时还没有空切，过两天吧。。]]></description>
			<content:encoded><![CDATA[<p><a href="http://fc43.deviantart.com/fs36/f/2008/279/1/c/HexyTheme2_PinkWine_by_hexybaby.jpg">
<p><img border="o" height="469" src="http://farm4.static.flickr.com/3188/2881155445_0852c76fd9.jpg" width="450" /></p>
<p> 点击查看大图</a> <a href="http://www.deviantart.com/download/98745533/HexyTheme2_PinkWine_by_hexybaby.psd" style="margin-left: 15px;">下载PSD</a>
<p>暂时还没有空切，过两天吧。。</p>
]]></content:encoded>
			<wfw:commentRss>http://hexy.cc/2008/10/hexy-wp-theme-design-2-pinkwine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HexyTheme1发布</title>
		<link>http://hexy.cc/2008/09/hexytheme1%e5%8f%91%e5%b8%83/</link>
		<comments>http://hexy.cc/2008/09/hexytheme1%e5%8f%91%e5%b8%83/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 04:47:30 +0000</pubDate>
		<dc:creator>hexybaby</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[WP]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://hexy.cc/2008/09/26/225</guid>
		<description><![CDATA[效果图： 查看大图 下载地址 本来这个theme是为某同学定制的，暂时发布出来请大家帮忙测试。遇到任何问题请即时与我联系。谢谢。hexybb[at]gmail.com]]></description>
			<content:encoded><![CDATA[<p>效果图：</p>
<p><img height="404" src="http://farm4.static.flickr.com/3266/2605547517_6a8b7781a8.jpg?v=0" width="441" /></p>
<p><a href="http://www.flickr.com/photos/hexybaby/2605547517/sizes/o/in/set-72157605784481591/">查看大图</a>      <a href="http://www.mediafire.com/?zzzaxxwjmae">下载地址</a></p>
<p>本来这个theme是为某同学定制的，暂时发布出来请大家帮忙测试。遇到任何问题请即时与我联系。谢谢。hexybb[at]gmail.com</p>
]]></content:encoded>
			<wfw:commentRss>http://hexy.cc/2008/09/hexytheme1%e5%8f%91%e5%b8%83/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WP LifeStream Plugin—SimpleLife安装说明</title>
		<link>http://hexy.cc/2008/05/wp-lifestream-plugin%e2%80%94simplelife/</link>
		<comments>http://hexy.cc/2008/05/wp-lifestream-plugin%e2%80%94simplelife/#comments</comments>
		<pubDate>Mon, 05 May 2008 08:19:12 +0000</pubDate>
		<dc:creator>hexybaby</dc:creator>
				<category><![CDATA[WP]]></category>
		<category><![CDATA[LifeStream]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[SimpleLife]]></category>
		<category><![CDATA[安装]]></category>
		<category><![CDATA[疑问]]></category>
		<category><![CDATA[解答]]></category>
		<category><![CDATA[说明]]></category>

		<guid isPermaLink="false">http://hexy.cc/?p=185</guid>
		<description><![CDATA[SimpleLife是一款为WP设计的LifeStream插件，你可以用它将自己在其他网站的一举一动（last.fm、del.icio.us&#8230;或者其他feed）以时间轴的形式显示在你的blog页面或侧边栏。这里有更多介绍。这里是我的成果。 几乎花了两天的时间搞定这个东西，期间波折不断，对于我这个coding盲来说，几乎是历经万难哇。 曾经试图从各种Search engine上找说明，但都未遂，so 我要将整个过程记录下来，供想要尝试的人参考。 首先需要说明的是，我对代码知之甚少，很多时候也许有更好的、更妥善的代码改良方法，但我只能从逻辑角度找到临时解决方案，所以如果你是牛人，就不用看了，这篇只给跟我一样的抠腚盲用。 详细安装说明如下： 1.下载SimpleLife包 这个包里的文件和代码是我改过的，基本上解决了以下我将提及的问题，不过你也可以从官网下原代码版本：SimpleLife 1.1b。 2.解压缩后，将其中的simplelife文件夹考到WP的plugins文件夹（(your domain)/public_html/wp-content/plugins/） 3.登录WP管理后台，进入plugin管理，找到SimpleLife，将它激活（Activate） 4.配置SimpleLife options（WP后台setting/SimpleLife） General Settings 设置时间显示格式什么的，具体可以参考它给出的php函数表链接；其中的“Cache Feeds For (Min):”指单个feed每次最大更新数，比如last.fm这种可能item更新比较快的feed，用这个设置可以避免满屏都是同一个feed的item。 Hover Styles 鼠标悬浮时的效果 其他都是对不同stream源样式的修改和添加。你可以在默认给出的last.fm、flickr等服务里直接填写用户名； 也可以在Extra Feed 中加入其他feed，如果要在这些feed之前显示icon，可以将icon的图片（16*16，格式不限）上传到plugins的simplelife文件夹中（(your domain)/public_html/wp-content/plugins/SimpleLife/）。 5.创建LifeStream Page （1）把压缩包里的simplelife.php（是simplelife文件夹外的那个）上传到当前你所使用的theme文件夹（(your domain)/public_html/wp-content/Themes/（Your theme）/） 原代码包里有一个Example_Page_Template_Upload_To_Current_Theme_Directory.php，这个是作者给出的模板，多了一些没有用的东西，我后来给去掉了，结构重新调了下，各别class需要你根据自己现在的theme来做更改。 （2）登录WP后台，write a page，选择Page Template下拉中的simplelife。填写title（在各页面header里的入口文链），内容空着就行了。 现在基本上已经完成了整个安装过程。 下面的问题是使用官方代码的同学需要注意的： 1.使用原代码版本可能会遇到页面上出现大量乱码，原因可能是： （1）SimpleLife.php文件中代码断行格式需要转换成UNIX格式（官方FAQ有提到）： 用dreamwaver打开该文件，选择“Edit”－&#62;“Preferences”命令。然后在Category栏中选择“HTMLFormat”，然后再从 “LineBreaks”列表中选择“LF(Unix)”，单击“OK”按钮以使配置生效果，保存该.php文件。 （2）SimpleLife.php文件中将add menu语句放置在最后，导致WP无法读取之前的代码： 需要将这句从末尾调到最前面（//code for stripos for php4 installations 的前面，版本介绍后面）： //add [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://kierandelaney.net/blog/projects/simplelife/#comment-7131">SimpleLife</a></strong>是一款为WP设计的<a title="20 Ways To Aggregate Your Social Networking Profiles" href="http://mashable.com/2007/07/17/social-network-aggregators/" target="_blank">LifeStream</a>插件，你可以用它将自己在其他网站的一举一动（last.fm、del.icio.us&#8230;或者其他feed）以时间轴的形式显示在你的blog页面或侧边栏。<a href="http://kierandelaney.net/blog/projects/simplelife/#comment-7131">这里</a>有更多介绍。<a title="Hexy's LifeStream" href="http://hexy.cc/lifestream">这里</a>是我的成果。</p>
<p>几乎花了两天的时间搞定这个东西，期间波折不断，对于我这个coding盲来说，几乎是历经万难哇。<br />
曾经试图从各种Search engine上找说明，但都未遂，so 我要将整个过程记录下来，供想要尝试的人参考。</p>
<p>首先需要说明的是，我对代码知之甚少，很多时候也许有更好的、更妥善的代码改良方法，但我只能从逻辑角度找到临时解决方案，所以如果你是牛人，就不用看了，这篇只给跟我一样的抠腚盲用。</p>
<p><strong><span style="color: #0000ff;">详细安装说明如下：</span></strong></p>
<ul>
<li><strong><span style="color: #0000ff;">1.</span></strong><a title="Hexy版代码包" href="http://www.mediafire.com/?ln1mjmydlct">下载SimpleLife包</a><br />
这个包里的文件和代码是我改过的，基本上解决了以下我将提及的问题，不过你也可以从<a title="http://kierandelaney.net/" href="http://kierandelaney.net/blog/projects/simplelife/#comment-7131" target="_blank">官网</a>下原代码版本：<a title="SimpleLife 1.1b" href="http://kierandelaney.net/blog/wp-content/uploads/2008/01/simplelife11b.zip">SimpleLife 1.1b</a>。</li>
<li><strong><span style="color: #0000ff;">2.</span></strong>解压缩后，将其中的simplelife文件夹考到WP的plugins文件夹（(your domain)/public_html/wp-content/plugins/）</li>
<li><strong><span style="color: #0000ff;">3.</span></strong>登录WP管理后台，进入plugin管理，找到SimpleLife，将它激活（Activate）</li>
<li><strong><span style="color: #0000ff;">4.</span></strong>配置SimpleLife options（WP后台setting/SimpleLife）<br />
General Settings 设置时间显示格式什么的，具体可以参考它给出的php函数表链接；其中的“Cache Feeds For (Min):”指单个feed每次最大更新数，比如last.fm这种可能item更新比较快的feed，用这个设置可以避免满屏都是同一个feed的item。<br />
Hover Styles 鼠标悬浮时的效果<br />
其他都是对不同stream源样式的修改和添加。你可以在默认给出的last.fm、flickr等服务里直接填写用户名；<br />
也可以在Extra Feed 中加入其他feed，如果要在这些feed之前显示icon，可以将icon的图片（16*16，格式不限）上传到plugins的simplelife文件夹中（(your domain)/public_html/wp-content/plugins/SimpleLife/）。</li>
<li><strong><span style="color: #0000ff;">5.</span></strong>创建LifeStream Page<br />
（1）把压缩包里的simplelife.php（是simplelife文件夹外的那个）上传到当前你所使用的theme文件夹（(your domain)/public_html/wp-content/Themes/（Your theme）/）<br />
<strong></strong><span style="color: #ff0000;">原代码包里有一个Example_Page_Template_Upload_To_Current_Theme_Directory.php，这个是作者给出的模板，多了一些没有用的东西，我后来给去掉了，结构重新调了下，各别class需要你根据自己现在的theme来做更改。</span><br />
（2）登录WP后台，write a page，选择Page Template下拉中的simplelife。填写title（在各页面header里的入口文链），内容空着就行了。</li>
</ul>
<p><strong>现在基本上已经完成了整个安装过程。</strong></p>
<p><span style="color: #ff0000;"><strong><span>下面的问题是使用官方代码的同学需要注意的：</span></strong></span></p>
<ul>
<li>1.使用原代码版本可能会遇到页面上出现大量乱码，原因可能是：<br />
（1）SimpleLife.php文件中代码断行格式需要转换成UNIX格式（官方FAQ有提到）：<br />
用dreamwaver打开该文件，选择“Edit”－&gt;“Preferences”命令。然后在Category栏中选择“HTMLFormat”，然后再从 “LineBreaks”列表中选择“LF(Unix)”，单击“OK”按钮以使配置生效果，保存该.php文件。<br />
（2）SimpleLife.php文件中将add menu语句放置在最后，导致WP无法读取之前的代码：<br />
需要将这句从末尾调到最前面（//code for stripos for php4 installations 的前面，版本介绍后面）：<br />
//add menu<br />
add_action(&#8216;admin_menu&#8217;, &#8216;simplelifeOptions&#8217;);<br />
add_action(&#8216;plugins_loaded&#8217;, &#8216;doSimpleWidget&#8217;);<br />
ms老版本的WP不会出现这个问题，可能原作者没有考虑到兼容性问题，在我提供的压缩包里这个问题已经改好了。</li>
<li>2.对于Extra Feed，如果你添加的feed是类似于del.icio.us、google reader、feed提供商（feedsky、feedburner等）item的hyperlink指向与feed的源域名（比如del.icio.us&#8230;）不同网站的，那么在SimpleLife options设定的样式将会默认为del.icio.us的样式。<br />
我翻了它的代码没有找到问题所在，在官网上有人提出解决方案：<br />
db0 wrote:<br />
$feedurl = $item-&gt;get_feed()-&gt;subscribe_url();<br />
if ($feedurl == $ff) {$class = &#8216;flickr&#8217;;}<br />
if ($feedurl == $df) {$class = &#8216;delicious&#8217;;}<br />
if ($feedurl == $bf) {$class = &#8216;blog&#8217;;}<br />
if ($feedurl == $tf) {$class = &#8216;twitter&#8217;;}<br />
if ($feedurl == $lf) {$class = &#8216;last.fm&#8217;;}<br />
if ($feedurl == $fbf) {$class = &#8216;facebook&#8217;;}<br />
if ($feedurl == $f1) {$class = &#8216;simple_feed1&#8242;;}<br />
if ($feedurl == $f2) {$class = &#8216;simple_feed2&#8242;;}<br />
if ($feedurl == $f3) {$class = &#8216;simple_feed3&#8242;;}<br />
if ($feedurl == $f4) {$class = &#8216;simple_feed4&#8242;;}<br />
但我试着用这个替换原先的代码，发现Extra Feed好了，但是last.fm等等默认给出的服务class又丢失了，所以我用了非常恶心的招数，将两者结合，各自屏蔽掉有问题的部分：<br />
/* Kieran’s */<br />
$url = $item-&gt;get_permalink();<br />
if (stripos($url, ‘flickr’) !== false) {$class = ‘flickr’;}<br />
if (stripos($url, ‘facebook’) !== false) {$class = ‘facebook’;}<br />
if (stripos($url, ‘last’) !== false) {$class = ‘lastfm’;}<br />
if (stripos($url, substr(get_option(’s_blog’), 5,9)) !== false) {$class = ‘blog’;}<br />
/*if (stripos($url, substr(get_option(’simple_feed1′), 5,9)) !== false) {$class = ’simple_feed1′;}<br />
if (stripos($url, substr(get_option(’simple_feed2′), 5,9)) !== false) {$class = ’simple_feed2′;}<br />
if (stripos($url, substr(get_option(’simple_feed3′), 5,9)) !== false) {$class = ’simple_feed3′;}<br />
if (stripos($url, substr(get_option(’simple_feed4′), 5,9)) !== false) {$class = ’simple_feed4′;}<br />
*/<br />
/* Your */<br />
$feedurl = $item-&gt;get_feed()-&gt;subscribe_url();<br />
/*if ($feedurl == $ff) {$class = ‘flickr’;}<br />
if ($feedurl == $df) {$class = ‘delicious’;}<br />
if ($feedurl == $bf) {$class = ‘blog’;}<br />
if ($feedurl == $tf) {$class = ‘twitter’;}<br />
if ($feedurl == $lf) {$class = ‘last.fm’;}<br />
if ($feedurl == $fbf) {$class = ‘facebook’;}*/<br />
if ($feedurl == $f1) {$class = ’simple_feed1′;}<br />
if ($feedurl == $f2) {$class = ’simple_feed2′;}<br />
if ($feedurl == $f3) {$class = ’simple_feed3′;}<br />
if ($feedurl == $f4) {$class = ’simple_feed4′;}<br />
在我给出的下载包里代码就是这个样子，如果你使用的是原代码包请尝试其他方法。我已将这条发布到作者的讨论区，等待其他人给出更好的解决方案。</li>
<li>3.页面出现：<br />
Warning: /home/public_html/wp-content/themes/cache/*.spc<br />
is not writeable in /home/public_html/wp-content/plugins/simplelife/simplepie.inc on line 1623<br />
此问题是指simplelife需要在你的wp-content目录下创建缓存文件，但你的wp-content没有给“所有”写入权限，所以你可以：在(your domain)/public_html/wp-content/下创建一个cache目录，并右键属性中权限将“写入”全部勾选上就可以了。</li>
</ul>
<p>也许你还会遇到其它问题，你可以到<a href="http://kierandelaney.net/blog/projects/simplelife/#comment-7131">SimpleLife的官网</a>发表回复，也许会得到答案，或者发邮件给我（hexybb [at] gmail），我们一起研究下。</p>
<p><strong><span style="color: #ff0000;">UPDATE:</span></strong><br />
<strong><a rel="external nofollow" href="http://dbzer0.com/">db0</a></strong> MS已经修改了他的代码，并且给出了新的代码包：<a rel="nofollow" href="http://dbzer0.com/blog/undefined_remainder/coding/hacked-simplelife">hacked version here</a> 晚上回家测试下&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://hexy.cc/2008/05/wp-lifestream-plugin%e2%80%94simplelife/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

