<?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>阿乐的博客</title>
	<atom:link href="http://ale.net.cn/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://ale.net.cn/blog</link>
	<description>没有句号的梦想</description>
	<lastBuildDate>Wed, 22 Dec 2010 14:56:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>国外免费空间</title>
		<link>http://ale.net.cn/blog/2010/12/%e5%9b%bd%e5%a4%96%e5%85%8d%e8%b4%b9%e7%a9%ba%e9%97%b4/</link>
		<comments>http://ale.net.cn/blog/2010/12/%e5%9b%bd%e5%a4%96%e5%85%8d%e8%b4%b9%e7%a9%ba%e9%97%b4/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 14:56:04 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=133</guid>
		<description><![CDATA[WebNG.com美国免费350M月流量10G可绑米ASP空间 空间注册地址：http://www.webng.com/
WebNG.com空间来自于美国，该公司成立于2004年，提供的免费空间参数为：容量350M，月流量10G ，支持FTP和在线文件管理（可在线解压缩），空间支持ASP ，支持Access数据库。另外它提供一键安装WordPress、Joomla、phpBB 、Simple Machines Forum、DotNetNuke、Moodle这6种PHP建站程序，和ASP网页不同，但不支持上传安装文件安装PHP程序(注意看前面，可以在后台安装wordpress博客等，但是不支持上传php文件，包括探针也不能传，只能上传asp探针，见下面演示)。提供一个webng.com后缀的免费二级域名，支持绑定域名。
 
110MB免费提供110M空间适合个人主页 网址：http://www.110mb.com
110MB是目前世界上人气最旺的免费空间之一，Alexa世界排名607，110MB是纯粹提供免费空间的网站，免费空间用户数量目前非常多。
110MB免费空间提供110M存储空间，单个文件最大8M，支持600多种类型文件，10G月流量，99.85+%在线时间保证，Web方式上传管理文件（支持ZIP解压缩），支持PHP5（非安全模式），提供免费二级域名1个，可绑定1个自己的域名（支持绑定CO.CC免费域名），无广告。
110MB免费空间只提供基本服务，需要FTP、MySQL、.htaccess、更大空间和流量等服务就要付费了
美国免费PHP空间Freewebhostx.com
Freewebhostx.com是一家创建于2009年3月的美国网站，Alexa世界排名为七万左右，提供采用LPanel控制面板的免费PHP空间，有250M的文件存储空间，月流量有10G，可创建3个MySQL数据库，支持自定义.htaccess文件，支持mod_rewrite函数设置伪静态，支持通过FTP或在线管理文件，可一键安装MyLittleForum、ZenCart、MyBB、Wikiwig、Joomla、Wordpress、PhpBB、osCommerce、Xoops、Gallery、Coppermine等十几种常见网站程序，提供一个freewebhostx.com后缀的二级域名，前缀为用户名，支持绑定自己的域名，无广告。
]]></description>
			<content:encoded><![CDATA[<p>WebNG.com美国免费350M月流量10G可绑米ASP空间 空间注册地址：<a href="http://www.webng.com/">http://www.webng.com/</a><br />
WebNG.com空间来自于美国，该公司成立于2004年，提供的免费空间参数为：容量350M，月流量10G ，支持FTP和在线文件管理（可在线解压缩），空间支持ASP ，支持Access数据库。另外它提供一键安装WordPress、Joomla、phpBB 、Simple Machines Forum、DotNetNuke、Moodle这6种PHP建站程序，和ASP网页不同，但不支持上传安装文件安装PHP程序(注意看前面，可以在后台安装wordpress博客等，但是不支持上传php文件，包括探针也不能传，只能上传asp探针，见下面演示)。提供一个webng.com后缀的免费二级域名，支持绑定域名。<br />
 <br />
110MB免费提供110M空间适合个人主页 网址：<a href="http://www.110mb.com/">http://www.110mb.com</a><br />
110MB是目前世界上人气最旺的免费空间之一，Alexa世界排名607，110MB是纯粹提供免费空间的网站，免费空间用户数量目前非常多。<br />
110MB免费空间提供110M存储空间，单个文件最大8M，支持600多种类型文件，10G月流量，99.85+%在线时间保证，Web方式上传管理文件（支持ZIP解压缩），支持PHP5（非安全模式），提供免费二级域名1个，可绑定1个自己的域名（支持绑定CO.CC免费域名），无广告。<br />
110MB免费空间只提供基本服务，需要FTP、MySQL、.htaccess、更大空间和流量等服务就要付费了<br />
美国免费PHP空间Freewebhostx.com<br />
Freewebhostx.com是一家创建于2009年3月的美国网站，Alexa世界排名为七万左右，提供采用LPanel控制面板的免费PHP空间，有250M的文件存储空间，月流量有10G，可创建3个MySQL数据库，支持自定义.htaccess文件，支持mod_rewrite函数设置伪静态，支持通过FTP或在线管理文件，可一键安装MyLittleForum、ZenCart、MyBB、Wikiwig、Joomla、Wordpress、PhpBB、osCommerce、Xoops、Gallery、Coppermine等十几种常见网站程序，提供一个freewebhostx.com后缀的二级域名，前缀为用户名，支持绑定自己的域名，无广告。</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/12/%e5%9b%bd%e5%a4%96%e5%85%8d%e8%b4%b9%e7%a9%ba%e9%97%b4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Page Speed 测试结果说明</title>
		<link>http://ale.net.cn/blog/2010/09/google-page-speed-%e6%b5%8b%e8%af%95%e7%bb%93%e6%9e%9c%e8%af%b4%e6%98%8e/</link>
		<comments>http://ale.net.cn/blog/2010/09/google-page-speed-%e6%b5%8b%e8%af%95%e7%bb%93%e6%9e%9c%e8%af%b4%e6%98%8e/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 04:22:58 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[page speed]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=131</guid>
		<description><![CDATA[Avoid CSS expressions 避免css表达式和滤镜 (一般)
Combine external CSS 合并外部css文件 (比较重要)
Combine external JavaScript 合并外部javascript文件 (比较重要)
Defer loading of JavaScript 把javascript放到页面底部 (很重要)
Enable gzip compression 在服务器上打开gzip压缩(gzip,deflate,bzip都可以,注意gzip_vary),apache1.x用mod_gzip,2.x用mod_deflate,nginx用mod_gzip (很重要)
Leverage browser caching 利用浏览器缓存(能用public缓存的用public缓存，不能用的看能不能用private缓存) (很重要)
Leverage proxy caching (利用代理服务器缓存,CDN和缓存服务器，这是必须的，可以减少你原始服务器的压力，有能让用户提高访问速度，缓存服务器软件可以用squid,varnish,nginx cache模块等等。 (很重要)
Minify JavaScript 精简javascript。 javascript应该尽可能避免。如果无法避免，就用minify工具精简，再加服务器gzip压缩，放页面底部。我们为什么要这样打压javascript呢，因为它是页面速度慢的罪魁祸首。(一般)
Minimize cookie size 把COOKIE的数据量减到最小。COOKIE是浏览器发给服务器的一些信息，没有必要就不要发送，这样能快一些。(一般)
Minimize DNS lookups 减少DNS查询。很简单，DNS查询也是需要时间的，一个页面中的域名太多了，累积起来的时间也很可怕。2-4个比较合适。这条和Parallelize downloads across hostnames(让文件在多个域名里并行下载有一定的矛盾，所以域名不能太多，也不能太少) (一般)
Minimize redirects 重定向需要时间，而且用户不需要重定向。301是给搜索引擎看的。其它的重定向没什么用。 (比较重要)
Optimize images 优化图片，有的软件喜欢在图片里存点个人信息，用vim打开gd处理过的图片，里面就用gd版本号之类的信息，who cares。还有的图片压缩算法比较老旧，造成图片文件比较大。这些都可以通过一些工具来优化。其实最重要的是不要在页面里把大图当小图用，这样最冤，用户看着觉得图片皱巴巴的，页面下载速度又慢。 (很重要)
Optimize the order of styles [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Avoid CSS expressions</strong> 避免css表达式和滤镜 (一般)</p>
<p><strong>Combine external CSS</strong> 合并外部css文件 (比较重要)</p>
<p><strong>Combine external JavaScript</strong> 合并外部javascript文件 (比较重要)</p>
<p><strong>Defer loading of JavaScript</strong> 把javascript放到页面底部 (很重要)</p>
<p><strong>Enable gzip compression</strong> 在服务器上打开gzip压缩(gzip,deflate,bzip都可以,注意gzip_vary),apache1.x用mod_gzip,2.x用mod_deflate,nginx用mod_gzip (很重要)</p>
<p><strong>Leverage browser caching</strong> 利用浏览器缓存(能用public缓存的用public缓存，不能用的看能不能用private缓存) (很重要)</p>
<p><strong>Leverage proxy caching</strong> (利用代理服务器缓存,CDN和缓存服务器，这是必须的，可以减少你原始服务器的压力，有能让用户提高访问速度，缓存服务器软件可以用squid,varnish,nginx cache模块等等。 (很重要)</p>
<p><strong>Minify JavaScript</strong> 精简javascript。 javascript应该尽可能避免。如果无法避免，就用minify工具精简，再加服务器gzip压缩，放页面底部。我们为什么要这样打压javascript呢，因为它是页面速度慢的罪魁祸首。(一般)</p>
<p><strong>Minimize cookie size</strong> 把COOKIE的数据量减到最小。COOKIE是浏览器发给服务器的一些信息，没有必要就不要发送，这样能快一些。(一般)</p>
<p><strong>Minimize DNS lookups</strong> 减少DNS查询。很简单，DNS查询也是需要时间的，一个页面中的域名太多了，累积起来的时间也很可怕。2-4个比较合适。这条和Parallelize downloads across hostnames(让文件在多个域名里并行下载有一定的矛盾，所以域名不能太多，也不能太少) (一般)</p>
<p><strong>Minimize redirects</strong> 重定向需要时间，而且用户不需要重定向。301是给搜索引擎看的。其它的重定向没什么用。 (比较重要)</p>
<p><strong>Optimize images</strong> 优化图片，有的软件喜欢在图片里存点个人信息，用vim打开gd处理过的图片，里面就用gd版本号之类的信息，who cares。还有的图片压缩算法比较老旧，造成图片文件比较大。这些都可以通过一些工具来优化。其实最重要的是不要在页面里把大图当小图用，这样最冤，用户看着觉得图片皱巴巴的，页面下载速度又慢。 (很重要)</p>
<p><strong>Optimize the order of styles and scripts</strong> 优化样式表和脚本的顺序。head里脚本放css的前面。(一般)</p>
<p><strong>Parallelize downloads across hostnames</strong> 让文件在多个域名里下载。人多力量大，域名多了下载也会快。 (一般)</p>
<p><strong>Put CSS in the document head</strong> css放head里。 (一般)</p>
<p><strong>Remove unused CSS</strong> 没用的css就不要写进来。(一般)</p>
<p><strong>Serve resources from a consistent URL</strong> 内容相同的文件，如果他们都能缓存，最好用同样的url，走一份缓存，这样节省缓存服务器的空间，节省带宽，节省用户电脑的缓存空间，有利于环境保护。(一般)</p>
<p><strong>Serve static content from a cookieless domain</strong> 静态内容一般不需要Cookie,买一个独立域名，绑定到服务器上，让这些静态文件走这个域名，免受COOKIE骚扰之苦。 (一般)</p>
<p><strong>Specify image dimensions</strong> 在html代码里要指定图片高和宽。这样浏览器可以给图片留出空白的地。(一般)</p>
<p><strong>Use efficient CSS selectors</strong> 写css也得注意效率。这年头不单是写sql，写程序要注意效率，css也要注意，其实js也需要注意。选择器规则太复杂，浏览器处理起来也会慢。(一般)</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/09/google-page-speed-%e6%b5%8b%e8%af%95%e7%bb%93%e6%9e%9c%e8%af%b4%e6%98%8e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache设置文件缓存</title>
		<link>http://ale.net.cn/blog/2010/09/apache%e8%ae%be%e7%bd%ae%e6%96%87%e4%bb%b6%e7%bc%93%e5%ad%98/</link>
		<comments>http://ale.net.cn/blog/2010/09/apache%e8%ae%be%e7%bd%ae%e6%96%87%e4%bb%b6%e7%bc%93%e5%ad%98/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 03:48:06 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[expires]]></category>
		<category><![CDATA[page speed]]></category>
		<category><![CDATA[缓存]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=129</guid>
		<description><![CDATA[使用google的page speed分析，有个leverage browser caching条，说是么有设置缓存有效期。The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources。
网上搜到相关设置说明。
利用mod_expires模块为文件增加Expires
加载mod_expires模块，在配置文件中增加：
LoadModule expires_module modules/mod_expires.so
可在.htaccess文件中添加如下内容
&#60;IfModule mod_expires.c&#62;
ExpiresActive on
#默认所有文件缓存时间设置为300秒
ExpiresDefault a300
#html,plain-text缓存300秒
ExpiresByType text/html a300
ExpiresByType text/plain a300
#javascript缓存一个小时
ExpiresByType application/x-javascript &#8220;access plus 2 hours&#8221;
#css缓存一个天
ExpiresByType text/css &#8220;access plus 2 days&#8221;
#图标文件缓存30天
ExpiresByType image/x-icon &#8220;access plus 1 month&#8221;
#image类缓存一个星期
ExpiresByType image/jpeg &#8220;access plus 1 week&#8221;
ExpiresByType [...]]]></description>
			<content:encoded><![CDATA[<p>使用google的page speed分析，有个leverage browser caching条，说是么有设置缓存有效期。The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources。</p>
<p>网上搜到相关设置说明。</p>
<p><strong>利用mod_expires模块为文件增加Expires</strong></p>
<p>加载mod_expires模块，在配置文件中增加：</p>
<p>LoadModule expires_module modules/mod_expires.so</p>
<p>可在.htaccess文件中添加如下内容</p>
<p>&lt;IfModule mod_expires.c&gt;<br />
ExpiresActive on</p>
<p>#默认所有文件缓存时间设置为300秒<br />
ExpiresDefault a300</p>
<p>#html,plain-text缓存300秒<br />
ExpiresByType text/html a300<br />
ExpiresByType text/plain a300</p>
<p>#javascript缓存一个小时<br />
ExpiresByType application/x-javascript &#8220;access plus 2 hours&#8221;</p>
<p>#css缓存一个天<br />
ExpiresByType text/css &#8220;access plus 2 days&#8221;</p>
<p>#图标文件缓存30天<br />
ExpiresByType image/x-icon &#8220;access plus 1 month&#8221;</p>
<p>#image类缓存一个星期<br />
ExpiresByType image/jpeg &#8220;access plus 1 week&#8221;<br />
ExpiresByType image/gif &#8220;access plus 1 week&#8221;<br />
ExpiresByType image/png &#8220;access plus 1 week&#8221;</p>
<p>#flash/pdf缓存一个星期<br />
ExpiresByType application/x-shockwave-flash &#8220;access plus 1 week&#8221;<br />
ExpiresByType video/x-flv &#8220;access plus 1 week&#8221;<br />
ExpiresByType application/pdf &#8220;access plus 1 week&#8221;</p>
<p>&lt;/IfModule&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/09/apache%e8%ae%be%e7%bd%ae%e6%96%87%e4%bb%b6%e7%bc%93%e5%ad%98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSS规范及验证</title>
		<link>http://ale.net.cn/blog/2010/08/rss%e8%a7%84%e8%8c%83%e5%8f%8a%e9%aa%8c%e8%af%81/</link>
		<comments>http://ale.net.cn/blog/2010/08/rss%e8%a7%84%e8%8c%83%e5%8f%8a%e9%aa%8c%e8%af%81/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 15:12:27 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[程序]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=125</guid>
		<description><![CDATA[Feed Validator地址
http://validator.w3.org/feed/check.cgi?url= 
email地址
item的author中email的正确格式如下
Stanley@example.com (Stanley Wang)
前面是email地址，后面括号中的是姓名
 
日期格式
错误提示：element must be an RFC-822 date-time
pubDate，lastBuildDate中的日期必须是 RFC-822 date-time，正确格式如下
Wed, 02 Oct 2002 13:00:00 GMT
如果使用smarty的date_format，则参数为%a, %d %b %Y %H:%M:%S
最后的GMT代表格林威治时间，中国的话可以替换为+0800
 
MIME type
如果是用php输出的rss的话，需要用header输出Content-Type
RSS feeds 1.0 为 application/rdf+xml
RSS feeds 2.0 为 application/rss+xml
Atom feeds 为 application/atom+xml
 
RSS本身的链接
错误提示：
Missing  atom:link  with  rel=&#8221;self
解决方法：
首先要在rss标签中声明Atom的Namespace，如下：
&#60;rss version=&#8221;2.0&#8243; xmlns:atom=&#8221;http://www.w3.org/2005/Atom&#8221;&#62;
在channel标签中应该加入带有rel=&#8221;self&#8221;的atom:link标签，格式如下：
&#60;atom:link href=http://rss地址&#8221;  rel=&#8221;self&#8221; type=&#8221;application/rss+xml&#8221; /&#62;
来源：http://androids-electricsheep.blogbus.com/logs/68652711.html
]]></description>
			<content:encoded><![CDATA[<p>Feed Validator地址</p>
<p><a href="http://validator.w3.org/feed/check.cgi?url=http://lupus.10x.cn/rss.php">http://validator.w3.org/feed/check.cgi?url=</a> </p>
<p><strong>email地址</strong></p>
<p>item的author中email的正确格式如下</p>
<p>Stanley@example.com (Stanley Wang)</p>
<p>前面是email地址，后面括号中的是姓名</p>
<p> </p>
<p><strong>日期格式</strong></p>
<p>错误提示：element must be an RFC-822 date-time</p>
<p>pubDate，lastBuildDate中的日期必须是 RFC-822 date-time，正确格式如下</p>
<p>Wed, 02 Oct 2002 13:00:00 GMT</p>
<p>如果使用smarty的date_format，则参数为%a, %d %b %Y %H:%M:%S</p>
<p>最后的GMT代表格林威治时间，中国的话可以替换为+0800</p>
<p> </p>
<p><strong>MIME type</strong></p>
<p>如果是用php输出的rss的话，需要用header输出Content-Type</p>
<p>RSS feeds 1.0 为 application/rdf+xml</p>
<p>RSS feeds 2.0 为 application/rss+xml</p>
<p>Atom feeds 为 application/atom+xml</p>
<p> </p>
<p><strong>RSS本身的链接</strong></p>
<p>错误提示：</p>
<p>Missing  atom:link  with  rel=&#8221;self</p>
<p>解决方法：</p>
<p>首先要在rss标签中声明Atom的Namespace，如下：</p>
<p>&lt;rss version=&#8221;2.0&#8243; xmlns:atom=&#8221;http://www.w3.org/2005/Atom&#8221;&gt;</p>
<p>在channel标签中应该加入带有rel=&#8221;self&#8221;的atom:link标签，格式如下：</p>
<p>&lt;atom:link href=<a href="http://rss地址">http://rss地址</a>&#8221;  rel=&#8221;self&#8221; type=&#8221;application/rss+xml&#8221; /&gt;</p>
<p>来源：<a href="http://androids-electricsheep.blogbus.com/logs/68652711.html">http://androids-electricsheep.blogbus.com/logs/68652711.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/08/rss%e8%a7%84%e8%8c%83%e5%8f%8a%e9%aa%8c%e8%af%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>服务器被要求安装服务器助手（安全探针软件）</title>
		<link>http://ale.net.cn/blog/2010/04/%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%a2%ab%e8%a6%81%e6%b1%82%e5%ae%89%e8%a3%85%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%8a%a9%e6%89%8b%e5%ae%89%e5%85%a8%e6%8e%a2%e9%92%88%e8%bd%af%e4%bb%b6/</link>
		<comments>http://ale.net.cn/blog/2010/04/%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%a2%ab%e8%a6%81%e6%b1%82%e5%ae%89%e8%a3%85%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%8a%a9%e6%89%8b%e5%ae%89%e5%85%a8%e6%8e%a2%e9%92%88%e8%bd%af%e4%bb%b6/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 03:19:26 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=123</guid>
		<description><![CDATA[你的一切尽在掌控
托管商没有特别说明，只要必须装上，不然查到就麻烦了。
网上搜了下，这东西出来有段时间了，被不少人称为服务器端的绿坝-花季护航软件。
安装后服务器会多了三项服务进程，分别为：Cinfoservice.exe、CWebManagerCli.exe、GuardService.exe。
据称称，该安全探针软件将帮助客户自动监测是否有低俗信息，是一款免费软件。
]]></description>
			<content:encoded><![CDATA[<p>你的一切尽在掌控</p>
<p>托管商没有特别说明，只要必须装上，不然查到就麻烦了。</p>
<p>网上搜了下，这东西出来有段时间了，被不少人称为服务器端的绿坝-花季护航软件。</p>
<p>安装后服务器会多了三项服务进程，分别为：Cinfoservice.exe、CWebManagerCli.exe、GuardService.exe。</p>
<p>据称称，该安全探针软件将帮助客户自动监测是否有低俗信息，是一款免费软件。</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/04/%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%a2%ab%e8%a6%81%e6%b1%82%e5%ae%89%e8%a3%85%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%8a%a9%e6%89%8b%e5%ae%89%e5%85%a8%e6%8e%a2%e9%92%88%e8%bd%af%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>狗爹godaddy的.COM和.NET域名注册续费30%优惠码</title>
		<link>http://ale.net.cn/blog/2010/04/%e7%8b%97%e7%88%b9godaddy%e7%9a%84-com%e5%92%8c-net%e5%9f%9f%e5%90%8d%e6%b3%a8%e5%86%8c%e7%bb%ad%e8%b4%b930%e4%bc%98%e6%83%a0%e7%a0%81/</link>
		<comments>http://ale.net.cn/blog/2010/04/%e7%8b%97%e7%88%b9godaddy%e7%9a%84-com%e5%92%8c-net%e5%9f%9f%e5%90%8d%e6%b3%a8%e5%86%8c%e7%bb%ad%e8%b4%b930%e4%bc%98%e6%83%a0%e7%a0%81/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 11:37:50 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=121</guid>
		<description><![CDATA[优惠码 gda334c ，该优惠码只针对.com和.net域名。
使用过改优惠码后，首页会出现下列说明，说明该优惠码在域名涨价的2010年7月1日前都可以使用。
SPECIAL OFFER! Register or renew .COM and .NET domains and SAVE 30% off before prices go up July 1, 2010.*
]]></description>
			<content:encoded><![CDATA[<p>优惠码 <strong>gda334c </strong>，该优惠码只针对.com和.net域名。</p>
<p>使用过改优惠码后，首页会出现下列说明，说明该优惠码在域名涨价的2010年7月1日前都可以使用。</p>
<div style="COLOR: #c00; FONT-SIZE: 14px"><strong>SPECIAL OFFER!</strong> <strong>Register or renew .COM and .NET domains and SAVE 30% off before prices go up July 1, 2010.*</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/04/%e7%8b%97%e7%88%b9godaddy%e7%9a%84-com%e5%92%8c-net%e5%9f%9f%e5%90%8d%e6%b3%a8%e5%86%8c%e7%bb%ad%e8%b4%b930%e4%bc%98%e6%83%a0%e7%a0%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DEDECMS友情链接去掉li</title>
		<link>http://ale.net.cn/blog/2010/03/dedecms%e5%8f%8b%e6%83%85%e9%93%be%e6%8e%a5%e5%8e%bb%e6%8e%89li/</link>
		<comments>http://ale.net.cn/blog/2010/03/dedecms%e5%8f%8b%e6%83%85%e9%93%be%e6%8e%a5%e5%8e%bb%e6%8e%89li/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 14:47:56 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[程序]]></category>
		<category><![CDATA[dedecms]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=117</guid>
		<description><![CDATA[通过改DEDECMS实现对友情链接代码中有LI标签的改动。
找到include\taglib\flink.lib.php文件。打开第37行，如：
if(trim($ctag-&#62;GetInnerText())==”) $innertext = “&#60;li&#62;[field:link /]&#60;/li&#62;”;
修改成：
if(trim($ctag-&#62;GetInnerText())==”) $innertext = “[field:link /]“;
然后模版中直接用 {dede:flink row=’24′/} 调用即可。
]]></description>
			<content:encoded><![CDATA[<p>通过改DEDECMS实现对友情链接代码中有LI标签的改动。</p>
<p>找到include\taglib\flink.lib.php文件。打开第37行，如：</p>
<p>if(trim($ctag-&gt;GetInnerText())==”) $innertext = “&lt;li&gt;[field:link /]&lt;/li&gt;”;</p>
<p>修改成：</p>
<p>if(trim($ctag-&gt;GetInnerText())==”) $innertext = “[field:link /]“;</p>
<p>然后模版中直接用 {dede:flink row=’24′/} 调用即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/03/dedecms%e5%8f%8b%e6%83%85%e9%93%be%e6%8e%a5%e5%8e%bb%e6%8e%89li/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dedecms生成中文名html文件</title>
		<link>http://ale.net.cn/blog/2010/03/dedecms%e7%94%9f%e6%88%90%e4%b8%ad%e6%96%87%e5%90%8dhtml%e6%96%87%e4%bb%b6/</link>
		<comments>http://ale.net.cn/blog/2010/03/dedecms%e7%94%9f%e6%88%90%e4%b8%ad%e6%96%87%e5%90%8dhtml%e6%96%87%e4%bb%b6/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 13:32:26 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[程序]]></category>
		<category><![CDATA[dedecms]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=115</guid>
		<description><![CDATA[dedecms生成文件用到了的函数在/include/dedetag.class.php中
//把分析模板输出为文件
function SaveTo($filename)
{
   $fp = @fopen($filename,&#8221;w&#8221;) or die(&#8221;DedeTag Engine Create File False&#8221;.$filename);
   fwrite($fp,$this-&#62;GetResult());
   fclose($fp);
}
windows下，fopen()创建一个中文文件名的文件时问题就出来了，文件名都是乱码。原因是Windows默认的文字编码是ansi。
解决方法是用iconv函数。
我用的是utf-8的dedecms版本。把utf-8转成gb2312就可以避免中文文件名为乱码。
function SaveTo($filename)
 {
  $filename=iconv(&#8217;utf-8&#8242;,&#8217;gb2312&#8242;,$filename);
  $fp = @fopen($filename,&#8221;w&#8221;) or die(&#8221;DedeTag Engine Create File False&#8221;);
  fwrite($fp,$this-&#62;GetResult());
  fclose($fp);
 }
按如上更改函数就可以了。windows下不能用这几种符号\/:*?&#8217;&#60;&#62;&#124;，要注意屏蔽。
]]></description>
			<content:encoded><![CDATA[<p>dedecms生成文件用到了的函数在/include/dedetag.class.php中</p>
<p>//把分析模板输出为文件<br />
function SaveTo($filename)<br />
{<br />
   $fp = @fopen($filename,&#8221;w&#8221;) or die(&#8221;DedeTag Engine Create File False&#8221;.$filename);<br />
   fwrite($fp,$this-&gt;GetResult());<br />
   fclose($fp);<br />
}</p>
<p>windows下，fopen()创建一个中文文件名的文件时问题就出来了，文件名都是乱码。原因是Windows默认的文字编码是ansi。</p>
<p>解决方法是用iconv函数。</p>
<p>我用的是utf-8的dedecms版本。把utf-8转成gb2312就可以避免中文文件名为乱码。</p>
<p>function SaveTo($filename)<br />
 {<br />
  $filename=iconv(&#8217;utf-8&#8242;,&#8217;gb2312&#8242;,$filename);<br />
  $fp = @fopen($filename,&#8221;w&#8221;) or die(&#8221;DedeTag Engine Create File False&#8221;);<br />
  fwrite($fp,$this-&gt;GetResult());<br />
  fclose($fp);<br />
 }</p>
<p>按如上更改函数就可以了。windows下不能用这几种符号<span style="color: #ff0000;">\/:*?&#8217;&lt;&gt;|<span style="color: #000000;">，要注意屏蔽。</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/03/dedecms%e7%94%9f%e6%88%90%e4%b8%ad%e6%96%87%e5%90%8dhtml%e6%96%87%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>windows下更改程序默认安装文件夹路径的位置为其他路径</title>
		<link>http://ale.net.cn/blog/2010/03/windows%e4%b8%8b%e6%9b%b4%e6%94%b9%e7%a8%8b%e5%ba%8f%e9%bb%98%e8%ae%a4%e5%ae%89%e8%a3%85%e6%96%87%e4%bb%b6%e5%a4%b9%e8%b7%af%e5%be%84%e7%9a%84%e4%bd%8d%e7%bd%ae%e4%b8%ba%e5%85%b6%e4%bb%96%e8%b7%af/</link>
		<comments>http://ale.net.cn/blog/2010/03/windows%e4%b8%8b%e6%9b%b4%e6%94%b9%e7%a8%8b%e5%ba%8f%e9%bb%98%e8%ae%a4%e5%ae%89%e8%a3%85%e6%96%87%e4%bb%b6%e5%a4%b9%e8%b7%af%e5%be%84%e7%9a%84%e4%bd%8d%e7%bd%ae%e4%b8%ba%e5%85%b6%e4%bb%96%e8%b7%af/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 07:05:09 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[电脑]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=112</guid>
		<description><![CDATA[windows下软件安装的默认路径一般是C:/Program Files,
我安装软件一般是安装在D:/Program Files，为避免每次安装软件都要手动更改一下，可以通过修改注册进行设置。
注册表修改方法如下：
1、开始-&#62;运行命令，输入regedit，打开注册表，找到以下位置：
     HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion
2、在界面右侧窗口里找到”ProgramFilesDir&#8221;项，双击修改默认路径“C:/Program Files”，修改成我要的文件夹路径D:/Program Files；
3、单击确定按钮就可以了。
]]></description>
			<content:encoded><![CDATA[<p>windows下软件安装的默认路径一般是<span style="color: #ff0000;">C:/Program Files</span>,</p>
<p>我安装软件一般是安装在<span style="color: #ff0000;">D:/Program Files</span>，为避免每次安装软件都要手动更改一下，可以通过修改注册进行设置。</p>
<p>注册表修改方法如下：</p>
<p>1、开始-&gt;运行命令，输入regedit，打开注册表，找到以下位置：<br />
     HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion</p>
<p>2、在界面右侧窗口里找到”ProgramFilesDir&#8221;项，双击修改默认路径“<span style="color: #ff0000;">C:/Program Files</span>”，修改成我要的文件夹路径<span style="color: #ff0000;">D:/Program Files</span>；</p>
<p>3、单击确定按钮就可以了。</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/03/windows%e4%b8%8b%e6%9b%b4%e6%94%b9%e7%a8%8b%e5%ba%8f%e9%bb%98%e8%ae%a4%e5%ae%89%e8%a3%85%e6%96%87%e4%bb%b6%e5%a4%b9%e8%b7%af%e5%be%84%e7%9a%84%e4%bd%8d%e7%bd%ae%e4%b8%ba%e5%85%b6%e4%bb%96%e8%b7%af/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parent: child process exited with status 3221225477 &#8212; Restarting</title>
		<link>http://ale.net.cn/blog/2010/02/parent-child-process-exited-with-status-3221225477-restarting/</link>
		<comments>http://ale.net.cn/blog/2010/02/parent-child-process-exited-with-status-3221225477-restarting/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 11:20:07 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=108</guid>
		<description><![CDATA[谷歌上搜到解决方案：http://www.java-samples.com/showtutorial.php?tutorialid=1050
但是也有人反应没解决问题的。我的libmysql.dll文件已经存在system32文件夹里也同样出现这个问题，怪。
简单翻译一下：
碰到这个错误，一般是在Windows上运行Apache、MySQL、PHP。
通过一下几个步骤就可以解决问题，
在PHP安装文件夹找到libmysql.dll文件，
复制保存到Windows/system32文件夹，
现在重新启动MySQL和Apache。
]]></description>
			<content:encoded><![CDATA[<p>谷歌上搜到解决方案：<a href="http://www.java-samples.com/showtutorial.php?tutorialid=1050">http://www.java-samples.com/showtutorial.php?tutorialid=1050</a></p>
<p>但是也有人反应没解决问题的。我的libmysql.dll文件已经存在system32文件夹里也同样出现这个问题，怪。</p>
<p>简单翻译一下：</p>
<p>碰到这个错误，一般是在Windows上运行Apache、MySQL、PHP。</p>
<p>通过一下几个步骤就可以解决问题，</p>
<p>在PHP安装文件夹找到libmysql.dll文件，</p>
<p>复制保存到Windows/system32文件夹，</p>
<p>现在重新启动MySQL和Apache。</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2010/02/parent-child-process-exited-with-status-3221225477-restarting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

