<?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>萧渔的博 &#187; theme</title>
	<atom:link href="http://qianli.me/tag/theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://qianli.me</link>
	<description>thinker，observer，operator</description>
	<lastBuildDate>Fri, 16 Dec 2011 07:51:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>修改了主题</title>
		<link>http://qianli.me/2007/07/a-new-theme-skin/</link>
		<comments>http://qianli.me/2007/07/a-new-theme-skin/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 02:26:07 +0000</pubDate>
		<dc:creator>萧渔</dc:creator>
				<category><![CDATA[旧文]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://thinkinglog.info/20070712/a-new-theme-skin/</guid>
		<description><![CDATA[将主题又修改了一次，放弃了原先那种“阴郁”的风格，现在比较“明快”了，由于不再使用透明背景的PNG图片，在IE6下也能显示正常了，如果您的浏览器仍然显示有问题，可能是之前的页面缓存作祟，请按F5刷新一下页面即可。]]></description>
			<content:encoded><![CDATA[<p>将主题又修改了一次，放弃了原先那种“阴郁”的风格，现在比较“明快”了，由于不再使用透明背景的PNG图片，在IE6下也能显示正常了，如果您的浏览器仍然显示有问题，可能是之前的页面缓存作祟，请按F5刷新一下页面即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://qianli.me/2007/07/a-new-theme-skin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>新模板试运行</title>
		<link>http://qianli.me/2007/06/a-new-wordpress-theme/</link>
		<comments>http://qianli.me/2007/06/a-new-wordpress-theme/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 09:03:28 +0000</pubDate>
		<dc:creator>萧渔</dc:creator>
				<category><![CDATA[旧文]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://thinkinglog.info/20070614/a-new-wordpress-theme/</guid>
		<description><![CDATA[这几天我制作了一个新的Theme，即大家现在看到的这个样子，完成度90%，是基于伟大的Sandbox改造的，暂时运行一段时间，继续修改、调整，等到基本稳定了，我可能会将它公布出来。需要提醒的是由于使用了透明背景的PNG图片，所以在IE6下本Theme将惨不忍睹，我强烈建议您改用Firefox或升级到IE7]]></description>
			<content:encoded><![CDATA[<p>这几天我制作了一个新的Theme，即大家现在看到的这个样子，完成度90%，是基于伟大的<a href="http://www.plaintxt.org/themes/sandbox">Sandbox</a>改造的，暂时运行一段时间，继续修改、调整，等到基本稳定了，我可能会将它公布出来。需要提醒的是由于使用了透明背景的PNG图片，所以在IE6下本Theme将惨不忍睹，我强烈建议您改用<a href="http://www.mozilla.org.cn">Firefox</a>或升级到IE7 <img src='http://qianli.me/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://qianli.me/2007/06/a-new-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadleaf主题模版已知问题及解决办法</title>
		<link>http://qianli.me/2006/07/broadleaf-template-bugs-revised/</link>
		<comments>http://qianli.me/2006/07/broadleaf-template-bugs-revised/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 07:47:31 +0000</pubDate>
		<dc:creator>萧渔</dc:creator>
				<category><![CDATA[旧文]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[noteworthy]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tab-pane]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.championeer.ihackr.com/20060710/broadleaf-template-bugs-revised/</guid>
		<description><![CDATA[我将模版从以前的Binary Blue换成了现在的BroadLeaf，我很喜欢这个模版的布局和一些独特的想法： 使用home.php做首页，index.php用于搜索等，不使用管理界面的Option来设置主题参数，而使用data.php做配置文件，这样就不用对数据库写入任何内容 侧边栏（sidebar）可以选择是否在首页出现（我当然选择出现），主要用来输出asides类别中的文章，asides类别可以在data.php中设置 首页主体部分显示文章数可以通过data.php来控制，比如设置为2就是只显示两篇文章，但不会显示asides类别中的文章 首页主体部分下方显示最新文章摘要，同样可以控制数目，目前设置为4，也就是4篇最新文章的摘要，同样不包括asides类别中的文章 侧边栏和底栏都是单独的文件，可以自由定制，任意添加你想要的内容，扩展性非常好，比如我在侧边栏加入了Reading&#124;Listening动态列表，在单页底栏加入了Flickr和随机文章输出 使用了Ajax技术，比如Ajax commenting 该套主题还提供了所用图片的PSD源文件，你可以自己修改 &#8230;&#8230; 目前该主题已经更新到了1.4rc3版本，但还是存在一些问题，我所发现的比较严重的Bug有两个： 时区问题，通常情况下不会出现，但对于像我这样的身在中国而所使用的主机在美国的用户就会遇到了，即当服务器时区和Wordpress时区并不一致时，首页无法显示最新文章，解决方法见Broadleaf主题模版的时区问题修正。这个问题困扰了我很长时间，今天特意请教了天佑才明白原因所在，非常感谢天佑这个Wordpress高手！我也向模版作者Brendan建议修改一下他的源码，但他似乎还有所怀疑，需要再检查一下，所以如果你也使用这个主题，请自己动手吧:wink: 第二个问题比较容易解决，由于该模版使用data.php文件做配置文件，里面有模版需要使用的多个变量，因此在几个重要的模版文件中要将这个文件包含在内，否则会出现某些代码因未获得变量值而出错的情况，虽然这并不是很严重，但可能会让访客感到困惑，现在的问题就是Brendan在page.php和tags.php这两个页模版文件中遗漏了data.php文件，因此需要你自己加入，如下： &#60;?php get_header(); include (TEMPLATEPATH . “/data.php”); ?&#62; //红体部分就是需要添加的代码 Update1：将Reading&#124;Listening动态列表改成了Tab Pane的方式，仿照了该主题Comment部分的相关代码 Update2：模版作者Brendan今天更新了这个主题到1.5版，他使用了另外一种方法解决了时区问题，如下： &#60;?php $today = current_time('mysql', 1); //设置一个变量，得到服务器的当前时间 $myrecentposts = $wpdb->get_results( "SELECT DISTINCT * FROM $wpdb->posts, $wpdb->post2cat ". "WHERE post_date_gmt < '$today' ". //在此处进行比较 ...... 按天佑的说法，这两种方法只是在执行效率上有所区别，效果是相同的。 Update3：又发现一个CSS的浏览器兼容问题，在Firefox下一切正常，但在IE下sidebar右侧边缘的文字会被截去一部分，已经用!important这个语法解决了，详见：用!important解决CSS兼容性问题]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>我将模版从以前的<a href="http://4null4.de" rel="external">Binary Blue</a>换成了现在的<a href="http://www.smackfoo.com/themes/broadleaf/" rel="external">BroadLeaf</a>，我很喜欢这个模版的布局和一些独特的想法：</p>
<ul>
<li>使用home.php做首页，index.php用于搜索等，不使用管理界面的Option来设置主题参数，而使用data.php做配置文件，这样就不用对数据库写入任何内容</li>
<li>侧边栏（sidebar）可以选择是否在首页出现（我当然选择出现），主要用来输出asides类别中的文章，asides类别可以在data.php中设置</li>
<li>首页主体部分显示文章数可以通过data.php来控制，比如设置为2就是只显示两篇文章，但不会显示asides类别中的文章</li>
<li>首页主体部分下方显示最新文章摘要，同样可以控制数目，目前设置为4，也就是4篇最新文章的摘要，同样不包括asides类别中的文章</li>
<li>侧边栏和底栏都是单独的文件，可以自由定制，任意添加你想要的内容，扩展性非常好，比如我在侧边栏加入了<strong>Reading|Listening</strong>动态列表，在单页底栏加入了Flickr和随机文章输出</li>
<li>使用了Ajax技术，比如Ajax commenting</li>
<li>该套主题还提供了所用图片的PSD源文件，你可以自己修改</li>
<li>&#8230;&#8230;</li>
</ul>
<p><span id="more-236"></span></p>
<p>目前该主题已经更新到了1.4rc3版本，但还是存在一些问题，我所发现的比较严重的Bug有两个：</p>
<ul>
<li>时区问题，通常情况下不会出现，但对于像我这样的身在中国而所使用的主机在美国的用户就会遇到了，即当服务器时区和Wordpress时区并不一致时，首页无法显示最新文章，解决方法见<a href="http://snipplr.com/view/319/broadleaf14rc123/" rel="external">Broadleaf主题模版的时区问题修正</a>。这个问题困扰了我很长时间，今天特意请教了<a href="http://blog.tinyau.net" rel="external">天佑</a>才明白原因所在，<strong>非常感谢天佑这个Wordpress高手！</strong>我也向模版作者Brendan建议修改一下他的源码，但他似乎还有所怀疑，需要再检查一下，所以如果你也使用这个主题，请自己动手吧:wink:</li>
<li>第二个问题比较容易解决，由于该模版使用data.php文件做配置文件，里面有模版需要使用的多个变量，因此在几个重要的模版文件中要将这个文件包含在内，否则会出现某些代码因未获得变量值而出错的情况，虽然这并不是很严重，但可能会让访客感到困惑，现在的问题就是Brendan在<strong>page.php</strong>和<strong>tags.php</strong>这两个页模版文件中遗漏了data.php文件，因此需要你自己加入，如下：</li>
<p>&lt;?php get_header(); <font color="red">include (TEMPLATEPATH . “/data.php”);</font> ?&gt; //红体部分就是需要添加的代码</p>
</ul>
<p><strong>Update1：</strong>将Reading|Listening动态列表改成了<strong>Tab Pane</strong>的方式，仿照了该主题Comment部分的相关代码</p>
<p><strong>Update2：</strong>模版作者Brendan今天更新了这个主题到1.5版，他使用了另外一种方法解决了时区问题，如下：<br />
          <code><br />
            &lt;?php<br />
       <font color="red">$today = current_time('mysql', 1);</font> //设置一个变量，得到服务器的当前时间<br />
       $myrecentposts = $wpdb->get_results(<br />
        "SELECT DISTINCT * FROM $wpdb->posts, $wpdb->post2cat ".<br />
        <font color="red">"WHERE post_date_gmt < '$today' "</font>. //在此处进行比较<br />
                ......</code><br />
按天佑的说法，这两种方法只是在执行效率上有所区别，效果是相同的。</p>
<p><strong>Update3：</strong>又发现一个CSS的浏览器兼容问题，在Firefox下一切正常，但在IE下sidebar右侧边缘的文字会被截去一部分，已经用<font color="red">!important</font>这个语法解决了，详见：<a href="http://blog.techpush.com/solve-css-compatability-problem-with-important/" rel="external">用!important解决CSS兼容性问题</a></p>
]]></content:encoded>
			<wfw:commentRss>http://qianli.me/2006/07/broadleaf-template-bugs-revised/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>将Binary Blue主题升级到0.9.5</title>
		<link>http://qianli.me/2006/02/upgrade-binary-blue-to-095/</link>
		<comments>http://qianli.me/2006/02/upgrade-binary-blue-to-095/#comments</comments>
		<pubDate>Fri, 03 Feb 2006 15:29:34 +0000</pubDate>
		<dc:creator>萧渔</dc:creator>
				<category><![CDATA[旧文]]></category>
		<category><![CDATA[Binary-Blue]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.championeer.com:81/blog/20060203_100.html</guid>
		<description><![CDATA[作者CountZero又为Binary Blue这个主题增加了些新功能，而且速度似乎也变快了（可能优化了代码）。麻烦之处还是在汉化，作者提供的PO文件是将德文翻译为英文，我开始时是将其中的英文译为中文，但用到主题中却没有成功，显示出来的还是英文，莫名其妙，最后想了一个笨办法－首先将模板文件中相应的德文替换成英文，然后在PO文件中把英文译为中文，OK，这次终于成功了！ 该主题近几个版本的ChangeLog Version 0.9.5 ============= + added an option for a shorter display form of pingbacks and trackbacks + added support for authorcomment highlighting (no extra plugin needed) + added an option whether to hide the comment form after submitting a livecomment + added optional display of authorname in case there&#8217;s more than one [...]]]></description>
			<content:encoded><![CDATA[<p>作者<a href="http://www.4null4.de/" rel="external">CountZero</a>又为<a href="http://www.4null4.de/71/wp-theme-blue-binary/" rel="external">Binary Blue</a>这个主题增加了些新功能，而且速度似乎也变快了（可能优化了代码）。麻烦之处还是在汉化，作者提供的PO文件是将德文翻译为英文，我开始时是将其中的英文译为中文，但用到主题中却没有成功，显示出来的还是英文，莫名其妙，最后想了一个笨办法－<ins>首先将模板文件中相应的德文替换成英文，然后在PO文件中把英文译为中文，OK，这次终于成功了！</ins></p>
<h3>该主题近几个版本的ChangeLog</h3>
<table class="table">
<tr>
<td>
Version 0.9.5<br />
=============<br />
+ added an option for a shorter display form of pingbacks and trackbacks<br />
+ added support for authorcomment highlighting (no extra plugin needed)<br />
+ added an option whether to hide the comment form after submitting a livecomment<br />
+ added optional display of authorname in case there&#8217;s more than one author</p>
<p>Version 0.9.4<br />
=============<br />
+ version information is now upgraded automatically in the database<br />
+ exchanged lightbox JS with the even better Lightbox Plus solution by Takuya Otani (http://serennz.cool.ne.jp/sb/sp/lightbox/)<br />
+ comments section title will now only be displayed if commenting is enabled or there are comments in a post<br />
+ added full support for Kirk Montgomery&#8217;s WP-Sociable quick bookmarking tool (http://www.maxpower.ca/sociable/2006/01/26/)<br />
+ added full gravatars support (http://www.skippy.net/blog/2005/03/24/gravatars/)</p>
<p>Version 0.9.3<br />
=============<br />
+ exchanged “nice titles” script with a slightly modified version of a smarter solution by Dustin Diaz (http://www.dustindiaz.com/sweet-titles)<br />
+ added full scheme switcher support, based on Dustin Diaz&#8217; absolutely GREAT &#8216;Unobtrusive Degradable Style Sheet Switcher&#8217; (http://www.dustindiaz.com/udasss/)<br />
+ added some more different schemes for a better demonstration of the scheme switching facility<br />
+ enhanced english translation a little <img src='http://qianli.me/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Version 0.9.2<br />
=============<br />
+ small changes at several stylesheets<br />
+ added full support for the great Subscribe-to-Comments-Plugin of Mark Jaquith and Jennifer (http://txfx.net/code/wordpress/subscribe-to-comments/)<br />
+ added an additional optinal scheme, demonstrating lefthanded sidebar columns</p>
<p>Version 0.9.0<br />
=============<br />
+ changed several variables to defines for more security and fewer errors <img src='http://qianli.me/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
+ rebuilt options page; now Binary Blue doesn&#8217;t share its options with K2 anymore<br />
+ fixed lots of tiny errors<br />
+ added MIT license information into ZIP file<br />
+ added an option to switch off Dean Edwards&#8217; /IE7/ support through the admin panel<br />
+ added UTW support into theloop.php<br />
+ added ELA into 404 page displayed on search without any result<br />
+ added fully configurable nice title support (http://www.kryogenix.org/code/browser/nicetitle/)<br />
+ added a few more stylesheet rules for some yet unused elements<br />
+ put some additional code into ajax_comments.js to not longer embrace opera coz of its unability to display the phase()-effect correctly<br />
+ improved and extended english translation
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://qianli.me/2006/02/upgrade-binary-blue-to-095/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

