<?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; google</title>
	<atom:link href="http://www.zhangzhenfeng.com/tags/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhangzhenfeng.com</link>
	<description>阵风：天生我材必有用</description>
	<lastBuildDate>Wed, 14 Sep 2011 09:51:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Google 推出谷歌问答</title>
		<link>http://www.zhangzhenfeng.com/google-wenda/</link>
		<comments>http://www.zhangzhenfeng.com/google-wenda/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 14:21:44 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[网站]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[谷歌]]></category>
		<category><![CDATA[谷歌问答]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=207</guid>
		<description><![CDATA[天涯社区7月20日发布公告称：谷歌停止对问答技术支持，天涯将独立运营问答，同时谷歌也将发布“谷歌问答”。现在已经可以访问“谷歌问答”了，地址：http://www.google.com.hk/wenda/。]]></description>
			<content:encoded><![CDATA[<p>天涯社区7月20日发布公告称：谷歌停止对问答技术支持，天涯将独立运营问答，同时谷歌也将发布“谷歌问答”。</p>
<p>现在已经可以访问“谷歌问答”了，地址：<a title="谷歌问答" href="http://www.google.com.hk/wenda/" target="_blank">http://www.google.com.hk/wenda/</a>。<span id="more-207"></span>如下图：<br />
<div id="attachment_212" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.zhangzhenfeng.com/google-wenda/google-wenda-2/" rel="attachment wp-att-212"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/07/google-wenda-600x422.jpg" alt="Google 推出谷歌问答" title="Google 推出谷歌问答" width="600" height="422" class="size-large wp-image-212" /></a><p class="wp-caption-text">Google 推出谷歌问答</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/google-wenda/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>去掉顶部频道显示处的网站首页及频道地址的扩展名</title>
		<link>http://www.zhangzhenfeng.com/showchannel-getchannellist/</link>
		<comments>http://www.zhangzhenfeng.com/showchannel-getchannellist/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 14:24:51 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[动易]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[getchannellist]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[pagerank]]></category>
		<category><![CDATA[showchannel]]></category>
		<category><![CDATA[目录]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=32</guid>
		<description><![CDATA[大部分情况下，http://www.zhangzhenfeng.com/ 与 http://www.zhangzhenfeng.com/index.asp 的 Google PageRank 是不同的。据说，在google 看来，目录的权重比文件大。默认情况下，动易的标签 {$ShowChannel} 输出时，网站首页、频道首页的地址都是{$InstallDir}index.htm、{$InstallDir}Article/index.asp 的形式，如何才能修改为 {$InstallDir}、{$InstallDir}Article/ 的形式呢？]]></description>
			<content:encoded><![CDATA[<p>大部分情况下，http://www.zhangzhenfeng.com/ 与 http://www.zhangzhenfeng.com/index.asp 的 Google PageRank 是不同的。据说，在google 看来，目录的权重比文件大。默认情况下，动易的标签 {$ShowChannel} 输出时，网站首页、频道首页的地址都是{$InstallDir}index.htm、{$InstallDir}Article/index.asp 的形式，如何才能修改为 {$InstallDir}、{$InstallDir}Article/ 的形式呢？<span id="more-32"></span></p>
<p>只需修改 Include/PowerEasy.Common.Front.asp 中的Function GetChannelList(NumNewLine)，进而改变标签 {$ShowChannel} 的输出即可。下面以动易开源版SiteWeaver™ CMS 6.5为例进行说明。</p>
<p><strong>第一步，将网站首页地址由 {$InstallDir}index.htm 的形式修改为 {$InstallDir} 的形式。</strong>在 Include/PowerEasy.Common.Front.asp 中找到如下代码：</p>
<blockquote><p>If ChannelID = 0 Then<br />
strChannel = ChannelLink &amp; “&lt;a class=”Channel2” href=”” &amp; strInstallDir &amp; FileName_SiteIndex &amp; “”&gt;” &amp; XmlText(“BaseText”, “FirstPage”, “网站首页”) &amp; “&lt;/a&gt;” &amp; ChannelLink<br />
Else<br />
strChannel = ChannelLink &amp; “&lt;a class=”Channel” href=”” &amp; strInstallDir &amp; FileName_SiteIndex &amp; “”&gt;” &amp; XmlText(“BaseText”, “FirstPage”, “网站首页”) &amp; “&lt;/a&gt;” &amp; ChannelLink<br />
End If</p></blockquote>
<p>将其修改为</p>
<blockquote><p>If ChannelID = 0 Then<br />
strChannel = ChannelLink &amp; “&lt;a class=”Channel2” href=”” &amp; strInstallDir  &amp; “”&gt;” &amp; XmlText(“BaseText”, “FirstPage”, “网站首页”) &amp; “&lt;/a&gt;” &amp; ChannelLink<br />
Else<br />
strChannel = ChannelLink &amp; “&lt;a class=”Channel” href=”” &amp; strInstallDir &amp; “”&gt;” &amp; XmlText(“BaseText”, “FirstPage”, “网站首页”) &amp; “&lt;/a&gt;” &amp; ChannelLink<br />
End If</p></blockquote>
<p><strong>第二步，将频道首页地址由 {$InstallDir}Article/index.htm 的形式修改为 {$InstallDir}Article/ 的形式。</strong>在 Include/PowerEasy.Common.Front.asp 中找到如下代码：</p>
<blockquote><p>If rsChannel(“UseCreateHTML”) &gt; 0 Then<br />
strChannel = strChannel &amp; ” href=”” &amp; ChannelUrl &amp; “/Index” &amp; arrFileExt(rsChannel(“FileExt_Index”)) &amp; “””<br />
Else<br />
strChannel = strChannel &amp; ” href=”” &amp; ChannelUrl &amp; “/Index.asp””<br />
End If</p></blockquote>
<p>将其修改为</p>
<blockquote><p>strChannel = strChannel &amp; ” href=”” &amp; ChannelUrl &amp; “/””</p></blockquote>
<p>修改完成后，保存文件，更新缓存，如果网站首页或某频道首页需要生成html，进行生成后刷新页面即可。另外，<strong>注意一下默认文档顺序</strong>（例如：网站首页生成html后缀为“.htm”，但默认文档中index.asp i优先于 index.htm，则访问网站目录 {$InstallDir} 时，系统会调用index.asp而非index.htm，然后跳转到index.htm，这种情况下地址栏显示的地址不是目录形式，多了个index.htm）</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/showchannel-getchannellist/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

