Wordpress 2.1 Ella 1月 28th, 2007

          无聊把Wordpress从2.0.7升级到了最新的2.1 Ella版本,原来的模板无法使用,换了一个,修修改改花了不少时间,还好大部分插件都还使用正常,原先系统集成的Database Backup插件已经被移除,可以到这里下载新版。最好用的一个功能,现在我在发布新Post的时候,可以在Visual和Code中间自由转换了,具体更新:

  • 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.
  • The Illusionist

    英文名:The Illusionist
    导演:尼尔·伯格 Neil Burger
    编剧:尼尔·伯格 Neil Burger
       史蒂芬·米尔豪瑟 Steven Millhauser
    主演:爱德华·诺顿 Edward Norton
       保罗·吉亚玛提 Paul Giamatti
       卢夫斯·塞维尔 Rufus Sewell
       杰西卡·贝尔 Jessica Biel
       汤姆·菲舍尔 Tom Fisher
    类型:爱情/幻想/剧情/冒险
    片长:110分钟
    级别:PG-13(有性感及暴力镜头)
    发行:Yari Film Group
    上映日期:2006年8月18日
    官方网站:http://www.theillusionist.com/

    剧情简介:魔力战胜爱情

          中欧地区本就是个奇事多发的地区,传说中的吸血鬼、狼人多发现于此。本故事也发生在充满神秘色彩的中欧。在十九、二十世纪之交的维也纳,依然受封建社会的浓郁气息所笼罩。一切奇闻怪事都无法用看似幼稚的科学所解释。而神秘的魔术师这一行当却有着极强的竞争力。艾森希姆(爱德华·诺顿)便是一个不折不扣的充满神秘色彩的魔术师。艾森希姆在与美丽的苏菲公主(杰西卡·贝尔)短暂的交往之后便深深爱上了这位绝世的美人。但无奈公主的地位高高在上,而且与王子利奥波德(鲁弗斯·塞维尔)有婚约在前。但一身法力的艾森希姆怎会轻易放弃爱情放弃美人,于是他利用自己的无边法术,将苏美丽的菲公主从王子身边夺走,并一手制造了无数奇幻事件,将整个维也纳皇室搅得乱七八糟……

    The illusionist

    The illusionist

    The illusionist

    Tags:

    Posted in Movie | No Comments »

    XP 1月 18th, 2007

        用了有差不多一个月时间的Vista…终于还是换回来XP…很多软件在Vista下存在兼容性问题,虽然有的经过处理可以使用,但还是让人觉得别扭,例如Symantec pcAnywhere、RTX、TM、Thinkpad的Fingerprint Software、Presentation Director,最主要的,它运行起来比XP慢,一个月后我发现机器响应速度不如初装的时候,可能是我机器内存只有1G的关系吧。

    Posted in Diary | 1 Comment »

    Wordpress 2.0.7 Released 1月 16th, 2007

    WordPress 2.0.7版本已经提供下载了,这个版本修补2.0.6版本中的一些PHP安全漏洞和feedburner的问题,这次升级,只需要覆盖升级以下文件:

    • wp-admin/inline-uploading.php
    • wp-admin/post.php
    • wp-includes/classes.php
    • wp-includes/functions.php
    • wp-settings.php
    • wp-includes/version.php

    Mysql4.0升级到4.1 1月 7th, 2007

            MySQL 4.1开始把多国语言字符集分的更加详细,所以导致数据库迁移或者升级后出现乱码问题。MySQL 4.1的字符集支持(Character Set Support)有两个方面:字符集(Character set)和排序方式(Collation)。对于字符集的支持细化到四个层次: 服务器(server),数据库(database),数据表(table)和连接(connection)。

    1.导出4.0格式的SQL备份文件
    mysqldump -uroot -p --default-character-set=latin1 database > jason.sql

    这个是导出为latin1字符集的数据库备份,如果需要导出成为gbk字符集可以使用:

    mysqldump -uroot -p --default-character-set=latin1 --set-charset=gbk database > jason.sql

    2.使用下面语句新建一个latin1字符集的数据库(jason):
    CREATE DATABASE `jason` DEFAULT CHARACTER SET latin1 COLLATE latin1_bin

    3.将上面导出的4.0结构的备份数据导入到刚才新建的mmmm数据库中。
    /usr/local/mysql/bin/mysql -uroot -p --default-character-set=latin1 -f jason < jason.sql

    Tags: ,

    Posted in Linux | No Comments »

            Wordpress支持Permalinks也就是URL虚拟静态化,需要URL Rewrie,默认官方文档只有apache下的使用Permalinks的说明,没有关于Zeus下的。搜索了一下google和baidu,找到一个Zeus的Request Rewriting:
    Read more..

    Posted in Software | 2 Comments »

    WordPress 2.0.6 发布,可以在这里下载新版本。具体更新如下:

  • The aforementioned security fixes.
  • HTML quicktags now work in Safari browsers.
  • Comments are filtered to prevent them from messing up your blog layout.
  • Compatibility with PHP/FastCGI setups.
  • 如何从 Wordpress 2.0.5 升级到 2.0.6?

    1:删除 /wp-admin/ 文件夹。

    2:删除 /wp-includes/ 文件夹。注意:如果你安装了多国语言文件,请备份 /wp-includes/languages/ 下你所安装了的语言文件。

    3:WordPress 2.0.6 包含了默认主题的升级,如果你想升级新的主题,请删除 /wp-content/themes/default /wp-content/themes/classic 和 /wp-content/plugins/akismet文件夹。注意:请备份你定制了的主题文件。

    4:删除所有 wordpress 根目录下的所有文件,但请不要删除 wp-config.php 文件,也别把自己添加的一些文件删除了,比如: robots.txt, .htaccess, favicon.ico 。

    5:下载 wordpress 新版本,链接见上面。

    6:上传你刚才删除的所有文件和文件夹,如根目录下的文件, /wp-admin/,/wp-includes/,如果默认主题文件夹你也删除了,请重新上传。

    7:恢复你 /wp-includes/languages/ 下的语言文件。

    8:登录你的 wordpress 系统,升级完成。