<?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>Tomgo的生活博客 &#187; 心得技巧</title>
	<atom:link href="http://www.54tomgo.com/archives/tag/%e5%bf%83%e5%be%97%e6%8a%80%e5%b7%a7/feed" rel="self" type="application/rss+xml" />
	<link>http://www.54tomgo.com</link>
	<description>生活&#124;电影&#124;新闻&#124;IT话题</description>
	<lastBuildDate>Wed, 29 Jun 2011 06:41:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
<!-- Start Of Script Generated By WP-PostViews Plus 1.1.18 -->
<script type='text/javascript' src='http://www.54tomgo.com/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
jQuery.ajax({type:'GET',url:'http://www.54tomgo.com/wp-content/plugins/wp-postviews-plus/postviews_plus.php',data:'todowppvp=&type=tag&id=181_1',cache:false,dataType:'script'});/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus 1.1.18 -->
	<item>
		<title>发现到威客请人发帖，很不错。</title>
		<link>http://www.54tomgo.com/archives/836.html</link>
		<comments>http://www.54tomgo.com/archives/836.html#comments</comments>
		<pubDate>Thu, 25 Mar 2010 05:01:49 +0000</pubDate>
		<dc:creator>tomgo</dc:creator>
				<category><![CDATA[心得技巧]]></category>
		<category><![CDATA[威客]]></category>
		<category><![CDATA[威客 发帖]]></category>
		<category><![CDATA[猪八戒]]></category>

		<guid isPermaLink="false">http://www.54tomgo.com/?p=836</guid>
		<description><![CDATA[


威客中国


这两天论坛里面多了很多发广告贴的，这些广告贴发的很有质量，就是所谓的软文，不注意看，还不知道原来是广告。这些都是人手发的，不是那种软件乱发的。因为我的论坛已经设置了很多发帖的机制来防止软件注册发广告。在51.la看了下，是从一个叫做威客中国的地方来的。看到原来是一个发广告贴，按件计费的一个任务。我想，我们公司也可以使用这个方法来宣传，而且非常是非常低廉的。一个成功贴（在一个小时内不被删除而有ip点击，就算成功了。）最低是0.2元。这个宣传比百度、淘宝要便宜许多，而且效果看你的软文能力的。我马上到猪八戒发布了一个150元的任务，过了15分钟，居然收到他们工作人员的电话了。要知道，当时是晚上10：30了，没想到他们这么有效率的。过了5分钟，我的任务被通过了。过了一个小时，我的任务就被领了100多了。而且马上有人帮我开始发贴了。效率真高。
第二天到威客一看，进度不错，已经有20多个成功的帖子了。任务被领完了。现在第3天了，任务被完成了70多个。我想效果还是会有的，因为我在51.la观察了几天，确实流量有增加。我想每个月花几百元到威客发布任务，请人做事，也是一个非常好的宣传手段。
]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_837" class="wp-caption aligncenter" style="width: 460px; text-align: center;">
<dt class="wp-caption-dt"><img class="size-full wp-image-837" title="威客中国" src="http://www.54tomgo.com/wp-content/uploads/2010/03/weike.jpg" alt="威客中国" width="450" height="89" /></dt>
<dd class="wp-caption-dd">威客中国</dd>
</dl>
</div>
<p>这两天论坛里面多了很多发广告贴的，这些广告贴发的很有质量，就是所谓的软文，不注意看，还不知道原来是广告。这些都是人手发的，不是那种软件乱发的。因为我的论坛已经设置了很多发帖的机制来防止软件注册发广告。在51.la看了下，是从一个叫做威客中国的地方来的。看到原来是一个发广告贴，按件计费的一个任务。我想，我们公司也可以使用这个方法来宣传，而且非常是非常低廉的。一个成功贴（在一个小时内不被删除而有ip点击，就算成功了。）最低是0.2元。这个宣传比百度、淘宝要便宜许多，而且效果看你的软文能力的。<span id="more-836"></span>我马上到猪八戒发布了一个150元的任务，过了15分钟，居然收到他们工作人员的电话了。要知道，当时是晚上10：30了，没想到他们这么有效率的。过了5分钟，我的任务被通过了。过了一个小时，我的任务就被领了100多了。而且马上有人帮我开始发贴了。效率真高。</p>
<p>第二天到威客一看，进度不错，已经有20多个成功的帖子了。任务被领完了。现在第3天了，任务被完成了70多个。我想效果还是会有的，因为我在51.la观察了几天，确实流量有增加。我想每个月花几百元到威客发布任务，请人做事，也是一个非常好的宣传手段。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.54tomgo.com/archives/836.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用VPS的SSH帐号访问国外网站</title>
		<link>http://www.54tomgo.com/archives/794.html</link>
		<comments>http://www.54tomgo.com/archives/794.html#comments</comments>
		<pubDate>Thu, 18 Mar 2010 14:19:37 +0000</pubDate>
		<dc:creator>tomgo</dc:creator>
				<category><![CDATA[心得技巧]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.54tomgo.com/?p=794</guid>
		<description><![CDATA[


ssh翻墙的方法


转移到linode后，我的diahosting vps还有半年的时间才到期，不想办法折磨一下它有点浪费了。于是想学如何用vps翻墙，看了一些文章，说要配置vpn，安装一大堆软件，一大堆的命令，让人头昏。一般自己用的话，使用SSH来访问国外网站就够了。
使用软件MyEnTunnel+FireFox+FoxyProxy。
1.准备好VPS的SSH帐号，IP，密码。下载MyEnTunnel，打开软件。
按上图所示填写SSH服务器的IP或域名，SSH端口一般默认即可，用户名和密码填写你购买的SSH帐号和密码。
本地端口填写：7070，在启动时自动连接、失败时重新连接、启动动态套接字、启用压缩前打勾。点击保存，再点“连接”。在系统右下角显示为绿色即连接成功。
2、Firefox设置
首先下载Firefox，安装。安装完成后，需要安装foxyproxy，使用foxyproxy提供的远程DNS解析个功能。
工具-附加组件，输入foxyproxy 搜索。
点击“添加至Firefox”，开始安装，安装完成重启Firefox。
首先是启用FoxyProxy，通过工具-FoxyProxy Standard-为全部URLs启动代理服务器“默认”。
再修改FoxyProxy的默认设置，工具-FoxyProxy Standard-选项。
按照上图所示，选择“手动配置代理服务器”，主机或IP地址：填写127.0.0.1，端口填写前面MyEnTunnle设置的端口号：7070，“Socks代理”前打勾，后面选择Socks 5。
点击“确定”保存。
至此，MyEnTunnel+FireFox+FoxyProxy 通过SSH帐号翻墙的设置就完成了，现在输入你要访问的网站就可以自由访问了。
]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_824" class="wp-caption aligncenter" style="width: 460px; text-align: center;">
<dt class="wp-caption-dt"><img class="size-full wp-image-824" title="ssh翻墙的方法" src="http://www.54tomgo.com/wp-content/uploads/2010/03/8.jpg" alt="ssh翻墙的方法" width="450" height="98" /></dt>
<dd class="wp-caption-dd">ssh翻墙的方法</dd>
</dl>
</div>
<p>转移到linode后，我的diahosting vps还有半年的时间才到期，不想办法折磨一下它有点浪费了。于是想学如何用vps翻墙，看了一些文章，说要配置vpn，安装一大堆软件，一大堆的命令，让人头昏。一般自己用的话，使用SSH来访问国外网站就够了。<br />
使用软件<a href="http://soft.vpser.net/proxy/myentunnel/myentunnel-unicode.zip">MyEnTunnel</a>+FireFox+FoxyProxy。<br />
1.准备好VPS的SSH帐号，IP，密码。<span id="more-794"></span>下载<a href="http://soft.vpser.net/proxy/myentunnel/myentunnel-unicode.zip">MyEnTunnel</a>，打开软件。</p>
<p>按上图所示填写SSH服务器的IP或域名，SSH端口一般默认即可，用户名和密码填写你购买的SSH帐号和密码。<br />
本地端口填写：7070，在启动时自动连接、失败时重新连接、启动动态套接字、启用压缩前打勾。点击保存，再点“连接”。在系统右下角显示为绿色即连接成功。<br />
2、Firefox设置</p>
<p>首先下载Firefox，安装。安装完成后，需要安装foxyproxy，使用foxyproxy提供的远程DNS解析个功能。<br />
工具-附加组件，输入foxyproxy 搜索。<br />
点击“添加至Firefox”，开始安装，安装完成重启Firefox。<br />
首先是启用FoxyProxy，通过工具-FoxyProxy Standard-为全部URLs启动代理服务器“默认”。<br />
再修改FoxyProxy的默认设置，工具-FoxyProxy Standard-选项。<br />
按照上图所示，选择“手动配置代理服务器”，主机或IP地址：填写127.0.0.1，端口填写前面MyEnTunnle设置的端口号：7070，“Socks代理”前打勾，后面选择Socks 5。<br />
点击“确定”保存。<br />
至此，MyEnTunnel+FireFox+FoxyProxy 通过SSH帐号翻墙的设置就完成了，现在输入你要访问的网站就可以自由访问了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.54tomgo.com/archives/794.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>diahosting的vps和客服都不错</title>
		<link>http://www.54tomgo.com/archives/725.html</link>
		<comments>http://www.54tomgo.com/archives/725.html#comments</comments>
		<pubDate>Sat, 30 Jan 2010 13:01:54 +0000</pubDate>
		<dc:creator>tomgo</dc:creator>
				<category><![CDATA[IT话题]]></category>
		<category><![CDATA[心得技巧]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.54tomgo.com/?p=725</guid>
		<description><![CDATA[


diahosting VPS


由于国内越来越恶劣的网络环境，我们网站也被迫出国了。到IDCspy网站论坛参考了一下，选择使用了美国的VPS服务器。跟diahosting的客服聊了一下，服务比较热情。购买了半年来试用，现在已经用了一个多月了。VPS在美国西岸的洛杉矶，说是靠近中国，速度比较快，ping有205ms左右，稳定性一般，基本上一个星期会有1-2次的中断，不过中断后都在半个小时内恢复了。他们的客服也非常热情，3位客服好像是24小时在线的，这样可以随时联系到他们。VPS我是文盲，开通VPS后，都是dia的技术帮忙配置的，期间遇到很多不明白的地方，客服都一一指点了。28日晚，ping了只有300ms了，速度很慢，这是这个月以来，经常出现的问题，一会快，一会慢，忍受不了了，咨询他们哪个机房比较稳定，他们说可以搬迁到拉斯维加斯机房，我提交了迁移的服务单，约了dia的客服晚上帮我迁移到拉斯维加斯的机房，晚上3点，已经帮我迁移了。现在试用了3天，稳定性和速度都还可以。
希望diahosting可以越做越好，在这里对你们一个月以来的服务，说声谢谢。如果买燕窝，我给打折。
]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_726" class="wp-caption aligncenter" style="width: 460px; text-align: center;">
<dt class="wp-caption-dt"><img class="size-full wp-image-726" title="diahosting VPS" src="http://www.54tomgo.com/wp-content/uploads/2010/01/dia.jpg" alt="diahosting VPS" width="450" height="84" /></dt>
<dd class="wp-caption-dd">diahosting VPS</dd>
</dl>
</div>
<p>由于国内越来越恶劣的网络环境，我们网站也被迫出国了。到IDCspy网站论坛参考了一下，选择使用了美国的VPS服务器。跟diahosting的客服聊了一下，服务比较热情。购买了半年来试用，现在已经用了一个多月了。VPS在美国西岸的洛杉矶，说是靠近中国，速度比较快，ping有205ms左右，稳定性一般，基本上一个星期会有1-2次的中断，不过中断后都在半个小时内恢复了。<span id="more-725"></span>他们的客服也非常热情，3位客服好像是24小时在线的，这样可以随时联系到他们。VPS我是文盲，开通VPS后，都是dia的技术帮忙配置的，期间遇到很多不明白的地方，客服都一一指点了。28日晚，ping了只有300ms了，速度很慢，这是这个月以来，经常出现的问题，一会快，一会慢，忍受不了了，咨询他们哪个机房比较稳定，他们说可以搬迁到拉斯维加斯机房，我提交了迁移的服务单，约了dia的客服晚上帮我迁移到拉斯维加斯的机房，晚上3点，已经帮我迁移了。现在试用了3天，稳定性和速度都还可以。<br />
希望<a href="https://www.diahosting.com/index.html">diahosting</a>可以越做越好，在这里对你们一个月以来的服务，说声谢谢。如果买<a href="http://www.yanwotang.com/">燕窝</a>，我给打折。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.54tomgo.com/archives/725.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Discuz6.0正式版禁止中文名注册</title>
		<link>http://www.54tomgo.com/archives/719.html</link>
		<comments>http://www.54tomgo.com/archives/719.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 11:06:51 +0000</pubDate>
		<dc:creator>tomgo</dc:creator>
				<category><![CDATA[心得技巧]]></category>
		<category><![CDATA[Discuz6.0正式版]]></category>

		<guid isPermaLink="false">http://www.54tomgo.com/?p=719</guid>
		<description><![CDATA[


discuz6


为了防止中文的垃圾广告用户注册，我在google找到一个代码，修改了discuz6.0正式版的注册方式。代码如下：
register.php 修改後 或 修改且上傳後 緊記更新緩存
找
複製內容到剪貼板代碼:
if(strlen($username) &#38;gt; 15) {
showmessage('profile_username_toolong');
}
引用:
下面選擇其一即可
禁止使用半形大小寫英文的加入﹕
複製內容到剪貼板代碼:
if(eregi(&#34;[:alpha:]&#34;, $username)) {
showmessage('本壇禁止使用半形英文註冊，請使用中文或符號註冊。');
}
禁止使用半形小寫英文的加入﹕
複製內容到剪貼板代碼:
if(eregi(&#34;[:lower:]&#34;, $username)) {
showmessage('本壇禁止使用半形小寫英文註冊，請使用大寫英文、中文或符號註冊。');
}
禁止使用半形大寫英文的加入﹕
複製內容到剪貼板代碼:
if(eregi(&#34;[:upper:]&#34;, $username)) {
showmessage('本壇禁止使用半形大寫英文註冊，請使用小寫英文、中文或符號註冊。');
}
禁止使用中文及全形字的加入﹕
複製內容到剪貼板代碼:
if(!eregi(&#34;[:alpha:]&#34;, $username)) {
showmessage('本壇禁止使用中文及全形英文註冊，請使用英文或符號註冊。');
}
禁止使用全形空格的加入﹕
複製內容到剪貼板代碼:
if(ereg(&#34;　&#34;, $username)){
showmessage('本壇禁止使用全形空格註冊，請使用其它字符串。');
}
]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_722" class="wp-caption aligncenter" style="width: 460px; text-align: center;">
<dt class="wp-caption-dt"><img class="size-full wp-image-722" title="discuz6" src="http://www.54tomgo.com/wp-content/uploads/2010/01/discuz.jpg" alt="discuz6" width="450" height="90" /></dt>
<dd class="wp-caption-dd">discuz6</dd>
</dl>
</div>
<p>为了防止中文的垃圾广告用户注册，我在google找到一个代码，修改了discuz6.0正式版的注册方式。代码如下：<span id="more-719"></span></p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">register.php 修改後 或 修改且上傳後 緊記更新緩存</li>
<li>找</li>
<li>複製內容到剪貼板代碼:</li>
<li>if(strlen($username) &amp;gt; 15) {</li>
<li>showmessage('profile_username_toolong');</li>
<li>}</li>
<li>引用:</li>
<li>下面選擇其一即可</li>
<li>禁止使用半形大小寫英文的加入﹕</li>
<li>複製內容到剪貼板代碼:</li>
<li>if(eregi(&quot;[:alpha:]&quot;, $username)) {</li>
<li>showmessage('本壇禁止使用半形英文註冊，請使用中文或符號註冊。');</li>
<li>}</li>
<li>禁止使用半形小寫英文的加入﹕</li>
<li>複製內容到剪貼板代碼:</li>
<li>if(eregi(&quot;[:lower:]&quot;, $username)) {</li>
<li>showmessage('本壇禁止使用半形小寫英文註冊，請使用大寫英文、中文或符號註冊。');</li>
<li>}</li>
<li>禁止使用半形大寫英文的加入﹕</li>
<li>複製內容到剪貼板代碼:</li>
<li>if(eregi(&quot;[:upper:]&quot;, $username)) {</li>
<li>showmessage('本壇禁止使用半形大寫英文註冊，請使用小寫英文、中文或符號註冊。');</li>
<li>}</li>
<li>禁止使用中文及全形字的加入﹕</li>
<li>複製內容到剪貼板代碼:</li>
<li>if(!eregi(&quot;[:alpha:]&quot;, $username)) {</li>
<li>showmessage('本壇禁止使用中文及全形英文註冊，請使用英文或符號註冊。');</li>
<li>}</li>
<li>禁止使用全形空格的加入﹕</li>
<li>複製內容到剪貼板代碼:</li>
<li>if(ereg(&quot;　&quot;, $username)){</li>
<li>showmessage('本壇禁止使用全形空格註冊，請使用其它字符串。');</li>
<li>}</li></ol></div>
]]></content:encoded>
			<wfw:commentRss>http://www.54tomgo.com/archives/719.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>修改shopex4.85的htacess文件，实现301重定向</title>
		<link>http://www.54tomgo.com/archives/707.html</link>
		<comments>http://www.54tomgo.com/archives/707.html#comments</comments>
		<pubDate>Sat, 23 Jan 2010 16:06:25 +0000</pubDate>
		<dc:creator>tomgo</dc:creator>
				<category><![CDATA[心得技巧]]></category>
		<category><![CDATA[升级shopex 4.85]]></category>

		<guid isPermaLink="false">http://www.54tomgo.com/?p=707</guid>
		<description><![CDATA[


shopex485的htacess设置301重定向


 网站升级到Shopex4.85了。这个公布的正式版，小问题不少。升级后发现文章地址、商品地址、帮助中心等等的链接都改变了。Google了很多资料，我决定使用htacess文件的301重定向功能，告诉搜索引擎我的地址改变到哪里。
先把根目录下的root.htacess下载到本地，把root去掉。用文本直接编辑。在原来的代码基础上，加入我修改的代码。下面是我写的代码，可以参考修改。
方法如下：
#$Id: root.htaccess 17348 2008-12-23 05:53:22Z flaboy $
&#160;
AddEncoding gzip .jgz
AddType &#34;text/javascript;charset=UTF-8&#34; .jgz
&#160;
AddEncoding gzip .zcss
AddType &#34;text/css;charset=UTF-8&#34; .zcss
&#160;
&#60;IfModule mod_rewrite.c&#62;
RewriteEngine&#160; on
# 这里是我加入的代码，前面为原来网店的地址，后面是升级后改变的地址。
RewriteCond %{HTTP_HOST} ^www.这个是我的网店地址.com$
RewriteRule ^product_([0-9]+)\.html$ product-$1.html&#160; [R=301,L]
RewriteRule ^feedback\.html$ message.html&#160; [R=301,L]
RewriteRule ^feedback_([0-9]+)\.html$ message-$1.html&#160; [R=301,L]
RewriteRule ^catalog_([0-9]+)\.html$ gallery-$1.html&#160; [R=301,L]
RewriteRule ^list\.html$ gallery.html&#160; [R=301,L]
RewriteRule ^list_([0-9]+)\.html$ gallery---0--$1--index.html&#160; [R=301,L]
RewriteRule ^faq\.html$ page-helpcenter.html&#160; [R=301,L]
RewriteRule ^howtobuy\.html$ page-pay.html [R=301,L]
RewriteRule ^aboutus\.html$ page-about.html [R=301,L]
RewriteRule ^list_recommend\.html$ gallery--t,4-0.html [R=301,L]
RewriteRule ^bulletin\.html$ artlist-107.html [R=301,L]
RewriteRule ^catalog\.html$ page-catalog.html [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_709" class="wp-caption aligncenter" style="width: 460px; text-align: center;">
<dt class="wp-caption-dt"><img class="size-full wp-image-709" title="shopex485的htacess设置301重定向" src="http://www.54tomgo.com/wp-content/uploads/2010/01/shopex485.jpg" alt="shopex485的htacess设置301重定向" width="450" height="94" /></dt>
<dd class="wp-caption-dd">shopex485的htacess设置301重定向</dd>
</dl>
</div>
<p> <a href="http://www.yanwotang.com/">网站</a>升级到Shopex4.85了。这个公布的正式版，小问题不少。升级后发现文章地址、商品地址、帮助中心等等的链接都改变了。Google了很多资料，我决定使用htacess文件的301重定向功能，告诉搜索引擎我的地址改变到哪里。<br />
先把根目录下的root.htacess下载到本地，把root去掉。用文本直接编辑。在原来的代码基础上，加入我修改的代码。下面是我写的代码，可以参考修改。<br />
方法如下：<span id="more-707"></span></p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">#$Id: root.htaccess 17348 2008-12-23 05:53:22Z flaboy $</li>
<li>&nbsp;</li>
<li>AddEncoding gzip .jgz</li>
<li>AddType &quot;text/javascript;charset=UTF-8&quot; .jgz</li>
<li>&nbsp;</li>
<li>AddEncoding gzip .zcss</li>
<li>AddType &quot;text/css;charset=UTF-8&quot; .zcss</li>
<li>&nbsp;</li>
<li>&lt;IfModule mod_rewrite.c&gt;</li>
<li>RewriteEngine&nbsp; on</li>
<li># 这里是我加入的代码，前面为原来网店的地址，后面是升级后改变的地址。</li>
<li>RewriteCond %{HTTP_HOST} ^www.这个是我的网店地址.com$</li>
<li>RewriteRule ^product_([0-9]+)\.html$ product-$1.html&nbsp; [R=301,L]</li>
<li>RewriteRule ^feedback\.html$ message.html&nbsp; [R=301,L]</li>
<li>RewriteRule ^feedback_([0-9]+)\.html$ message-$1.html&nbsp; [R=301,L]</li>
<li>RewriteRule ^catalog_([0-9]+)\.html$ gallery-$1.html&nbsp; [R=301,L]</li>
<li>RewriteRule ^list\.html$ gallery.html&nbsp; [R=301,L]</li>
<li>RewriteRule ^list_([0-9]+)\.html$ gallery---0--$1--index.html&nbsp; [R=301,L]</li>
<li>RewriteRule ^faq\.html$ page-helpcenter.html&nbsp; [R=301,L]</li>
<li>RewriteRule ^howtobuy\.html$ page-pay.html [R=301,L]</li>
<li>RewriteRule ^aboutus\.html$ page-about.html [R=301,L]</li>
<li>RewriteRule ^list_recommend\.html$ gallery--t,4-0.html [R=301,L]</li>
<li>RewriteRule ^bulletin\.html$ artlist-107.html [R=301,L]</li>
<li>RewriteRule ^catalog\.html$ page-catalog.html [R=301,L]</li>
<li>&nbsp;</li>
<li>RewriteRule ^message_618.html$ article-103.html [R=301,L]</li>
<li>RewriteRule ^message_124.html$ article-148.html [R=301,L]</li>
<li>RewriteRule ^message_126.html$ article-150.html [R=301,L]</li>
<li>RewriteRule ^message_127.html$ article-151.html [R=301,L]</li>
<li>RewriteRule ^message_128.html$ article-152.html [R=301,L]</li>
<li>&nbsp;</li>
<li># 设置RewriteBase的值为你的商店目录地址</li>
<li>RewriteBase /</li>
<li>RewriteRule ^themes/.*\.(html|xml)$ / [F]</li>
<li>RewriteCond %{REQUEST_FILENAME} \.(html|xml|....)$</li>
<li>RewriteCond %{REQUEST_FILENAME} !-f</li>
<li>RewriteCond %{REQUEST_FILENAME} !-d</li>
<li>RewriteRule ^(.*)$ index.php?$1 [L]</li>
<li>&lt;/IfModule&gt;</li>
<li>&nbsp;</li>
<li>&lt;IfModule mod_security.c&gt;</li>
<li>SecFilterEngine Off</li>
<li>SecFilterScanPOST Off</li>
<li>&lt;/IfModule&gt;</li></ol></div>
]]></content:encoded>
			<wfw:commentRss>http://www.54tomgo.com/archives/707.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>使用DIV+CSS重构解决在Firefox变形的问题</title>
		<link>http://www.54tomgo.com/archives/663.html</link>
		<comments>http://www.54tomgo.com/archives/663.html#comments</comments>
		<pubDate>Thu, 26 Nov 2009 06:18:13 +0000</pubDate>
		<dc:creator>tomgo</dc:creator>
				<category><![CDATA[心得技巧]]></category>
		<category><![CDATA[DIV+CSS网页重构]]></category>

		<guid isPermaLink="false">http://www.54tomgo.com/?p=663</guid>
		<description><![CDATA[


div+css重构


一直以来都是使用table来建立网站，繁重的工作，臃肿的代码，每次想修改的时候，要重头在photoshop切图，再重新编辑，实在是累人，而且到最后在浏览器测试的时候，发现错误，又要重新修改。而且还要考虑到兼容firefox浏览器的问题。
这两天买了金峰老师编写的《变幻之美：DIV+CSS网页布局揭秘》，如获至宝。虽然以前对DIV+CSS有基础的学习，但是对PSD图片切图到对HTML的编写过程不多。看了30页后，我就决定对淘宝的旺铺进行修改，从而解决在firefox中的table变性的问题。
按照思路，我先把结构重构代码是
&#60;div id=&#34;notice&#34;&#62;
&#160;&#160; &#160; &#60;div id=&#34;zuo&#34;&#62;&#60;/div&#62;
&#160;&#160; &#160; &#60;div id=&#34;zhong&#34;&#62;&#60;/div&#62;
&#160;&#160; &#160; &#60;div id=&#34;you&#34;&#62;&#60;/div&#62;
&#60;/div&#62;
把广告为左中右三个结构。然后继续晚上结构。
&#60;div id=&#34;notice&#34;&#62;
&#160;&#160; &#160; &#60;div id=&#34;zuo&#34;&#62;&#60;/div&#62;
&#160;&#160; &#160; &#60;div id=&#34;zhong&#34;&#62;&#60;/div&#62;
&#160;&#160; &#160; &#60;div id=&#34;you&#34;&#62;
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#60;div id=&#34;youding&#34;&#62;&#60;/div&#62;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#60;div id=&#34;youdi&#34;&#62;&#60;/div&#62;
&#160;&#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_664" class="wp-caption aligncenter" style="width: 460px; text-align: center;">
<dt class="wp-caption-dt"><img class="size-full wp-image-664" title="div+css重构" src="http://www.54tomgo.com/wp-content/uploads/2009/11/divcss.jpg" alt="div+css重构" width="450" height="111" /></dt>
<dd class="wp-caption-dd">div+css重构</dd>
</dl>
</div>
<p>一直以来都是使用table来建立网站，繁重的工作，臃肿的代码，每次想修改的时候，要重头在photoshop切图，再重新编辑，实在是累人，而且到最后在浏览器测试的时候，发现错误，又要重新修改。而且还要考虑到兼容firefox浏览器的问题。<br />
这两天买了金峰老师编写的《变幻之美：DIV+CSS网页布局揭秘》，如获至宝。虽然以前对DIV+CSS有基础的学习，但是对PSD图片切图到对HTML的编写过程不多。看了30页后，我就决定对淘宝的旺铺进行修改，从而解决在firefox中的table变性的问题。<span id="more-663"></span><br />
按照思路，我先把结构重构代码是</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">&lt;div id=&quot;notice&quot;&gt;</li>
<li>&nbsp;&nbsp; &nbsp; &lt;div id=&quot;zuo&quot;&gt;&lt;/div&gt;</li>
<li>&nbsp;&nbsp; &nbsp; &lt;div id=&quot;zhong&quot;&gt;&lt;/div&gt;</li>
<li>&nbsp;&nbsp; &nbsp; &lt;div id=&quot;you&quot;&gt;&lt;/div&gt;</li>
<li>&lt;/div&gt;</li></ol></div>
<p>把广告为左中右三个结构。然后继续晚上结构。</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">&lt;div id=&quot;notice&quot;&gt;</li>
<li>&nbsp;&nbsp; &nbsp; &lt;div id=&quot;zuo&quot;&gt;&lt;/div&gt;</li>
<li>&nbsp;&nbsp; &nbsp; &lt;div id=&quot;zhong&quot;&gt;&lt;/div&gt;</li>
<li>&nbsp;&nbsp; &nbsp; &lt;div id=&quot;you&quot;&gt;</li>
<li>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;div id=&quot;youding&quot;&gt;&lt;/div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;div id=&quot;youdi&quot;&gt;&lt;/div&gt;</li>
<li>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/div&gt;</li>
<li>&lt;/div&gt;</li></ol></div>
<p>把右侧的上下架构定义出来。然后的工作就是做CSS的排版定位工作了。<br />
CSS代码也是慢慢的完善，这里我学习了金峰老师的良好习惯，把每个部位都定义背景色，这样就可以在排版错误后，看清楚错误在什么地方，修改就很方便了。使用Dreamweaver的CSS代码编写工具，可视化编辑，非常方便，不需要记住繁琐的CSS代码。最后代码如下：
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">#notice {</li>
<li>	clear: both;</li>
<li>	margin: auto;</li>
<li>	height: 220px;</li>
<li>	width: 738px;</li>
<li>}</li>
<li>&nbsp;</li>
<li>&nbsp;&nbsp; &nbsp; #notice #zuo {</li>
<li>	clear: none;</li>
<li>	float: left;</li>
<li>	height: 220px;</li>
<li>	width: 461px;</li>
<li>	background-image: url(images/divnotice_01.jpg);</li>
<li>	background-repeat: no-repeat;</li>
<li>}</li>
<li>&nbsp;#notice #zuo&nbsp; p {</li>
<li>	height: 170px;</li>
<li>	width: 368px;</li>
<li>	margin-top: 23px;</li>
<li>	margin-bottom: auto;</li>
<li>	margin-left: 26px;</li>
<li>	float: none;</li>
<li>	font-size: 12px;</li>
<li>	color: #FFFF00;	</li>
<li>&nbsp;}</li>
<li>#notice #zuo&nbsp; p&nbsp; a {</li>
<li>	font-size: 12px;</li>
<li>	color: #FFFF00;</li>
<li>	text-decoration: none;</li>
<li>	}</li>
<li>#notice #zuo&nbsp; p a:hover {</li>
<li>	font-size: 12px;</li>
<li>	color: #FFFF00;</li>
<li>	text-decoration: underline;</li>
<li>}</li>
<li>&nbsp;</li>
<li>#notice #zhong {</li>
<li>	</li>
<li>	float: left;</li>
<li>	height: 220px;</li>
<li>	width: 143px;</li>
<li>	background-image: url(images/divnotice_02.jpg);</li>
<li>}</li>
<li>	</li>
<li>	#notice #you {</li>
<li>	</li>
<li>	float: right;</li>
<li>	height: 220px;</li>
<li>	width: 134px; }</li>
<li>	</li>
<li>	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #notice #you #youding{</li>
<li>	</li>
<li>	clear: right;</li>
<li>	float: left;</li>
<li>	height: 111px;</li>
<li>	width: 134px;</li>
<li>&nbsp;	background-image: url(images/divnotice_03.jpg);</li>
<li>	background-repeat: no-repeat;</li>
<li>}</li>
<li>	</li>
<li>	#notice #you #youdi{</li>
<li>	background-color: #FF33FF;</li>
<li>	clear: both;</li>
<li>	float: left;</li>
<li>	height: 109px;</li>
<li>	width: 134px;}</li></ol></div>
<p>搞定后，想去淘宝直接使用发现一个难题，原来淘宝对CSS文件，是要过滤屏蔽的。而且也不能直接在网页定义
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">&lt;style&gt;</li></ol></div>
<p>这个非常不爽。借鉴了一些装修店铺的方法，得到了解决之道。我把每个div层，都定义
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">&lt;div id=&quot;notice&quot; style=&quot;这里复制层的CSS样式;&quot;&gt;</li></ol></div>
<p>这样就不需要引用外部的CSS文件了。最终代码如下：</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">&lt;div id=&quot;notice&quot; style=&quot;clear: both;</li>
<li>	margin: auto;</li>
<li>	height: 220px;</li>
<li>	width: 738px;&quot;&gt;</li>
<li>&nbsp;&nbsp; &nbsp;&lt;div id=&quot;zuo&quot; style=&quot;clear: none;</li>
<li>	float: left;</li>
<li>	height: 220px;</li>
<li>	width: 461px;</li>
<li>	background-image: url(http://www.yanwotang.com/taobao/divnotice_01.jpg);</li>
<li>	background-repeat: no-repeat; &quot;&gt;</li>
<li>&lt;p style=&quot;height: 170px;</li>
<li>	width: 368px;</li>
<li>	margin-top: 23px;</li>
<li>	margin-bottom: auto;</li>
<li>	margin-left: 26px;</li>
<li>	float: none;</li>
<li>	font-size: 12px;</li>
<li>	color: #FFFF00;	 &quot;&gt;&lt;img height=&quot;13&quot; alt=&quot;第一&quot; src=&quot;http://www.yanwotang.com/taobao/1.gif&quot; width=&quot;13&quot; /&gt;燕窝堂官方网站地址www.yanwotang.com，热线400-666-0092&lt;br /&gt;&lt;br /&gt;</li>
<li>&nbsp; &lt;img height=&quot;13&quot; alt=&quot;第二&quot; src=&quot;http://www.yanwotang.com/taobao/2.gif&quot; width=&quot;13&quot; /&gt;购买燕窝堂的正价燕窝，可以获得96折优惠。(&lt;a href=&quot;##&quot; target=&quot;_blank&quot;&gt;特价除外&lt;/a&gt;)</li>
<li>&nbsp; &lt;br /&gt;&lt;br /&gt;</li>
<li>&nbsp; &lt;img height=&quot;13&quot; alt=&quot;第三&quot; src=&quot;http://www.yanwotang.com/taobao/3.gif&quot; width=&quot;13&quot; /&gt;凡购买任意一两燕窝堂燕窝，送精美礼品。(&lt;a title=&quot;最新优惠活动&quot; href=&quot;http://shop34282253.taobao.com/shop/xshop/wui_page-16104846.htm&quot;&gt;礼品请见最新活动&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;</li>
<li>&nbsp; &lt;img height=&quot;13&quot; alt=&quot;第四&quot; src=&quot;http://www.yanwotang.com/taobao/4.gif&quot; width=&quot;13&quot; /&gt;单品种燕窝购买一斤或以上，可按照批发价格购买，批发包快递。&lt;br /&gt;&lt;br /&gt;</li>
<li>&nbsp; &lt;img height=&quot;13&quot; alt=&quot;第五&quot; src=&quot;http://www.yanwotang.com/taobao/5.gif&quot; width=&quot;13&quot; /&gt;&lt;a href=&quot;http://auction1.taobao.com/auction/item_detail-db1-d26069e6a0ec7982fd166a302e12dc08.jhtml&quot; target=&quot;_blank&quot;&gt;办理成为燕窝堂金卡会员，可终生享受正价燕窝9折优惠。&lt;/a&gt;&lt;br /&gt;</li>
<li>&nbsp; &lt;strong&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.yanwotang.com/taobao/taobaonew.gif&quot; border=&quot;0&quot; /&gt;&lt;/strong&gt; 好消息:&lt;a title=&quot;送燕窝食谱一本&quot; href=&quot;http://item.taobao.com/auction/item_detail-0db1-6177dcee426637f311383fb708506df7.htm&quot; target=&quot;_blank&quot;&gt;买即免费送《燕窝与其他保健品食谱》一本&lt;/a&gt;&lt;img alt=&quot;&quot; src=&quot;images/icon_notice_new.gif&quot; /&gt;</li>
<li>&nbsp;&nbsp; &nbsp;&lt;/div&gt;</li>
<li>	</li>
<li>	</li>
<li>	&lt;div style=&quot;float: left;</li>
<li>	height: 220px;</li>
<li>	width: 143px;</li>
<li>	background-image: url(http://www.yanwotang.com/taobao/divnotice_02.jpg); &quot;&gt; </li>
<li>	&lt;/div&gt;</li>
<li>	</li>
<li>	</li>
<li>	&lt;div id=&quot;you&quot; style=&quot; float: right;</li>
<li>	height: 220px;</li>
<li>	width: 134px;&quot;&gt;</li>
<li>	&lt;div id=&quot;youding&quot; style=&quot; clear: right;</li>
<li>	float: left;</li>
<li>	height: 111px;</li>
<li>	width: 134px;</li>
<li>&nbsp;	background-image: url(http://www.yanwotang.com/taobao/divnotice_03.jpg);</li>
<li>	background-repeat: no-repeat;&quot;&gt;&nbsp; &lt;/div&gt;</li>
<li>	&lt;div id=&quot;youdi&quot; style=&quot; 	background-color: #FF33FF;</li>
<li>	clear: both;</li>
<li>	float: left;</li>
<li>	height: 109px;</li>
<li>	width: 134px;&quot;&gt;&lt;a href=&quot;##&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://www.yanwotang.com/taobao/divnotice_04.jpg&quot; alt=&quot;收藏本店后,请通知我们客服送礼品&quot; border=&quot;0&quot;&nbsp; /&gt;&lt;/a&gt;&lt;/div&gt;</li>
<li>	</li>
<li>	&lt;/div&gt;</li>
<li>&nbsp;</li>
<li>&lt;/div&gt;</li></ol></div>
<p>这里纯粹记录我的学习过程，希望大家一起探讨CSS的乐趣。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.54tomgo.com/archives/663.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>推荐个小游戏《植物大战僵尸》,附下载地址</title>
		<link>http://www.54tomgo.com/archives/641.html</link>
		<comments>http://www.54tomgo.com/archives/641.html#comments</comments>
		<pubDate>Sat, 14 Nov 2009 02:54:43 +0000</pubDate>
		<dc:creator>tomgo</dc:creator>
				<category><![CDATA[IT话题]]></category>
		<category><![CDATA[心得技巧]]></category>
		<category><![CDATA[植物大战僵尸]]></category>
		<category><![CDATA[游戏]]></category>

		<guid isPermaLink="false">http://www.54tomgo.com/?p=641</guid>
		<description><![CDATA[


植物大战僵尸


         本人平常不怎么玩游戏，也不玩网络游戏。以前也就玩玩一些单机游戏。偶尔在落伍者论坛看到有人在玩《植物大战僵尸》，说这个游戏是09年最受欢迎小游戏。无聊的时候下载来玩了下，还真不错。用了两天空闲时间通关了。30多M的小游戏，可玩性很强。
下载地址：
http://download.pchome.net/dlgame/pcgame/minigame/detail-170949.html
]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_642" class="wp-caption aligncenter" style="width: 460px; text-align: center;">
<dt class="wp-caption-dt"><img class="size-full wp-image-642" title="植物大战僵尸" src="http://www.54tomgo.com/wp-content/uploads/2009/11/zombie.jpg" alt="植物大战僵尸" width="450" height="309" /></dt>
<dd class="wp-caption-dd">植物大战僵尸</dd>
</dl>
</div>
<p>         本人平常不怎么玩游戏，也不玩网络游戏。以前也就玩玩一些单机游戏。偶尔在落伍者论坛看到有人在玩《植物大战僵尸》，说这个游戏是09年最受欢迎小游戏。无聊的时候下载来玩了下，还真不错。用了两天空闲时间通关了。30多M的小游戏，可玩性很强。<span id="more-641"></span></p>
<p>下载地址：</p>
<p>http://download.pchome.net/dlgame/pcgame/minigame/detail-170949.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.54tomgo.com/archives/641.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决了搜索不到我家里的路由器信号的问题</title>
		<link>http://www.54tomgo.com/archives/623.html</link>
		<comments>http://www.54tomgo.com/archives/623.html#comments</comments>
		<pubDate>Mon, 02 Nov 2009 01:41:45 +0000</pubDate>
		<dc:creator>tomgo</dc:creator>
				<category><![CDATA[心得技巧]]></category>
		<category><![CDATA[路由器]]></category>
		<category><![CDATA[路由器问题]]></category>

		<guid isPermaLink="false">http://www.54tomgo.com/?p=623</guid>
		<description><![CDATA[


搜索不到路由器信息


         昨天上网的网速非常的慢，于是我把TP-Link路由器重启了一下，这下怪事发生了，我的IBM笔记本搜索不到家里的路由了。开始还以为是路由的问题，但是我老婆的HP笔记本可以搜索到家里的路由，可以正常上网。而我搜索了一下附近的路由，搜索到10多个路由信号，就是搜索不到我家里的路由信息。太奇怪了。
         这两天直接插着网线上网，非常不爽。今天晚上到Google那里搜索了一下，终于把问题解决了。解决方法有两个：1.登陆路由界面，我的是在输入地址192.168.1.1，登陆后看SSID广播是否允许。2.可以修改路由器信号的频段。
        我进去后，看到SSID是允许了，一般在6频段的路由比较多，我设置为5频段。把路由软重启后，重新搜索路由，终于搜索到了，也连上了可以上网了。
        OH~yeah~~!原来是频段的问题。下次难不到我了。呵呵。



路由器信号问题


]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_624" class="wp-caption aligncenter" style="width: 460px; text-align: center;">
<dt class="wp-caption-dt"><img class="size-full wp-image-624" title="搜索不到路由器信息" src="http://www.54tomgo.com/wp-content/uploads/2009/10/luyou.jpg" alt="搜索不到路由器信息" width="450" height="71" /></dt>
<dd class="wp-caption-dd">搜索不到路由器信息</dd>
</dl>
</div>
<p>         昨天上网的网速非常的慢，于是我把TP-Link路由器重启了一下，这下怪事发生了，我的IBM笔记本搜索不到家里的路由了。开始还以为是路由的问题，但是我老婆的HP笔记本可以搜索到家里的路由，可以正常上网。而我搜索了一下附近的路由，搜索到10多个路由信号，就是搜索不到我家里的路由信息。太奇怪了。<span id="more-623"></span><br />
         这两天直接插着网线上网，非常不爽。今天晚上到Google那里搜索了一下，终于把问题解决了。解决方法有两个：1.登陆路由界面，我的是在输入地址192.168.1.1，登陆后看SSID广播是否允许。2.可以修改路由器信号的频段。<br />
        我进去后，看到SSID是允许了，一般在6频段的路由比较多，我设置为5频段。把路由软重启后，重新搜索路由，终于搜索到了，也连上了可以上网了。<br />
        OH~yeah~~!原来是频段的问题。下次难不到我了。呵呵。</p>
<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_625" class="wp-caption aligncenter" style="width: 460px; text-align: center;">
<dt class="wp-caption-dt"><img class="size-full wp-image-625" title="路由器信号问题" src="http://www.54tomgo.com/wp-content/uploads/2009/10/luyou1.jpg" alt="路由器信号问题" width="450" height="199" /></dt>
<dd class="wp-caption-dd">路由器信号问题</dd>
</dl>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.54tomgo.com/archives/623.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

