<?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; My Blog</title>
	<atom:link href="http://blog.upsuper.org/tag/my-blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.upsuper.org</link>
	<description>the place where there are some ghost appearing...</description>
	<lastBuildDate>Wed, 19 Oct 2011 13:21:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>关于博客定位的一点想法</title>
		<link>http://blog.upsuper.org/a-thought-of-the-position-of-this-blog/</link>
		<comments>http://blog.upsuper.org/a-thought-of-the-position-of-this-blog/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 03:06:09 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[随笔写写]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[My Blog]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=1102</guid>
		<description><![CDATA[今天看到我最初分的那些分类，突然开始思考，我的这个博客到底应该如何定位定位呢？ 纵观我现在的这个博客里的主题，很显然已经大规模偏向技术了，但最初我只是想把他当作一个个人博客，写什么都可以的博客。然而我现在已经把这个博客几乎变成了纯粹展示我技术探索的博客了，而生活相关的内容已经移到了校内网上面去。 前一段时间在构思一篇文章叫做“我不当 geek”（还没写），核心思想就是逃离现在这种高度 geek 化的社交状态。 现在想想觉得，这个博客既然是我的个人的博客，而且是数据完全掌握在我手上的博客，不受其他人支配的博客，我想我可以把我生活中的各种东西也同时复制到这里来留档。反正，其实我最早想的就是，我的博客是记录我自己的，写给自己看的。嗯…… 决定了，今天把校内上自认为写的很好的内容复制到这里来~]]></description>
			<content:encoded><![CDATA[<p>今天看到我最初分的那些分类，突然开始思考，我的这个博客到底应该如何定位定位呢？</p>
<p>纵观我现在的这个博客里的主题，很显然已经大规模偏向技术了，但最初我只是想把他当作一个个人博客，写什么都可以的博客。然而我现在已经把这个博客几乎变成了纯粹展示我技术探索的博客了，而生活相关的内容已经移到了校内网上面去。</p>
<p>前一段时间在构思一篇文章叫做“我不当 geek”（还没写），核心思想就是逃离现在这种高度 geek 化的社交状态。</p>
<p>现在想想觉得，这个博客既然是我的个人的博客，而且是数据完全掌握在我手上的博客，不受其他人支配的博客，我想我可以把我生活中的各种东西也同时复制到这里来留档。反正，其实我最早想的就是，我的博客是记录我自己的，写给自己看的。嗯……</p>
<p>决定了，今天把校内上自认为写的很好的内容复制到这里来~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/a-thought-of-the-position-of-this-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>upsuper.org 正式上线！</title>
		<link>http://blog.upsuper.org/upsuper-org-now-online/</link>
		<comments>http://blog.upsuper.org/upsuper-org-now-online/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 08:43:36 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[琐事杂谈]]></category>
		<category><![CDATA[My Blog]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=1079</guid>
		<description><![CDATA[经过一天的努力，从 upsuper.org.cn 到 upsuper.org 的迁移基本完成，同时换了一个新的皮肤，感觉相当不错~不过这个皮肤不支持 widget 让人很是不爽，还有就是一些小小的细节又修修补补了一番，基本上还是不错的了~不过友情链接暂时还没搞好，比较麻烦…… 订阅 feed 的稍稍注意一下，以后 feed 的地址全部改为 http://feed.feedsky.com/upsuper，不再使用 feed.upsuper.org.cn。除非 feedsky 倒闭了，否则不再变更…… 这个空间的访问速度还是不错的，很流畅，果然还是个很实惠的空间~不过偶尔也有那么一两下会很卡……然后继续，广告再发一遍：在此诚招空间合租者一位，无限空间无限流量，PHP、Python、Perl、RoR、CGI、CGI-BIN、MySQL、PgSQL 全功能 Linux 空间，可自定义 php.ini，提供域名对应的邮箱储存、邮箱别名服务，支持 POP3、IMAP、邮件列表，独立 FTP 管理，带免费自签名证书的 SSL 服务，含一个免费域名及一个独立 IP，3年共计525元RMB。有意者邮箱联系 quanxunzhen@gmail.com 然后把原来 upsuper.org.cn 里面的东西全部用 Rewrite 以 301 转移定向到这里的相应位置了，Google 的搜索应该很快也会转过来吧~ 通知的最后来一点技术的东西，转移用的 htaccess 代码： 1 2 3 RewriteEngine On RewriteCond %{HTTP_HOST} ^(.*)upsuper\.org\.cn$ RewriteRule ^(.*)$ http://%1upsuper.org/$1 [R=301] 话说，wp-codebox 升级以后自动改回去了，实在不爽。准备什么时候再自己动手把 wp-codebox 大改一番然后单独发布……]]></description>
			<content:encoded><![CDATA[<p>经过一天的努力，从 upsuper.org.cn 到 upsuper.org 的迁移基本完成，同时换了一个新的皮肤，感觉相当不错~不过这个皮肤不支持 widget 让人很是不爽，还有就是一些小小的细节又修修补补了一番，基本上还是不错的了~不过友情链接暂时还没搞好，比较麻烦……</p>
<p>订阅 feed 的稍稍注意一下，以后 feed 的地址全部改为 <a href="http://feed.feedsky.com/upsuper">http://feed.feedsky.com/upsuper</a>，不再使用 feed.upsuper.org.cn。除非 feedsky 倒闭了，否则不再变更……</p>
<p>这个空间的访问速度还是不错的，很流畅，果然还是个很实惠的空间~不过偶尔也有那么一两下会很卡……然后继续，广告再发一遍：<strong>在此诚招空间合租者一位，无限空间无限流量，PHP、Python、Perl、RoR、CGI、CGI-BIN、MySQL、PgSQL 全功能 Linux 空间，可自定义 php.ini，提供域名对应的邮箱储存、邮箱别名服务，支持 POP3、IMAP、邮件列表，独立 FTP 管理，带免费自签名证书的 SSL 服务，含一个免费域名及一个独立 IP，3年共计525元RMB。有意者邮箱联系 <a href="mailto:quanxunzhen@gmail.com">quanxunzhen@gmail.com</a></strong></p>
<p>然后把原来 upsuper.org.cn 里面的东西全部用 Rewrite 以 301 转移定向到这里的相应位置了，Google 的搜索应该很快也会转过来吧~<br />
<span id="more-1079"></span><br />
通知的最后来一点技术的东西，转移用的 htaccess 代码：</p>

<div class="wp_codebox"><table><tr id="p10792"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p1079code2"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">On</span>
<span style="color: #00007f;">RewriteCond</span> %{HTTP_HOST} ^(.*)upsuper\.org\.cn$
<span style="color: #00007f;">RewriteRule</span> ^(.*)$ http://%1upsuper.org/$<span style="color: #ff0000;">1</span> [R=<span style="color: #ff0000;">301</span>]</pre></td></tr></table></div>

<p>话说，wp-codebox 升级以后自动改回去了，实在不爽。准备什么时候再自己动手把 wp-codebox 大改一番然后单独发布……</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/upsuper-org-now-online/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>新空间</title>
		<link>http://blog.upsuper.org/my-new-web-space/</link>
		<comments>http://blog.upsuper.org/my-new-web-space/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 15:11:20 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[探究学习]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CGI]]></category>
		<category><![CDATA[My Blog]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[和谐]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=1069</guid>
		<description><![CDATA[由于某些众所周知的原因，我准备将空间搬到米国去了。由于另一个众所周知的原因，现在的域名也将很快停止使用。 我已经申请好了新的空间，近期可能就要搬过去了。先做个广告：在此诚招空间合租者一位，无限空间无限流量，PHP、Python、Perl、RoR、CGI、CGI-BIN、MySQL、PgSQL 全功能 Linux 空间，可自定义 php.ini，提供域名对应的邮箱储存、邮箱别名服务，支持 POP3、IMAP、邮件列表，独立 FTP 管理，带免费自签名证书的 SSL 服务，含一个免费域名及一个独立 IP，3年共计525元RMB。有意者邮箱联系 quanxunzhen@gmail.com 不过因为新空间还没摸索清楚，还在研究搬迁事宜。 下面讲讲今天的探索……这个新空间的 PHP 用了 CGI 的模式，而不是传统（或者说我熟悉的）PHP Module 的模式，而且作为 CGI 的 php 解析程序和 php.ini 配置文件也是放在网站的 cgi-bin 目录里面的，因此我怀疑可玩性很高，甚至可以自己编译 PHP 放上去用。不过这个空间有一个很麻烦的，就是不支持自动的泛域名匹配，这大大的不如现在的这个空间方便。不过经过一番研究，也并不是没有办法的。今天才算是第一次体会到了 Apache mod_rewrite 的强大！ 本来以为 rewrite 不能实现那样功能的，因为似乎 rewrite 不能把主机名弄进来匹配，结果发现我想错了。参考了一些 Apache 的官方资料，我发现 Apache 的官方文档里有一种很有趣的方式间接实现泛域名到子文件夹的匹配，大约是这个样子的： 1 2 3 4 RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.[^.]+\.host\.com$ RewriteRule ^(.+) %{HTTP_HOST}$1 [...]]]></description>
			<content:encoded><![CDATA[<p>由于某些众所周知的原因，我准备将空间搬到米国去了。由于另一个众所周知的原因，现在的域名也将很快停止使用。</p>
<p>我已经申请好了新的空间，近期可能就要搬过去了。先做个广告：<strong>在此诚招空间合租者一位，无限空间无限流量，PHP、Python、Perl、RoR、CGI、CGI-BIN、MySQL、PgSQL 全功能 Linux 空间，可自定义 php.ini，提供域名对应的邮箱储存、邮箱别名服务，支持 POP3、IMAP、邮件列表，独立 FTP 管理，带免费自签名证书的 SSL 服务，含一个免费域名及一个独立 IP，3年共计525元RMB。有意者邮箱联系 <a href="mailto:quanxunzhen@gmail.com">quanxunzhen@gmail.com</a></strong></p>
<p>不过因为新空间还没摸索清楚，还在研究搬迁事宜。<br />
<span id="more-1069"></span><br />
下面讲讲今天的探索……这个新空间的 PHP 用了 CGI 的模式，而不是传统（或者说我熟悉的）PHP Module 的模式，而且作为 CGI 的 php 解析程序和 php.ini 配置文件也是放在网站的 cgi-bin 目录里面的，因此我怀疑可玩性很高，甚至可以自己编译 PHP 放上去用。不过这个空间有一个很麻烦的，就是不支持自动的泛域名匹配，这大大的不如现在的这个空间方便。不过经过一番研究，也并不是没有办法的。今天才算是第一次体会到了 Apache mod_rewrite 的强大！</p>
<p>本来以为 rewrite 不能实现那样功能的，因为似乎 rewrite 不能把主机名弄进来匹配，结果发现我想错了。参考了一些 Apache 的官方资料，我发现 Apache 的官方文档里有一种很有趣的方式间接实现泛域名到子文件夹的匹配，大约是这个样子的：</p>

<div class="wp_codebox"><table><tr id="p10697"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p1069code7"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">on</span>
<span style="color: #00007f;">RewriteCond</span>   %{HTTP_HOST}                 ^www\.[^.]+\.host\.com$
<span style="color: #00007f;">RewriteRule</span>   ^(.+)                        %{HTTP_HOST}$<span style="color: #ff0000;">1</span>          [C]
<span style="color: #00007f;">RewriteRule</span>   ^www\.([^.]+)\.host\.com(.*) /home/$<span style="color: #ff0000;">1</span>$<span style="color: #ff0000;">2</span></pre></td></tr></table></div>

<p>惊叹于这种其实妙想！这个恐怕能实现的功能比那个 VirtualHost 的模块还要强大了吧~</p>
<p>不过这个代码似乎是不能用的囧……做一个适合的修改就发生 500 错误……经过思考，我想起了很早以前说过的，mod_rewrite 是会把修改过的网址再次注入 rewrite 的，因此如果这样那么这个网址可能会不断的经过这个 rewrite 过程，造成死循环，最后被 Apache 以 500 强制结束。</p>
<p>看来想在网站根目录下像现在这样搞是不行了……不过，办法总是有的，其实有的时候我觉得自己还是蛮聪明的~我就在根目录下建立了一个名叫 www 的文件夹，然后给出了下面这样的 .htaccess：</p>

<div class="wp_codebox"><table><tr id="p10698"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p1069code8"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">On</span>
<span style="color: #00007f;">RewriteCond</span> %{HTTP_HOST} ^[^\.]+\.upsuper\.org\.cn$
<span style="color: #00007f;">RewriteCond</span> %{REQUEST_URI} !^/www/
<span style="color: #00007f;">RewriteRule</span> ^(.*)$ %{HTTP_HOST}/$<span style="color: #ff0000;">1</span>
<span style="color: #00007f;">RewriteRule</span> ^([^\.]+)\.upsuper\.org\.cn/(.*)$ /www/$<span style="color: #ff0000;">1</span>/$<span style="color: #ff0000;">2</span></pre></td></tr></table></div>

<p>OK，现在已经非常正常了，网页可以正常访问了~不过新的问题再度出现！所有的 PHP 都显示 404 错误……我汗！404？！那个 PHP 明明在那里凭啥 404 呢？</p>
<p>后来在空间商的 FAQ 里面偶然看到，解析 PHP 用的东西储存在已经被我删掉的 cgi-bin 文件夹里面……呃……马上把所有内容删掉恢复原来的内容。然后再放上这个，还是 404……其中必有问题……那么问题一定出在 cgi-bin 文件夹上……难道 Apache 最后也要通过自己访问 CGI 接口？其实其中奥妙我也不是很了解，不过最后又加了一条针对 cgi-bin 的 rewrite 规则，成功解决。关于 Apache 和 PHP 通过 CGI 接口的机制看来还是很值得好好研究研究的嗯……下面是最后的代码：</p>

<div class="wp_codebox"><table><tr id="p10699"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p1069code9"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">On</span>
<span style="color: #00007f;">RewriteCond</span> %{HTTP_HOST} ^[^\.]+\.upsuper\.org\.cn$
<span style="color: #00007f;">RewriteCond</span> %{REQUEST_URI} !^/www/
<span style="color: #00007f;">RewriteCond</span> %{REQUEST_URI} !^/cgi-bin/
<span style="color: #00007f;">RewriteRule</span> ^(.*)$ %{HTTP_HOST}/$<span style="color: #ff0000;">1</span>
<span style="color: #00007f;">RewriteRule</span> ^([^\.]+)\.upsuper\.org\.cn/(.*)$ /www/$<span style="color: #ff0000;">1</span>/$<span style="color: #ff0000;">2</span></pre></td></tr></table></div>

<p>最后还有一个小小的问题，就是遇到找不到的 PHP，服务器虽然返回了 404 的头，不过显示的内容却是“No input file specified.”，而不是我指定的 404 页面（当然，IE 用户肯定什么都看不到，因为 IE 已经默认为他们准备好了一个“友好”的 404 页面）。这个虽然不是什么大问题，不过也还是很烦人的，有搜索了一番，最后在 rewrite 规则里面又加了两行解决问题：</p>

<div class="wp_codebox"><table><tr id="p106910"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p1069code10"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">RewriteCond</span> %{DOCUMENT_ROOT}/$<span style="color: #ff0000;">1</span> !-f
<span style="color: #00007f;">RewriteRule</span> ^(.*\.php)$ - [T=text/html]</pre></td></tr></table></div>

<p>稍微想一想肯定看出来，这个代码不是没有问题的，不过我想我应该不会遇到吧……嗯……</p>
<p>最后就是关于 php.ini，php.ini 里面不小心撇到了 mbstring 的设置，发现默认语言竟然是 Japanese……呃……马上改成了 Chinese，并且把下面的默认编码 EUC-JP 也改成了 EUC-CN，真是无语……不知道这个是 PHP 的默认配置，还是那个客服看我英语这么差以为我是日本人“帮”我设置的呢？</p>
<p>参考资料：</p>
<ul>
<li><a href="http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html">URL Rewriting Guide &#8211; Apache HTTP Server</a></li>
<li><a href="http://jenseng.com/archives/000035.html">“No input file specified” | jenseng.com</a> <a href="http://www.panuworld.net/">panuworld</a> 的回复</li>
</ul>
<p>还想讲一点买空间的事情。因为这个空间商支持支付宝，我就决定用支付宝。而且支付宝不是支持 Linux 么，很好的嘛。今天中午就跑到邮局去汇款给我很早以前申请了但一直没用的支付宝账户充钱。然后充完跑回来打开上网本登录支付宝充值……为什么要打开上网本？因为台机的 Arch Linux 已经把 Firefox 升级到了 3.6，而支付宝唯一支持 Linux 的插件，是不兼容 Firefox 3.6 的……幸好上网本的 Ubuntu 9.10 很乖巧的使用了 Firefox 3.5.8，还能用那个支付宝插件。很期待支付宝能快些支持 Firefox 3.6，这样我以后也可以网购了~这年头天朝的银行不厚道，几乎完全不支持我家 Linux……还是支付宝好嗯~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/my-new-web-space/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>给Blog加上了祝福banner</title>
		<link>http://blog.upsuper.org/blog-blessing-to-the-addition-of-the-earthquake-banner/</link>
		<comments>http://blog.upsuper.org/blog-blessing-to-the-addition-of-the-earthquake-banner/#comments</comments>
		<pubDate>Thu, 15 May 2008 05:05:08 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[琐事杂谈]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[My Blog]]></category>
		<category><![CDATA[地震]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=91</guid>
		<description><![CDATA[去网上搜索了一下那些祝福的banner，并且给我的Blog加上了随机banner。大家需要可以去我建立的专题临时站点下载。 我希望每个人都能多尽一点力！]]></description>
			<content:encoded><![CDATA[<p>去网上搜索了一下那些祝福的banner，并且给我的Blog加上了随机banner。大家需要可以去我建立的<a href="http://earthquake.upsuper.org/">专题临时站点</a>下载。</p>
<p>我希望每个人都能多尽一点力！</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/blog-blessing-to-the-addition-of-the-earthquake-banner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>通过了w3c认证</title>
		<link>http://blog.upsuper.org/certification-by-the-w3c/</link>
		<comments>http://blog.upsuper.org/certification-by-the-w3c/#comments</comments>
		<pubDate>Fri, 02 May 2008 13:21:30 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[雕虫小技]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[My Blog]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=84</guid>
		<description><![CDATA[今天给我的博客做了w3c认证。记得上次连Firefox里那个Web Developement的CSS测试都过不了，查一下，发现是wp-codebox插件里的一个用于IE Fix的代码Firefox不能正常识别，于是就在主CSS文件中去掉了这段，另建了一个叫ie-fix.css的文件，里面写上那个代码，再在wp-codebox的代码输出CSS引用的地方加上&#60;!&#8211;[if IE]&#62;&#8230;&#60;![endif]&#8211;&#62;，就通过了。 今天在w3c那边测，CSS是一次通过，不过有一些颜色使用上的警告，说有些颜色和背景色一致什么的……不过XHTML的测试就没那么好了，貌似错了8个地方，查一下发现又是wp-codebox！ 如果用wp-codebox的朋友，想要过w3c测试，就要改两个地方，都在其main.php文件中（下面两个都是修改后的）： 135 $output .=&#34;id=\&#34;l{$post-&#62;ID}{$codeid}\&#34;&#62;&#34;; 142 $output .= &#34;&#60;td class=\&#34;code\&#34; id=\&#34;code{$post-&#62;ID}{$codeid}\&#34;&#62;&#34;; 现在反正是通过了，通过的标志就在侧栏的Support里面。还是蛮开心的~]]></description>
			<content:encoded><![CDATA[<p>今天给我的博客做了w3c认证。记得上次连Firefox里那个Web Developement的CSS测试都过不了，查一下，发现是wp-codebox插件里的一个用于IE Fix的代码Firefox不能正常识别，于是就在主CSS文件中去掉了这段，另建了一个叫ie-fix.css的文件，里面写上那个代码，再在wp-codebox的代码输出CSS引用的地方加上&lt;!&#8211;[if IE]&gt;&#8230;&lt;![endif]&#8211;&gt;，就通过了。</p>
<p>今天在w3c那边测，CSS是一次通过，不过有一些颜色使用上的警告，说有些颜色和背景色一致什么的……不过XHTML的测试就没那么好了，貌似错了8个地方，查一下发现又是wp-codebox！<br />
<span id="more-84"></span><br />
如果用wp-codebox的朋友，想要过w3c测试，就要改两个地方，都在其main.php文件中（下面两个都是修改后的）：</p>

<div class="wp_codebox"><table><tr id="p8413"><td class="line_numbers"><pre>135
</pre></td><td class="code" id="p84code13"><pre class="php" style="font-family:monospace;">	<span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span><span style="color: #0000ff;">&quot;id=<span style="color: #000099; font-weight: bold;">\&quot;</span>l<span style="color: #006699; font-weight: bold;">{$post-&gt;ID}</span><span style="color: #006699; font-weight: bold;">{$codeid}</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>


<div class="wp_codebox"><table><tr id="p8414"><td class="line_numbers"><pre>142
</pre></td><td class="code" id="p84code14"><pre class="php" style="font-family:monospace;">  <span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;td class=<span style="color: #000099; font-weight: bold;">\&quot;</span>code<span style="color: #000099; font-weight: bold;">\&quot;</span> id=<span style="color: #000099; font-weight: bold;">\&quot;</span>code<span style="color: #006699; font-weight: bold;">{$post-&gt;ID}</span><span style="color: #006699; font-weight: bold;">{$codeid}</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>现在反正是通过了，通过的标志就在侧栏的Support里面。还是蛮开心的~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/certification-by-the-w3c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>终于找到了这个插件</title>
		<link>http://blog.upsuper.org/finally-found-the-plug-in/</link>
		<comments>http://blog.upsuper.org/finally-found-the-plug-in/#comments</comments>
		<pubDate>Thu, 01 May 2008 12:48:01 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[琐事杂谈]]></category>
		<category><![CDATA[My Blog]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[插件]]></category>
		<category><![CDATA[翻译]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=39</guid>
		<description><![CDATA[进过长期艰苦的查找（本来还想实在早不到的话自己写了的），终于找到了自动将Wordpress的文章缩略名自动翻译的插件了，那就是wp-slug，它可以自动通过Google自动翻译文章名。如果翻译失败还会自动转换为拼音。 大家可以到这里下载wp-slug 1.5，特别感谢偶爱偶家，真是好插件啊！]]></description>
			<content:encoded><![CDATA[<p>进过长期艰苦的查找（本来还想实在早不到的话自己写了的），终于找到了自动将Wordpress的文章缩略名自动翻译的插件了，那就是wp-slug，它可以自动通过Google自动翻译文章名。如果翻译失败还会自动转换为拼音。</p>
<p>大家可以到<a title="下载wp-slug-translate" href="http://blog.2i2j.com/being-humble-opinion/upgrade-wp-slug-translate-to-15-version.html" target="_blank">这里</a>下载wp-slug 1.5，特别感谢<a title="偶爱偶家" href="http://blog.2i2j.com/" target="_blank">偶爱偶家</a>，真是好插件啊！</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/finally-found-the-plug-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World! My new Space!</title>
		<link>http://blog.upsuper.org/hello-world-my-new-space/</link>
		<comments>http://blog.upsuper.org/hello-world-my-new-space/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 06:24:45 +0000</pubDate>
		<dc:creator>upsuper</dc:creator>
				<category><![CDATA[琐事杂谈]]></category>
		<category><![CDATA[My Blog]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[域名]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://blog.upsuper.org/?p=3</guid>
		<description><![CDATA[经过 Doggy 的推荐，选用了这个蛮便宜的主机。速度还是相当不错的，比当年的美国有广告的免费空间强多了。 不过一点遗憾是只支持一个域名，这样我就不能用我原来的upsuper.cn了，蛮可惜的。过一段时间把原来的日志精选转过来，再把upsuper.cn指到这里，o(∩_∩)o&#8230; 顺便测试一下代码高亮插件： C++: 1 2 3 4 5 6 #include &#60;iostream&#62; int main&#40;&#41; &#123; cout&#60;&#60;&#34;Hello World!&#34;; return 0; &#125; VB: 1 2 3 Sub Main() MsgBox(&#34;Hello World!&#34;) End Sub C#: 1 2 3 4 5 using System; int Main&#40;&#41; &#123; Console.WriteLine&#40;&#34;Hello World!&#34;&#41;; &#125; PHP: 1 2 3 &#60;?php echo &#34;Hello World!&#34;; ?&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>经过 Doggy 的推荐，选用了这个蛮便宜的主机。速度还是相当不错的，比当年的美国有广告的免费空间强多了。</p>
<p>不过一点遗憾是只支持一个域名，这样我就不能用我原来的upsuper.cn了，蛮可惜的。过一段时间把原来的日志精选转过来，再把upsuper.cn指到这里，o(∩_∩)o&#8230;</p>
<p><span id="more-3"></span></p>
<p>顺便测试一下代码高亮插件：</p>
<p>C++:</p>

<div class="wp_codebox"><table><tr id="p320"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p3code20"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include &lt;iostream&gt;</span>
<span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
 	<span style="color: #0000dd;">cout</span><span style="color: #000080;">&lt;&lt;</span><span style="color: #FF0000;">&quot;Hello World!&quot;</span><span style="color: #008080;">;</span>
 	<span style="color: #0000ff;">return</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>VB:</p>

<div class="wp_codebox"><table><tr id="p321"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p3code21"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Sub</span> Main()
	MsgBox(<span style="color: #800000;">&quot;Hello World!&quot;</span>)
<span style="color: #000080;">End</span> <span style="color: #000080;">Sub</span></pre></td></tr></table></div>

<p>C#:</p>

<div class="wp_codebox"><table><tr id="p322"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p3code22"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #6666cc; font-weight: bold;">int</span> Main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
	Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Hello World!&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>PHP:</p>

<div class="wp_codebox"><table><tr id="p323"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p3code23"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Hello World!&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>汇编:</p>

<div class="wp_codebox"><table><tr id="p324"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code" id="p3code24"><pre class="asm" style="font-family:monospace;">DSEG <span style="color: #000000; font-weight: bold;">SEGMENT</span>
	MSG <span style="color: #000000; font-weight: bold;">DB</span> <span style="color: #7f007f;">'Hello World!$'</span>
DSEG <span style="color: #000000; font-weight: bold;">ENDS</span>
&nbsp;
CSEG <span style="color: #000000; font-weight: bold;">SEGMENT</span>
	<span style="color: #000000; font-weight: bold;">ASSUME</span> <span style="color: #00007f;">CS</span><span style="color: #339933;">:</span>CSEG<span style="color: #339933;">,</span> <span style="color: #00007f;">DS</span><span style="color: #339933;">:</span>DSEG
START<span style="color: #339933;">:</span>
	<span style="color: #00007f; font-weight: bold;">MOV</span> <span style="color: #00007f;">AX</span><span style="color: #339933;">,</span> DSEG
	<span style="color: #00007f; font-weight: bold;">MOV</span> <span style="color: #00007f;">DS</span><span style="color: #339933;">,</span> <span style="color: #00007f;">AX</span>
	<span style="color: #00007f; font-weight: bold;">MOV</span> <span style="color: #00007f;">DX</span><span style="color: #339933;">,</span> <span style="color: #000000; font-weight: bold;">OFFSET</span> MSG
	<span style="color: #00007f; font-weight: bold;">MOV</span> <span style="color: #00007f;">AH</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">9</span>
	<span style="color: #00007f; font-weight: bold;">INT</span> <span style="color: #0000ff;">21H</span>
	<span style="color: #00007f; font-weight: bold;">MOV</span> <span style="color: #00007f;">AX</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">4C00H</span>
	<span style="color: #00007f; font-weight: bold;">INT</span> <span style="color: #0000ff;">21H</span>
CSEG <span style="color: #000000; font-weight: bold;">ENDS</span>
<span style="color: #000000; font-weight: bold;">END</span> START</pre></td></tr></table></div>

<p>经测试，本插件还是不错的，给大家推荐一下：<a href="http://wordpress.org/extend/plugins/wp-codebox/" target="_blank">wp-codebox</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.upsuper.org/hello-world-my-new-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

