Archive

Archive for July, 2008

windows install ubuntu with wubi

July 29th, 2008 humker No comments

下载daemon tools,ubuntu8.04 hardy.iso到一个windows的一个盘中。安装daemon tools挂载ubuntu8.04 hardy.iso镜像,自动弹出安装的对话框。其中有一个选项是选择安装到哪一个盘,一定要记住安装到的目的盘要有5g的空余空间。这种安装方法快捷,可以玩一玩,目前用ubuntu办公是不大现实的。
Read more…

Categories: 软件使用 Tags: , ,

中国古代箴言

July 27th, 2008 humker No comments

今天搜索一本电子书的中文版,到一个坛子看到了一个网友的签名档,对偶和排比的句子。自己有时间就搜集一些,这些东西朗朗上口。

孰能浊以静之徐清  孰能安以动之徐生。 
风来疏竹  风过而竹不留声;
雁照寒塘  雁去而塘不留影;
故君子事来而心始现  事去而心随空。

短短的几句话蕴含了很多的道理。辩证中庸观念在中国古代盛行,至今还影响着中国人的处事为人。

Categories: 生活琐记 Tags:

wordpress iis url rewrite

July 26th, 2008 humker No comments

本站wordpress iis 下 url 重写规则,基本上是抄来的。
使用的是isapi,好像还有一个mod_rewrite没有过多研究。

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP

# # Below is for permalink like /%year%/%monthnum%/%day%/%postname%/
# # Maybe dumplicate with above!!

RewriteRule /tag/(.*) /index\.php\?tag=$1

RewriteRule /(contact|about-copyright|favor|archives|tags|sitemap|about)/ /index\.php\?pagename=$1

RewriteRule /category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed\.php\?category_name=$1&feed=$2

RewriteRule /category/?(.*)/ /index\.php\?category_name=$1

RewriteRule /author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed\.php\?author_name=$1&feed=$2

RewriteRule /author/?(.*) /index\.php\?author_name=$1

RewriteRule /feed/?$ /wp-feed\.php/\?feed=rss2

RewriteRule /comments/feed/?$ /wp-feed\.php/\?feed=comments-rss2

RewriteRule /page/(.*)/ /index\.php\?paged=$1

RewriteRule /([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/?([0-9]+)?/?$ /index\.php\?year=$1&monthnum=$2&day=$3&name=$4&page=$5

RewriteRule /([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /index\.php\?year=$1&monthnum=$2&day=$3&page=$4

RewriteRule /([0-9]{4})/([0-9]{1,2})/?$ /index\.php\?year=$1&monthnum=$2&page=$3

RewriteRule /([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index\.php\?year=$1&monthnum=$2&day=$3&name=$4&feed=$5

RewriteRule /([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/trackback/?$ /wp-trackback\.php\?year=$1&monthnum=$2&day=$3&name=$4&tb=1

RewriteRule /page/(.*)/?s=(.*)    /index\.php\?s=$2&paged=$1

Categories: Wordpress Tags:

wordpress默认主题新的思考

July 25th, 2008 humker 2 comments

wordpress默认主题从刚开始接触到现在基本没有改过,蓝调子,丑死了。

现在从textpattern换成了wordpress,默认主题改观很大,基本该有的标签都有了,比较容易改,改css就可以换套皮肤了。

世界在变,你得慢慢的体会她。

Categories: Wordpress Tags:

Wordpress Update Services功能

July 25th, 2008 humker No comments

Wordpress的update services功能简单点说,就是,当你的blog有文章更新了,会向搜索引擎发一个更新通知,然后它们会迅速的收录这篇文章。这也是种重要的SEO优化方式。

Wordpress后台可以轻松实现这个功能,在管理后台的“设置”-“录入”下,将wordpress默认提供的地址列表放进去。

http://rpc.pingomatic.com/
http://blogsearch.google.com/ping/RPC2
http://www.xianguo.com/xmlrpc/ping.php
http://www.feedsky.com/api/RPC2
http://ping.feedburner.com/
http://blog.yodao.com/ping/RPC2
http://www.zhuaxia.com/rpc/server.php
http://rpc.technorati.com/rpc/ping

Categories: Wordpress Tags: