﻿
<?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>My2jia&#039;s Blog</title>
	<atom:link href="http://my2jia.net/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://my2jia.net/blog</link>
	<description>又一个 WordPress 博客</description>
	<lastBuildDate>Thu, 20 May 2010 05:10:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>意义</title>
		<link>http://my2jia.net/blog/2010/05/%e6%84%8f%e4%b9%89.html</link>
		<comments>http://my2jia.net/blog/2010/05/%e6%84%8f%e4%b9%89.html#comments</comments>
		<pubDate>Thu, 20 May 2010 05:10:03 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[Blog杂记]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/2010/05/%e6%84%8f%e4%b9%89.html</guid>
		<description><![CDATA[1. 一年以后的你会在哪里？
2. 你真正热爱的事情是什么？
]]></description>
			<content:encoded><![CDATA[<p>1. 一年以后的你会在哪里？</p>
<p>2. 你真正热爱的事情是什么？</p>
]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2010/05/%e6%84%8f%e4%b9%89.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>真正指导你一生的道理</title>
		<link>http://my2jia.net/blog/2010/05/%e7%9c%9f%e6%ad%a3%e6%8c%87%e5%af%bc%e4%bd%a0%e4%b8%80%e7%94%9f%e7%9a%84%e9%81%93%e7%90%86.html</link>
		<comments>http://my2jia.net/blog/2010/05/%e7%9c%9f%e6%ad%a3%e6%8c%87%e5%af%bc%e4%bd%a0%e4%b8%80%e7%94%9f%e7%9a%84%e9%81%93%e7%90%86.html#comments</comments>
		<pubDate>Sat, 15 May 2010 06:01:21 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/?p=154</guid>
		<description><![CDATA[真正指导你一生的道理就那么几条：
1、勤俭；2、踏实；3、宽容；4、爱心；5、人为善；6、提防被骗；7、愿意放弃；8、梦想常在。
]]></description>
			<content:encoded><![CDATA[<p>真正指导你一生的道理就那么几条：<br />
1、勤俭；2、踏实；3、宽容；4、爱心；5、人为善；6、提防被骗；7、愿意放弃；8、梦想常在。</p>
]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2010/05/%e7%9c%9f%e6%ad%a3%e6%8c%87%e5%af%bc%e4%bd%a0%e4%b8%80%e7%94%9f%e7%9a%84%e9%81%93%e7%90%86.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>蹦极之温州乐园</title>
		<link>http://my2jia.net/blog/2010/02/%e8%b9%a6%e6%9e%81%e4%b9%8b%e6%b8%a9%e5%b7%9e%e4%b9%90%e5%9b%ad.html</link>
		<comments>http://my2jia.net/blog/2010/02/%e8%b9%a6%e6%9e%81%e4%b9%8b%e6%b8%a9%e5%b7%9e%e4%b9%90%e5%9b%ad.html#comments</comments>
		<pubDate>Sat, 20 Feb 2010 12:06:39 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[Blog杂记]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/2010/02/%e8%b9%a6%e6%9e%81%e4%b9%8b%e6%b8%a9%e5%b7%9e%e4%b9%90%e5%9b%ad.html</guid>
		<description><![CDATA[终于尝试了蹦极的滋味，虽说不是绑住双脚的那种（绳子是寄在腰上的），但站在55米的高空往下跳那绝对是刺激！
]]></description>
			<content:encoded><![CDATA[<p>终于尝试了蹦极的滋味，虽说不是绑住双脚的那种（绳子是寄在腰上的），但站在55米的高空往下跳那绝对是刺激！</p>
]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2010/02/%e8%b9%a6%e6%9e%81%e4%b9%8b%e6%b8%a9%e5%b7%9e%e4%b9%90%e5%9b%ad.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>本命年</title>
		<link>http://my2jia.net/blog/2010/02/%e6%9c%ac%e5%91%bd%e5%b9%b4.html</link>
		<comments>http://my2jia.net/blog/2010/02/%e6%9c%ac%e5%91%bd%e5%b9%b4.html#comments</comments>
		<pubDate>Fri, 19 Feb 2010 01:08:06 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[Blog杂记]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/2010/02/%e6%9c%ac%e5%91%bd%e5%b9%b4.html</guid>
		<description><![CDATA[穿了一身红——红,红,红…
]]></description>
			<content:encoded><![CDATA[<p>穿了一身红——红,红,红…</p>
]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2010/02/%e6%9c%ac%e5%91%bd%e5%b9%b4.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>新年快乐</title>
		<link>http://my2jia.net/blog/2010/02/%e6%96%b0%e5%b9%b4%e5%bf%ab%e4%b9%90.html</link>
		<comments>http://my2jia.net/blog/2010/02/%e6%96%b0%e5%b9%b4%e5%bf%ab%e4%b9%90.html#comments</comments>
		<pubDate>Sat, 13 Feb 2010 13:32:25 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/?p=150</guid>
		<description><![CDATA[Happy new year!
]]></description>
			<content:encoded><![CDATA[<p>Happy new year!</p>
]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2010/02/%e6%96%b0%e5%b9%b4%e5%bf%ab%e4%b9%90.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#039;s you</title>
		<link>http://my2jia.net/blog/2010/02/its-you.html</link>
		<comments>http://my2jia.net/blog/2010/02/its-you.html#comments</comments>
		<pubDate>Sat, 13 Feb 2010 09:08:52 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/?p=148</guid>
		<description><![CDATA[It's you.
]]></description>
			<content:encoded><![CDATA[<p>It's you.</p>
]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2010/02/its-you.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用手机写篇日志</title>
		<link>http://my2jia.net/blog/2010/01/%e7%94%a8%e6%89%8b%e6%9c%ba%e5%86%99%e7%af%87%e6%97%a5%e5%bf%97.html</link>
		<comments>http://my2jia.net/blog/2010/01/%e7%94%a8%e6%89%8b%e6%9c%ba%e5%86%99%e7%af%87%e6%97%a5%e5%bf%97.html#comments</comments>
		<pubDate>Sun, 24 Jan 2010 05:43:05 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[Blog杂记]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/2010/01/%e7%94%a8%e6%89%8b%e6%9c%ba%e5%86%99%e7%af%87%e6%97%a5%e5%bf%97.html</guid>
		<description><![CDATA[给blog装了个wp-t-wap插件,可以在手机上发日志了。
]]></description>
			<content:encoded><![CDATA[<p>给blog装了个wp-t-wap插件,可以在手机上发日志了。</p>
]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2010/01/%e7%94%a8%e6%89%8b%e6%9c%ba%e5%86%99%e7%af%87%e6%97%a5%e5%bf%97.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>试用yegle的vpn</title>
		<link>http://my2jia.net/blog/2010/01/try-yegle-vp.html</link>
		<comments>http://my2jia.net/blog/2010/01/try-yegle-vp.html#comments</comments>
		<pubDate>Sat, 23 Jan 2010 08:45:09 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[网络]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/?p=135</guid>
		<description><![CDATA[试用yegle的vpn]]></description>
			<content:encoded><![CDATA[<p>google退出的风波使my2jia不得不考虑以后上网的种种不便。youtube不能访问了，还有youku可以有；twitter不能上，还有人人网。没有了google(当然只是谷歌不在，而google将只能站在墙外)，my2jia还是不会用百度的。</p>
<p>所以要给自己留条翻过强（不是错别字）的梯子，翻出以前留在电脑中车仑子的工具，不得不感叹祖国的科技水平，都不能用了。</p>
<p>无奈google中找到了vpn这一条途径，第一感觉要找个免费的用下，可现在网上这类免费的资源少之又少。最后在<a href="http://yegle.net">yegle.net</a>里找到了一个月只要￥20的vpn。</p>
<p>终于又体验到了网络的自由。</p>
]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2010/01/try-yegle-vp.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>在php中实现页面不被缓存</title>
		<link>http://my2jia.net/blog/2010/01/no-cache-in-ph.html</link>
		<comments>http://my2jia.net/blog/2010/01/no-cache-in-ph.html#comments</comments>
		<pubDate>Fri, 01 Jan 2010 08:42:41 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[编程]]></category>
		<category><![CDATA[网络]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/?p=115</guid>
		<description><![CDATA[PHP scripts often generate dynamic content that must not be cached by the client browser or any proxy caches between the server and the client browser. Many proxies and clients can be forced to disable caching with:

1
2
3
4
&#60;?php
header&#40;&#34;Cache-Control: no-cache, must-revalidate&#34;&#41;; // HTTP/1.1
header&#40;&#34;Expires: Sat, 26 Jul 1997 05:00:00 GMT&#34;&#41;; // Date in the past
?&#62;

Note: You may find [...]]]></description>
			<content:encoded><![CDATA[<p>PHP scripts often generate dynamic content that must not be cached by the client browser or any proxy caches between the server and the client browser. Many proxies and clients can be forced to disable caching with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Cache-Control: no-cache, must-revalidate&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// HTTP/1.1</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Expires: Sat, 26 Jul 1997 05:00:00 GMT&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Date in the past</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p><strong>Note:</strong> You may find that your pages aren't cached even if you don't output all of the headers above. There are a number of options that users may be able to set for their browser that change its default caching behavior. By sending the headers above, you should override any settings that may otherwise cause the output of your script to be cached. </p>
<p>Additionally, session_cache_limiter() and the session.cache_limiter configuration setting can be used to automatically generate the correct caching-related headers when sessions are being used. </p>
<p>与它等效的ASP：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;%</span>
<span style="color: #990099; font-weight: bold;">response</span>.<span style="color: #330066;">expires</span><span style="color: #006600; font-weight: bold;">=</span>-<span style="color: #800000;">1</span>
<span style="color: #000000; font-weight: bold;">%&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2010/01/no-cache-in-ph.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>推荐WordPress的代码高亮显示插件--WP-Syntax</title>
		<link>http://my2jia.net/blog/2009/12/wordpress-plugin-for-syntaxwp-syntax.html</link>
		<comments>http://my2jia.net/blog/2009/12/wordpress-plugin-for-syntaxwp-syntax.html#comments</comments>
		<pubDate>Mon, 28 Dec 2009 13:05:09 +0000</pubDate>
		<dc:creator>my2jia</dc:creator>
				<category><![CDATA[Blog杂记]]></category>
		<category><![CDATA[编程]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://my2jia.net/blog/?p=88</guid>
		<description><![CDATA[搜索了些WordPress的代码高亮显示插件，发现还是WP-Syntax比较合我的意]]></description>
			<content:encoded><![CDATA[<p>因为要经常写些代码相关的文章，所以就想让代码在Blog中显示得漂亮点。搜索了些WordPress的代码高亮显示插件，发现还是<a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a>比较合我的意。<br />
看看效果</p>
<p>输入如下代码：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;pre lang=&quot;c&quot; line=&quot;1&quot;&gt;
#include&lt;stdio.h&gt;
int main(void)
{
  return 0;
}
&lt;/pre&gt;</pre></td></tr></table></div>

<p>显示如下：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include&lt;stdio.h&gt;</span>
<span style="color: #993333;">int</span> main<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>&lt;pre lang="c" line="1"&gt;中的lang表示你的代码显示风格：C、HTML、ruby等等；line="1"表示显示行号，line="0"则不显示。</p>
<p>如果代码中包含转义字符串，要确显示字符，就要加上escaped="true"这个参数。</p>
<p>如输入以下代码：<br />
<code>&lt;pre lang="xml" escaped="true"&gt;<br />
&amp;lt;xml&amp;gt;Hello&amp;lt;/xml&amp;gt;<br />
&lt;/pre&gt;<br />
</code><br />
显示结果为：</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xml<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Hello<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xml<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>WP-Syntax支持下列格示：</p>
<p>abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, avisynth, bash, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cil, cfdg, cfm, cmake, cobol, cpp-qt, cpp, csharp, css, d, dcs, delphi, diff, div, dos, dot, eiffel, email, erlang, fo, fortran, freebasic, genero, gettext, glsl, gml, bnuplot, groovy, haskell, hq9plus, html4strict, idl, ini, inno, intercal, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, locobasic, lolcode lotusformulas, lotusscript, lscript, lsl2, lua, m68k, make, matlab, mirc, modula3, mpasm, mxml, mysql, nsis, oberon2, objc, ocaml-brief, ocaml, oobas, oracle11, oracle8, pascal, per, pic16, pixelbender, perl, php-brief, php, plsql, povray, powershell, progress, prolog, properties, providex, python, qbasic, rails, rebol, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xml, xorg_conf, xpp, z80</p>
]]></content:encoded>
			<wfw:commentRss>http://my2jia.net/blog/2009/12/wordpress-plugin-for-syntaxwp-syntax.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
