<?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; javascript</title>
	<atom:link href="http://zhiqiang.org/blog/tag/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://zhiqiang.org/blog</link>
	<description>数学、金融、计算机</description>
	<lastBuildDate>Wed, 23 May 2012 08:37:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>innerHTML只读问题 &amp; 两个动态修改Table的js函数</title>
		<link>http://zhiqiang.org/blog/it/innerhtml-2-cd-issue-dynamic-modification-table-function-of-js.html</link>
		<comments>http://zhiqiang.org/blog/it/innerhtml-2-cd-issue-dynamic-modification-table-function-of-js.html#comments</comments>
		<pubDate>Wed, 25 Jul 2007 04:06:58 +0000</pubDate>
		<dc:creator>zhiqiang</dc:creator>
				<category><![CDATA[IT技术]]></category>
		<category><![CDATA[innerHTML]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[网页技术]]></category>

		<guid isPermaLink="false">http://zhiqiang.org/blog/627.html</guid>
		<description><![CDATA[博客 » IT技术 » innerHTML，javascript，table，网页技术 » 最近做社会实践项目遇到的一个问题，需要动态修改一个表格。本来以为要想修改一行，直接设置新的 tr.innerHTML即可。后来发现在Firefox下可行，但在IE下通不过，查看了一下帮助，才发现innerHTML还没有一个通用标准，而在IE下innerHTML对于标签为COL, COLGROUP, FRAMESET, HTML, STYLE, TABLE, TBODY, TFOOT, THEAD, TITLE, TR的元素是只读的。要想...]]></description>
			<content:encoded><![CDATA[<p id="breadcrumb" class="breadcrumb"><a href="http://zhiqiang.org/blog/">博客</a> » <a href="http://zhiqiang.org/blog/category/it">IT技术</a> » <a href="http://zhiqiang.org/blog/tag/innerhtml" rel="tag">innerHTML</a>，<a href="http://zhiqiang.org/blog/tag/javascript" rel="tag">javascript</a>，<a href="http://zhiqiang.org/blog/tag/table" rel="tag">table</a>，<a href="http://zhiqiang.org/blog/tag/%e7%bd%91%e9%a1%b5%e6%8a%80%e6%9c%af" rel="tag">网页技术</a> » </p><p>最近做社会实践项目遇到的一个问题，需要动态修改一个表格。本来以为要想修改一行，直接设置新的 tr.innerHTML即可。后来发现在Firefox下可行，但在IE下通不过，查看了一下帮助，才发现innerHTML还没有一个通用标准，而在IE下<strong>innerHTML</strong>对于标签为COL, COLGROUP, FRAMESET, HTML, STYLE, TABLE, TBODY, TFOOT, THEAD, TITLE, TR的元素是<strong>只读</strong>的。要想在IE下动态修改表格，只能使用insertRow和insertCell;</p>
<p>下面这个函数往表格<strong>i</strong>里添加一行，此行的HTML代码为<strong>t。</strong></p>
<blockquote><pre><span style="color: #008000">// insert a row with HTML code t to table i; </span>
<span style="color: #008000">// t: the full HTML code of the row</span>
<span style="color: #008000">// i : the table element</span>
<span style="color: #008000">// Return the row added</span>
<span style="color: #0000ff">function</span> addRow(t, i) {
	<span style="color: #0000ff">if</span> (<span style="color: #0000ff">typeof</span>(i) == "<span style="color: #8b0000">string</span>")	i = <span style="color: #0000ff">document</span>.getElementById(i);

	<span style="color: #0000ff">var</span> f = t.indexOf('&gt;'), l = t.lastIndexOf('&lt;/'),
		tag = t.substr(l+2, t.<span style="color: #0000ff">length</span>-l-3), e;

	<span style="color: #0000ff">if</span> (tag == 'tr') e = i.insertRow(-1);
	<span style="color: #0000ff">else</span> {
		e = <span style="color: #0000ff">document</span>.createElement(tag);
		i.appendChild(e, i);
		e.innerHTML = t.substr(f+1, l-f-1);
	}

	s = t.substr(1, f-1).split(' ');
	<span style="color: #0000ff">for</span> (i=0; i&lt;s.<span style="color: #0000ff">length</span>; i++) {
		ss = s[i].split('=');
		<span style="color: #0000ff">if</span> (ss.<span style="color: #0000ff">length</span>==1) <span style="color: #0000ff">continue</span>;
		e.setAttribute(ss[0], strip(ss[1]));
	}

	ti = t.substr(f+1, l-f-1);
	<span style="color: #0000ff">if</span> (t.substr(l+2, t.<span style="color: #0000ff">length</span>-l-3) == 'tr') {
		<span style="color: #0000ff">var</span> tf;
		<span style="color: #0000ff">while</span>( (tf = ti.indexOf("<span style="color: #8b0000">&lt;td&gt;</span>")) != -1) {
			ti = ti.substr(tf+4, ti.<span style="color: #0000ff">length</span>-tf-4);
			<span style="color: #0000ff">var</span> te = e.insertCell(-1);
			tl = ti.indexOf("<span style="color: #8b0000">&lt;/td&gt;</span>");
			te.innerHTML = ti.substr(0, tl);
			ti = ti.substr(tl, ti.<span style="color: #0000ff">length</span>-tl);
		}
	} 

	<span style="color: #0000ff">return</span> e;

	<span style="color: #0000ff">function</span> strip(ss) {
		<span style="color: #0000ff">if</span> (ss[0]=='\''|| ss[0] == "<span style="color: #8b0000">\"</span>")
			<span style="color: #0000ff">return</span> ss.substr(1, ss.<span style="color: #0000ff">length</span>-2);
	}
}</pre>
</blockquote>
<p>下面这个函数将表格的<strong>i</strong>行改写为代码<strong>t：</strong> </p>
<blockquote><pre><span style="color: #008000">// modify row i with row of HTML code t</span>
<span style="color: #008000">// t: HTML code </span>
<span style="color: #008000">// i: the row element, get by table.rows[row_index]</span>
<span style="color: #008000">// return the row modified</span>
<span style="color: #0000ff">function</span> modifyRow(t, i) {
	<span style="color: #0000ff">var</span> f = t.indexOf('&gt;'), l = t.lastIndexOf('&lt;/'),
		tag = t.substr(l+2, t.<span style="color: #0000ff">length</span>-l-3), e;

	<span style="color: #0000ff">if</span> (tag == 'tr') e = i;
	<span style="color: #0000ff">else</span> {
		e = <span style="color: #0000ff">document</span>.createElement(tag);
		i.appendChild(e, i);
		e.innerHTML = t.substr(f+1, l-f-1);
	}

	s = t.substr(1, f-1).split(' ');
	<span style="color: #0000ff">for</span> (i=0; i&lt;s.<span style="color: #0000ff">length</span>; i++) {
		ss = s[i].split('=');
		<span style="color: #0000ff">if</span> (ss.<span style="color: #0000ff">length</span>==1) <span style="color: #0000ff">continue</span>;
		e.setAttribute(ss[0], strip(ss[1]));
	}

	<span style="color: #0000ff">var</span> ti = t.substr(f+1, l-f-1), ri = 0;
	<span style="color: #0000ff">if</span> (t.substr(l+2, t.<span style="color: #0000ff">length</span>-l-3) == 'tr') {
		<span style="color: #0000ff">var</span> tf;
		<span style="color: #0000ff">while</span> ( (tf = ti.indexOf("<span style="color: #8b0000">&lt;td&gt;</span>")) != -1 ) {
			ti = ti.substr(tf+4, ti.<span style="color: #0000ff">length</span>-tf-4);
			<span style="color: #0000ff">var</span> te;
			<span style="color: #0000ff">if</span> (e.cells.<span style="color: #0000ff">length</span> &lt;= ri)	te = e.insertCell(-1);
			<span style="color: #0000ff">else</span> te = e.cells[ri];
			ri++;
			tl = ti.indexOf("<span style="color: #8b0000">&lt;/td&gt;</span>");
			te.innerHTML = ti.substr(0, tl);
			ti = ti.substr(tl, ti.<span style="color: #0000ff">length</span>-tl);
		}
	} 

	<span style="color: #0000ff">return</span> e;

	<span style="color: #0000ff">function</span> strip(ss) {
		<span style="color: #0000ff">if</span> (ss[0]=='\''|| ss[0] == "<span style="color: #8b0000">\"</span>")
			<span style="color: #0000ff">return</span> ss.substr(1, ss.<span style="color: #0000ff">length</span>-2);
	}
}</pre>
</blockquote>
<p>[tags]javascript, innerHTML, table[/tags]</p>
<div><h4>相关文章</h4><ul><li class='currentpost'><a href="http://zhiqiang.org/blog/it/innerhtml-2-cd-issue-dynamic-modification-table-function-of-js.html">innerHTML只读问题 &amp; 两个动态修改Table的js函数</a></li><li ><a href="http://zhiqiang.org/blog/it/dreamhost-on-gzip-cache.html">Dreamhost上的GZIP &#038; Cache</a></li><li ><a href="http://zhiqiang.org/blog/it/speedup-website-with-css-sprites.html">用CSS Sprites让网站再加速</a></li><li ><a href="http://zhiqiang.org/blog/it/speedup-blog-about-javascript-css.html">加速blog：关于javascript(css)</a></li><li ><a href="http://zhiqiang.org/blog/it/speedup-blog-about-images.html">加速blog：处理页面图片</a></li></ul></div>    <p></p>
    <hr noshade style="margin:0;height:1px" />
    <p>&copy; zhiqiang for <a href="http://zhiqiang.org/blog">阅微堂</a>, 2007. | <a href="http://zhiqiang.org/blog/it/innerhtml-2-cd-issue-dynamic-modification-table-function-of-js.html">&#38142;&#25509;</a> | <a href="http://zhiqiang.org/blog/it/innerhtml-2-cd-issue-dynamic-modification-table-function-of-js.html#comments">3 &#26465;&#35780;&#35770;</a></p>]]></content:encoded>
			<wfw:commentRss>http://zhiqiang.org/blog/it/innerhtml-2-cd-issue-dynamic-modification-table-function-of-js.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dreamhost上的GZIP &amp; Cache</title>
		<link>http://zhiqiang.org/blog/it/dreamhost-on-gzip-cache.html</link>
		<comments>http://zhiqiang.org/blog/it/dreamhost-on-gzip-cache.html#comments</comments>
		<pubDate>Sun, 01 Apr 2007 11:09:54 +0000</pubDate>
		<dc:creator>zhiqiang</dc:creator>
				<category><![CDATA[IT技术]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[GZIP]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://zhiqiang.org/blog/553.html</guid>
		<description><![CDATA[博客 » IT技术 » Cache，css，Dreamhost，GZIP，javascript » 用WordPress的都知道，WordPress可以打开GZIP传输，压缩比率能达到60%到80%。下表是本blog首页在Web Page Analyzer上的测试报告，此页面上包括css, js所有东西加起来才14K。 QTY SIZE# TYPE URL 1 6999 HTML http://zhiqiang.org/blog/ 1 2593 SCRIPT http://zhiqiang.org/blog/.../comment.js.php 1 2302 SCRIPT http://zhiqiang.org/.../all.js.php 1 2048 CSS http://zhiqiang.org/.../style.css.php 1 43...]]></description>
			<content:encoded><![CDATA[<p id="breadcrumb" class="breadcrumb"><a href="http://zhiqiang.org/blog/">博客</a> » <a href="http://zhiqiang.org/blog/category/it">IT技术</a> » <a href="http://zhiqiang.org/blog/tag/cache" rel="tag">Cache</a>，<a href="http://zhiqiang.org/blog/tag/css" rel="tag">css</a>，<a href="http://zhiqiang.org/blog/tag/dreamhost" rel="tag">Dreamhost</a>，<a href="http://zhiqiang.org/blog/tag/gzip" rel="tag">GZIP</a>，<a href="http://zhiqiang.org/blog/tag/javascript" rel="tag">javascript</a> » </p><p>用WordPress的都知道，WordPress可以打开GZIP传输，压缩比率能达到60%到80%。下表是本<a href="http://zhiqiang.org/blog/">blog首页</a>在<a href="http://www.websiteoptimization.com/services/analyze/index.html" target="_blank">Web Page Analyzer</a>上的测试报告，此页面上包括css, js<strong>所有东西</strong>加起来才<strong>14K。</strong></p>
<p align="center">
<table class="t" border="1">
<tbody>
<tr>
<th>QTY</th>
<th>SIZE#</th>
<th>TYPE</th>
<th>URL</th>
</tr>
<tr>
<td nowrap>1 </td>
<td nowrap>6999 </td>
<td nowrap>HTML </td>
<td nowrap><a href="http://zhiqiang.org/blog/">http://zhiqiang.org/blog/</a> </td>
</tr>
<tr>
<td nowrap>1 </td>
<td nowrap>2593 </td>
<td nowrap>SCRIPT </td>
<td nowrap><a href="http://zhiqiang.org/blog/wp-content/plugins/ajaxcomment/comment.js.php">http://zhiqiang.org/blog/.../comment.js.php</a> </td>
</tr>
<tr>
<td nowrap>1 </td>
<td nowrap>2302 </td>
<td nowrap>SCRIPT </td>
<td nowrap><a href="http://zhiqiang.org/blog/jscript/all.js.php">http://zhiqiang.org/.../all.js.php</a> </td>
</tr>
<tr>
<td nowrap>1 </td>
<td nowrap>2048 </td>
<td nowrap>CSS </td>
<td nowrap><a href="http://zhiqiang.org/blog/wp-content/themes/phoenixblue2/style.css.php">http://zhiqiang.org/.../style.css.php</a> </td>
</tr>
<tr>
<td nowrap>1 </td>
<td nowrap>431 </td>
<td nowrap>IMG </td>
<td nowrap><a href="http://feeds.feedburner.com/%7Efc/zhiqiang?bg=99CCFF&#038;ampfg=444444&#038;ampanim=0">http://feeds.feedburner.com/~fc/zhiqiang</a> </td>
</tr>
<tr>
<td nowrap>5 ^ </td>
<td nowrap>14373* </td>
<td> </td>
<td>Total (^unique objects)</td>
</tr>
</tbody>
</table>
<p>Dreamhost还用的是Apache 1.3(Am I wrong？)，所以没有mod_deflate模块，而用的是mod_gzip模块，这个模块直接在磁盘上读写，效率比前者要低。不过有总比没有好，毕竟压缩比率很高。</p>
<p>但诡异的是，服务器默认对CSS和JS不作压缩。写信去问了dreamhost客服，也没有什么好方法。最后我采用的方法是用php给包一层：用style.css.php来代替style.css：</p>
<blockquote><pre><span style="color: #0000ff">&lt;?</span>php <span style="color: #008000"># this is the file style.css.php, who contains style.css</span>
<span style="color: #008000"># set the request file name</span>
$<a style="color: #ffa500" href="http://cn.php.net/manual/en/function.file.php">file</a>="<span style="color: #8b0000">style.css</span>";

<span style="color: #008000"># Set Expires, cache the file on the browse</span>
<span style="color: #008000"># Delete it if you don't want it</span>
<a style="color: #ffa500" href="http://cn.php.net/manual/en/function.header.php">header</a>("<span style="color: #8b0000">Expires:</span>".<a style="color: #ffa500" href="http://cn.php.net/gmdate">gmdate</a>("<span style="color: #8b0000">D, d M Y H:i:s</span>", <a style="color: #ffa500" href="http://cn.php.net/time">time</a>()+15360000)."<span style="color: #8b0000">GMT</span>");
<a style="color: #ffa500" href="http://cn.php.net/manual/en/function.header.php">header</a>("<span style="color: #8b0000">Cache-Control: max-age=315360000</span>");

<span style="color: #008000"># set the last modified time</span>
$mtime = <a style="color: #ffa500" href="http://cn.php.net/filemtime">filemtime</a>($<a style="color: #ffa500" href="http://cn.php.net/manual/en/function.file.php">file</a>);
$gmt_mtime = <a style="color: #ffa500" href="http://cn.php.net/gmdate">gmdate</a>('<span style="color: #8b0000">D, d M Y H:i:s</span>', $mtime) . '<span style="color: #8b0000"> GMT</span>';
<a style="color: #ffa500" href="http://cn.php.net/manual/en/function.header.php">header</a>("<span style="color: #8b0000">Last-Modified:</span>" . $gmt_mtime);

<span style="color: #008000"># output a mediatype header</span>
$ext = <a style="color: #ffa500" href="http://cn.php.net/array_pop">array_pop</a>(<a style="color: #ffa500" href="http://cn.php.net/explode">explode</a>('<span style="color: #8b0000">.</span>', $<a style="color: #ffa500" href="http://cn.php.net/manual/en/function.file.php">file</a>));
<a style="color: #0000ff" href="http://cn.php.net/manual/en/control-structures.switch.php">switch</a> ($ext){
<a style="color: #0000ff" href="http://cn.php.net/manual/en/control-structures.switch.php">case</a> '<span style="color: #8b0000">css</span>':
 <a style="color: #ffa500" href="http://cn.php.net/manual/en/function.header.php">header</a>("<span style="color: #8b0000">Content-type: text/css</span>");
 <a style="color: #0000ff" href="http://cn.php.net/break">break</a>;
<a style="color: #0000ff" href="http://cn.php.net/manual/en/control-structures.switch.php">case</a> '<span style="color: #8b0000">js</span>' :
 <a style="color: #ffa500" href="http://cn.php.net/manual/en/function.header.php">header</a>("<span style="color: #8b0000">Content-type: text/javascript</span>");
 <a style="color: #0000ff" href="http://cn.php.net/break">break</a>;
<a style="color: #0000ff" href="http://cn.php.net/manual/en/control-structures.switch.php">case</a> '<span style="color: #8b0000">gif</span>':
 <a style="color: #ffa500" href="http://cn.php.net/manual/en/function.header.php">header</a>("<span style="color: #8b0000">Content-type: image/gif</span>");
 <a style="color: #0000ff" href="http://cn.php.net/break">break</a>;
<a style="color: #0000ff" href="http://cn.php.net/manual/en/control-structures.switch.php">case</a> '<span style="color: #8b0000">jpg</span>':
 <a style="color: #ffa500" href="http://cn.php.net/manual/en/function.header.php">header</a>("<span style="color: #8b0000">Content-type: image/jpeg</span>");
 <a style="color: #0000ff" href="http://cn.php.net/break">break</a>;
<a style="color: #0000ff" href="http://cn.php.net/manual/en/control-structures.switch.php">case</a> '<span style="color: #8b0000">png</span>':
 <a style="color: #ffa500" href="http://cn.php.net/manual/en/function.header.php">header</a>("<span style="color: #8b0000">Content-type: image/png</span>");
 <a style="color: #0000ff" href="http://cn.php.net/break">break</a>;
<a style="color: #0000ff" href="http://cn.php.net/manual-lookup.php?pattern=default&amp;lang=en&amp;scope=404quickref">default</a>:
 <a style="color: #ffa500" href="http://cn.php.net/manual/en/function.header.php">header</a>("<span style="color: #8b0000">Content-type: text/plain</span>");
}

<span style="color: #008000"># GZIP the content</span>
<a style="color: #0000ff" href="http://cn.php.net/manual/en/control-structures.if.php">if</a>(<a style="color: #ffa500" href="http://cn.php.net/extension_loaded">extension_loaded</a>('<span style="color: #8b0000">zlib</span>')){<a style="color: #ffa500" href="http://cn.php.net/ob_start">ob_start</a>();<a style="color: #ffa500" href="http://cn.php.net/ob_start">ob_start</a>('<span style="color: #8b0000">ob_gzhandler</span>');}

<span style="color: #008000"># echo the file's contents</span>
<a style="color: #0000ff" href="http://cn.php.net/echo">echo</a> <a style="color: #ffa500" href="http://cn.php.net/implode">implode</a>('<span style="color: #8b0000"></span>', <a style="color: #ffa500" href="http://cn.php.net/manual/en/function.file.php">file</a>($<a style="color: #ffa500" href="http://cn.php.net/manual/en/function.file.php">file</a>));

<a style="color: #0000ff" href="http://cn.php.net/manual/en/control-structures.if.php">if</a>(<a style="color: #ffa500" href="http://cn.php.net/extension_loaded">extension_loaded</a>('<span style="color: #8b0000">zlib</span>')){
<a style="color: #ffa500" href="http://cn.php.net/ob_end_flush">ob_end_flush</a>();
<span style="color: #008000"># set header the content's length;</span>
<span style="color: #008000"># header("Content-Length: ".ob_get_length()); # (It doesn't work? )</span>
<a style="color: #ffa500" href="http://cn.php.net/ob_end_flush">ob_end_flush</a>();
}
<span style="color: #0000ff">?&gt;</span></pre>
</blockquote>
<p>上面代码不仅压缩代码，而且要求浏览器端Cache这个文件。甚至，可以把所有css文件都放到一个php文件里，只要在echo处加入多个文件即可。</p>
<p>下面是一些常用的测试网站：</p>
<ul>
<li><a href="http://www.gidnetwork.com/tools/gzip-test.php" target="_blank">GZIP Test</a>: 测试一个URL地址是否支持GZIP传输，以及压缩比率。
</li>
<li><a href="http://www.websiteoptimization.com/services/analyze/index.html" target="_blank">Web Page Analyzer</a>：网站页面速度报告
</li>
<li><a href="http://www.ircache.net/cgi-bin/cacheability.py" target="_blank">Cacheability Test</a>: 测试一个页面是否可Cache</li>
</ul>
<p>参考资料：</p>
<ul>
<li><a href="http://www.mnot.net/cache_docs/" target="_blank">Caching Tutorial</a>
</li>
<li><a href="http://blog.htmlor.com/2006/08/03/serving_javascript_fast_chinese/">flickr对javascript干的好事</a>
</li>
<li><a href="http://www.badpenguin.org/php-howto-control-page-caching" target="_blank">Working with cached pages</a></li>
</ul>
<div><h4>相关文章</h4><ul><li class='currentpost'><a href="http://zhiqiang.org/blog/it/dreamhost-on-gzip-cache.html">Dreamhost上的GZIP &#038; Cache</a></li><li ><a href="http://zhiqiang.org/blog/it/innerhtml-2-cd-issue-dynamic-modification-table-function-of-js.html">innerHTML只读问题 &amp; 两个动态修改Table的js函数</a></li><li ><a href="http://zhiqiang.org/blog/it/speedup-blog-set-browser-cache.html">加速blog：设置浏览器缓存</a></li><li ><a href="http://zhiqiang.org/blog/it/speedup-website-with-css-sprites.html">用CSS Sprites让网站再加速</a></li><li ><a href="http://zhiqiang.org/blog/it/speedup-blog-gzip-javascript-css.html">加速blog：GZIP压缩传输你的文件</a></li><li ><a href="http://zhiqiang.org/blog/it/speedup-blog-about-javascript-css.html">加速blog：关于javascript(css)</a></li><li ><a href="http://zhiqiang.org/blog/it/using-htaccess-to-speed-blog.html">设置blog的缓存和压缩</a></li><li ><a href="http://zhiqiang.org/blog/it/to-get-gibberish-wordpress-move-to-dreamhost.html">搞定乱码，WordPress搬家到dreamhost</a></li><li ><a href="http://zhiqiang.org/blog/it/dreamhost-system-load-average-load-recording-and-analysis.html">Dreamhost系统Load average负载记录和分析</a></li><li ><a href="http://zhiqiang.org/blog/it/move-to-the-blog-server-bluehost.html">blog服务器搬家到bluehost</a></li></ul></div>    <p></p>
    <hr noshade style="margin:0;height:1px" />
    <p>&copy; zhiqiang for <a href="http://zhiqiang.org/blog">阅微堂</a>, 2007. | <a href="http://zhiqiang.org/blog/it/dreamhost-on-gzip-cache.html">&#38142;&#25509;</a> | <a href="http://zhiqiang.org/blog/it/dreamhost-on-gzip-cache.html#comments">27 &#26465;&#35780;&#35770;</a></p>]]></content:encoded>
			<wfw:commentRss>http://zhiqiang.org/blog/it/dreamhost-on-gzip-cache.html/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>

