Author Archive
Finding the Best Webhosting Plan for Your Company
When searching for a webhosting plan for you company’s online business, a webhosting list will help you out. The list often presents a comprehensive top webhosting providers in the industry. Webhostinggeeks.com is such a great ranking list where you can find out your ideal hosting plan that best suits you, and meanwhile make your hosting finding less overwhelming.
自然醒原创摄影:three on the bike
透過 Flickr:
汾阳路. Fen Yang Rd, Shanghai.
Copyright © Shanghai Stream and ZiRanXing.
Selecting the Right Webhosting Package for Your Website
It is not easy when it comes to finding the right webhosting for your website of online business. You should be aware that you need a reliable webhosting package at an affordable price to avoid the possible headache and the downtime of the website in the future.
The good news is, WebHostingRating.com is one of the best web hosting rating where you can find out your ideal hosting plan that best suits you, and meanwhile make your hosting finding less overwhelming.
WebHostingRating provides you a complete up-to-date list of top 10 web hosting sites, based on features like disk space, monthly traffic limitation, price, and overall web host rating. With the trusted and comprehensive comparison, it really saves a bit of our time and money when choosing your hosting. It can’t be easier!
What’s more, there are a lot resources and articles for you to start your website and business in a quick and easy manner. For example, you can refer to the hosting guide section to find out more.
Why not visit WebHostingRating for more details and make your hosting research easier.
网站大提速:CloudFlare 免费 CDN 缓存加速服务
在好友 bisn 的分享下,试了下 cloudflare.com 的免费 CDN 加速技术,貌似自然醒博客访问速度真的变快了。很简单,注册之后,共4步骤,它会自动分析你的 DNS 及线路节点,最后只要修改你的 DNS 为 它的 dns 就 OK。这里就不赘述了。cloudflare 主要缓存 css,js,jpg等静态文件,具体文件后缀列表见文末。
下面是设置前后,ping 及 tracert 测试:
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>ping www.dreamfreeblog.com
Pinging dreamfreeblog.com [67.228.229.187] with 32 bytes of data:
Reply from 67.228.229.187: bytes=32 time=436ms TTL=40
Reply from 67.228.229.187: bytes=32 time=431ms TTL=40
Reply from 67.228.229.187: bytes=32 time=433ms TTL=40
Reply from 67.228.229.187: bytes=32 time=442ms TTL=40
Ping statistics for 67.228.229.187:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 431ms, Maximum = 442ms, Average = 435ms
C:\Documents and Settings\Administrator>ping www.dreamfreeblog.com
Pinging dreamfreeblog.com [67.228.229.187] with 32 bytes of data:
Reply from 67.228.229.187: bytes=32 time=414ms TTL=40
Reply from 67.228.229.187: bytes=32 time=435ms TTL=40
Reply from 67.228.229.187: bytes=32 time=433ms TTL=40
Reply from 67.228.229.187: bytes=32 time=420ms TTL=40
Ping statistics for 67.228.229.187:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 414ms, Maximum = 435ms, Average = 425ms
C:\Documents and Settings\Administrator>ping www.dreamfreeblog.com
Pinging dreamfreeblog.com [67.228.229.187] with 32 bytes of data:
Reply from 67.228.229.187: bytes=32 time=431ms TTL=40
Reply from 67.228.229.187: bytes=32 time=430ms TTL=40
Reply from 67.228.229.187: bytes=32 time=422ms TTL=40
Reply from 67.228.229.187: bytes=32 time=433ms TTL=40
Ping statistics for 67.228.229.187:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 422ms, Maximum = 433ms, Average = 429ms
C:\Documents and Settings\Administrator>tracert www.dreamfreeblog.com
Tracing route to dreamfreeblog.com [67.228.229.187]
over a maximum of 30 hops:
1 1 ms <1 ms <1 ms 219.228.116.254
2 <1 ms <1 ms <1 ms 10.19.59.253
3 <1 ms <1 ms <1 ms 10.3.2.41
4 <1 ms <1 ms <1 ms 10.3.0.10
5 1 ms 1 ms 1 ms 10.3.0.50
6 1 ms 1 ms 1 ms 202.120.201.198
7 1 ms 1 ms 1 ms 202.112.6.89
8 2 ms * 1 ms sh0.cernet.net [202.112.53.89]
9 7 ms 10 ms 7 ms 202.112.36.253
10 29 ms 46 ms 30 ms bj-11-p11-1.cernet.net [202.112.46.5]
11 29 ms * 29 ms 202.112.61.158
12 29 ms 29 ms * 202.112.61.122
13 234 ms 304 ms 228 ms so-0-0-2-0.gw4.hkg3.asianetcom.net [202.147.17.1
3]
14 258 ms 246 ms 242 ms ge-2-0-0-0.cr4.hkg3.asianetcom.net [203.192.134.
69]
15 * 229 ms 225 ms te0-2-2-0.wr1.hkg0.asianetcom.net [61.14.157.141
]
16 276 ms 282 ms 284 ms te0-2-0-0.wr1.osa0.asianetcom.net [61.14.157.70]
17 399 ms 394 ms * gi6-0-0.gw1.sjc1.asianetcom.net [61.14.157.98]
18 413 ms 415 ms 415 ms te1-7.bbr01.eq01.sjc01.networklayer.com [206.223
.116.176]
19 415 ms 410 ms 401 ms ae0.bbr02.wb01.sea02.networklayer.com [173.192.1
8.146]
20 416 ms 422 ms 428 ms ae1.dar01.sr01.sea01.networklayer.com [173.192.1
8.143]
21 418 ms 414 ms * po1.fcr01.sr01.sea01.networklayer.com [67.228.11
8.134]
22 428 ms 429 ms 414 ms 67.228.229.187-static.reverse.softlayer.com [67.
228.229.187]
Trace complete.
C:\Documents and Settings\Administrator>ping www.dreamfreeblog.com
Pinging dreamfreeblog.com [67.228.229.187] with 32 bytes of data:
Request timed out.
Reply from 67.228.229.187: bytes=32 time=427ms TTL=40
Reply from 67.228.229.187: bytes=32 time=436ms TTL=40
Reply from 67.228.229.187: bytes=32 time=426ms TTL=40
Ping statistics for 67.228.229.187:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 426ms, Maximum = 436ms, Average = 429ms
C:\Documents and Settings\Administrator>ping www.dreamfreeblog.com
Pinging dreamfreeblog.com [67.228.229.187] with 32 bytes of data:
Reply from 67.228.229.187: bytes=32 time=427ms TTL=40
Reply from 67.228.229.187: bytes=32 time=411ms TTL=40
Reply from 67.228.229.187: bytes=32 time=432ms TTL=40
Reply from 67.228.229.187: bytes=32 time=433ms TTL=40
Ping statistics for 67.228.229.187:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 411ms, Maximum = 433ms, Average = 425ms
cloudflare cdn 加速之后,3次 ping 平均响应时间只要 200 左右了
C:\Documents and Settings\Administrator>ping www.dreamfreeblog.com
Pinging dreamfreeblog.com [173.245.61.114] with 32 bytes of data:
Reply from 173.245.61.114: bytes=32 time=223ms TTL=48
Reply from 173.245.61.114: bytes=32 time=218ms TTL=48
Reply from 173.245.61.114: bytes=32 time=244ms TTL=48
Reply from 173.245.61.114: bytes=32 time=228ms TTL=48
Ping statistics for 173.245.61.114:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 218ms, Maximum = 244ms, Average = 228ms
C:\Documents and Settings\Administrator>ping www.dreamfreeblog.com
Pinging dreamfreeblog.com [199.27.135.40] with 32 bytes of data:
Reply from 199.27.135.40: bytes=32 time=179ms TTL=47
Reply from 199.27.135.40: bytes=32 time=178ms TTL=47
Reply from 199.27.135.40: bytes=32 time=183ms TTL=47
Reply from 199.27.135.40: bytes=32 time=177ms TTL=47
Ping statistics for 199.27.135.40:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 177ms, Maximum = 183ms, Average = 179ms
C:\Documents and Settings\Administrator>ping www.dreamfreeblog.com
Pinging dreamfreeblog.com [199.27.135.40] with 32 bytes of data:
Reply from 199.27.135.40: bytes=32 time=196ms TTL=47
Reply from 199.27.135.40: bytes=32 time=215ms TTL=47
Reply from 199.27.135.40: bytes=32 time=198ms TTL=47
Reply from 199.27.135.40: bytes=32 time=187ms TTL=47
Ping statistics for 199.27.135.40:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 187ms, Maximum = 215ms, Average = 199ms
tracert 之后可以看到,到 hkg4.asianetcom.net 之后,直接 cloudflare 了
C:\Documents and Settings\Administrator>tracert www.dreamfreeblog.com
Tracing route to dreamfreeblog.com [199.27.135.40]
over a maximum of 30 hops:
1 1 ms 1 ms <1 ms 219.228.116.254
2 <1 ms <1 ms <1 ms 10.19.59.253
3 <1 ms <1 ms <1 ms 10.3.2.41
4 <1 ms <1 ms <1 ms 10.3.0.10
5 <1 ms <1 ms <1 ms 10.3.0.50
6 3 ms 1 ms 1 ms 202.120.201.198
7 2 ms 1 ms 1 ms 202.112.6.89
8 15 ms 1 ms 1 ms 202.112.53.137
9 7 ms 7 ms 10 ms 202.112.36.37
10 24 ms 24 ms 24 ms 202.112.62.57
11 29 ms 29 ms 29 ms 202.112.61.158
12 29 ms 29 ms 29 ms 202.112.61.14
13 159 ms 158 ms 157 ms so-0-0-2-0.gw4.hkg3.asianetcom.net [202.147.17.1
3]
14 * 152 ms 155 ms gi3-0-0.cr3.hkg3.asianetcom.net [203.192.134.65]
15 168 ms 170 ms 174 ms te2-2.gw1.hkg4.asianetcom.net [202.147.16.202]
16 164 ms 163 ms 177 ms CDF-0002.gw1.hkg4.asianetcom.net [202.147.17.182
]
17 178 ms 173 ms 172 ms cf-199-27-135-40.cloudflare.com [199.27.135.40]
Trace complete.
cloudflare 主要缓存下列静态文件:
css
js
jpg
jpeg
gif
ico
png
bmp
pict
csv
doc
pdf
pls
ppt
tif
tiff
eps
swf
midi
mid
ttf
eot
woff
svg
svgz
webp
自然醒原创摄影:looking up 2011.09.25 淮海西路
自然醒原创摄影:looking up 2011.09.25 淮海西路
透過 Flickr:
淮海西路. West Huai Hai Rd, Shanghai.
Copyright © Shanghai Stream and ZiRanXing.
如何排除WordPress rss feed特定分类目录
如果想要使 WordPress feed 里不显示某分类的文章,比如这里想排除干扰大家订阅阅读的英文评论的文章,一个快速的方法是在 functions.php 里排除,添加如下代码,指定你的分类 ID
function wp_exclude_category($query) {
if ($query->is_feed) {
$query->set('cat','-1'); //Category ID
}
return $query;
}
add_filter('pre_get_posts','wp_exclude_category');
多个分类可以使用形如 '-1,-2,-3'表示,这样就可以轻松排除指定目录在 RSS 里更新。当然,也可以使用插件完成,Ultimate Category Excluder, 木试过。
至此,自然醒域名( http://ziranxing.com/ )已经半自动切换完成
因为自然醒 首页已经用 PHP 聚合了目前博客的最新日志啦。方便大家直接输入域名访问,如果大家记住了的话。




