WordPress 2.1发布
Tuesday, January 23rd, 2007这段时间网速奇慢,加上年底工作紧张也就没时间来打理这里。
刚看到代号为Ella的 WordPress 2.1发布了,从2.0.6到2.0.7我一直没有升级。主要还是版本对我使用的几个插件兼容问题及2.0.6也存在Bug,也就没有考虑升级。
WordPress 2.1改进了550个bug fixes以及改进后的性能看都是值得升级的,所以这次准备把我的2.0.5升级到目前的2.1版同时将一些插件也做一次升级,不过大家在升级之前一定要做好备份工作,以免不必要的损失。
更新的特性名抱:参考Yskin
•Autosave makes sure you never lose a post again.
•Our new tabbed editor allows you to switch between WYSIWYG and code editing instantly while writing a post.
•The lossless XML import and export makes it easy for you to move your content between WordPress blogs.
•Our completely redone visual editor also now includes spell checking
•New search engine privacy option allows you take you to indicate your blog shouldn’t ping or be indexed by search engines like Google.
•You can set any “page” to be the front page of your site, and put the latest posts somewhere else, making it much easier to use WordPress as a content management system.
•Much more efficient database code, faster than previous versions.Domas Mituzas from MySQL went over all our queries with a fine-toothed comb.
•Links in your blogroll now support sub-categories and you can add categories on the fly.
•Redesigned login screen from the Shuttle project.
•More AJAX to make custom fields, moderation, deletions, and more
all faster. My favorite is the comments page, which new lets you
approve or unapprove things instantly.
•Pages can now be drafts, or private.
•Our admin has been refreshed to load faster and be more visually consistent.
•The dashboard now instantly and brings RSS feeds asynchronously in the background.
•Comment feeds now include all the comments, not just the last 10.
•Better internationalization and support for right-to-left languages.
•The upload manager lets you easily manage all your uploads pictures, video, and audio.
•A new version of the Akismet plugin is bundled.
Update:
1、升级后基本正常,单心的几个插件也能正常运行,速度也有了明显的提升。
2、地震还在继续影响,还没有测试模板块是否正常。
Apache Rewrite 静态化问题
Thursday, September 28th, 2006从Googe上找到的几个Apache Rewrite规则说明,对Apache Rewrite的规则仔细研究一下,因为我从DH开了一个二级域名,放上了sNews程序,利用Apache Rewrite实现了表态化。这时问题出现了,此二级域名下的目录怎么也找不到(如images,lib,css),导致无法打开样式表及图片文件。我试着修改了RewriteCond %{REQUEST_FILENAME} !-d为RewriteCond %{REQUEST_FILENAME} !-f,这样下面的规则全不起作用了,直接重定向到index.php了,不知道这是什么原因,有解吗?
程序.htaccess如下:
php_value session.use_trans_sid 0
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ index.php?category=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z_]+)/([^/]+) index.php?category=$1&title=$2 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z_]+)/([^/]+)/([^/]+)/ index.php?category=$1&title=$2&commentspage=$3 [L]
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^([a-z0-9_-]+)/([0-9]+)/ index.php?category=$1 articlespage=$2 [L]
最近的行踪
Friday, August 11th, 2006 又好一段时间没更新了,一直忙着自己的一个项目,不久将正式上线测试。由于对PHP技术了解的不多, 而程序又是建立在PHP+Mysql的架构下,所以一边抱着PHP大全一边写着代码,也是一直没Post的原因,惭愧呀…….
现在项目框架基本成形,目前最大的问题是服务器没有解决,如果服务器在下周能到位将进入第一阶段的测试……