Recently in MT weblog Category

blog升到3.31

| No Comments | No TrackBacks

答应了送个网站给Kevin Chambers,前段时间,教他如何到godaddy.com注册域名,又教他怎么设置DNS,最终都准备好了,我于是决定送他个blog系统,上MovableType一看,MT升级到了3.31了,于是下载,上载,调试,安装,最后终于把www.shanghaivegetarian.com配置好,Kevin是素食主义者,我也算做件善事吧。

同时,blog.yuleshow.org(就是这个博客)也升级了3.31,就目前来说,只是在新系统安装时有点区别,取消了缺省管理员设置,取而代之的是如果是全新的系统,会要求先建立一个用户,比较符合逻辑,也比较少安全隐患,你想,如果一个系统管理员装到一半,尚末配置时去吃饭了,别人就可以用缺少管理员登录,是件多么吓人的事啊?甚至在装的同时,就可以远程用缺省管理km

到底什么是 web 2.0

| No Comments | No TrackBacks

  好友Jerry看到我贴的那几个web 2.0站后,打了电话过来聊天。去年在阳澄湖巴城和他一别,再无机会说过话,一聊,聊了近一个小时。聊的内容,就是"到底什么是web 2.0?"。于是一咱聊下去,聊到了Python,Ruby还有AJAX,最后的理解是:以前的web是信息提供者提供信息,现在的2.0是平台提供者提供平台,大家一起提供信息,各种各样的技术来支持这种概念的实现。

  Jerry还聊到了GPS和Google Earth,他说他想建立一个平台,让大家把去过的地方都标注在Google Earth上,那样别的没去过的人,就可以通过这个平台"虚拟"地旅游一把了。

  当然,系统还是用MT,Sixapart的movaletype 3.2,对于个人网站来说,是免费的,直接到 www.sixapart.com 下载就可以了,是一个.tar.gz的包,上传到服务器,然后要配apache的VitualHost,配好后,重启httpd,网页服务正常。

  在网页根目录里用tar -zxvf解压MT-xxx.tar.gz包,会生成一个MT-xxx的目录,直接用mv将之改成cgi-bin,然后进入cgi-bin,把mt-static目录再移到网页根目录。

  在cgi-bin目录中有个mt-config-xxxx.x的文件,复制成mt.cfg,然后打开,改动其中三处:1. 网址,2.datasource,我设成了./db,就是cgi-bin目录下的db目录,把db设成777,3.mt-static目录的URL。然后用http://www.somewhere.com/cgi-bin/mt.cgi初始化就可以了,当然你的perl要事先配好,可以用 http://www.somewhere.com/cgi-bin/mt-check.cgi查。

  装了一个插件,StyleCatcher,有两点要说,解压后两个目录,对应复制即可。但在要做两次setup,分别在进入管理界面后的最右面list中选plugins,以及进入特定blog后,在setting里的plug-in里,两次的setup必须要分开做,下载有困难,可以直接到Sixaprt下载,解压后放在前面setup好的themes目录即可;还有一点,有些css的图片路径不对,要手工修改。

  最后,写博客,用了客户端软件Zoundry,要注意,密码不是管理员界面的登录密码,而是用户管理里面在密码下面的API密码,Zoundry兼容性什么都不错,可以试试,地址在www.zoundry.com

终于有了博客了

| 2 Comments | No TrackBacks

  我可能是国内最早关注博客的人之一了,在几年前,大约有六年左右的时间吧,那时有一个代码叫slashcode,就是如今博客的前身,那时还没有MT。记得上海LINUX的主站,用的是我汉化的slashcode,数据库是挂接mySQL的,用了三四年。

  后来,我建立了www.yuleshow.org,使用MT代码,走了许多,但基本没有歪路,我也算是国内较早使用MT的人之一。

  再后来,我的网站有了名气,甚至有人说我是"最会做菜的男博客",然而殊不知,我从来没有认为过那个网站是个博客。

  那就是个网站,而不是博客。

  楚云问我网站和博客的区别,我说"一个是论文,一个是日记"。

  如今,我有了真的博客了。

相關中文資料

| No Comments | No TrackBacks

一些與MovableType相關的中文blog

博客昇級

| No Comments | No TrackBacks

blog upgraded from 2.61 to 3.0D

For working as a beta tester, which I didn't do any test work, I got an email from the developer of MovableType this morning. The developer announced that the newest version of the blog system is released, I downloaded it and upgraded. The new version has more beautiful layout for the backend control panel and more clearly designed menu.

標簽應用

| No Comments | No TrackBacks
As you can see, I changed the layout of the weblog including color of background, the archive file naming standard, the location of article context and more. The main changes and the ways to change are:
  • Individual archive name : put the following line to weblog config->archiving->Archive File Template (Individual):
    <$MTArchiveDate format="%Y/%m/%d"$>/<$MTEntryTitle dirify="1"$>.html
  • Directory by category : add following line to weblog config->archiving->Archive File Template (category) as above:
    categories/<$MTArchiveCategory dirify="1"$>/index.html
  • Big calendar for monthly archive : create a new template for monthly archive, following lines are the key code for the calendar:
    <div class="largecalendar">
    <table cellpadding="0" cellspacing="0" summary="Monthly calendar with links to each day’s posts">
    <caption><span class="prevmonth"><MTArchivePrevious><a href="<$MTArchiveLink$>" title="<$MTArchiveTitle$>">&lt;&lt;</a></MTArchivePrevious></span>
    <$MTEntryDate format="%B %Y"$>
    <span class="nextmonth"><MTArchiveNext><a href="<$MTArchiveLink$>" title="<$MTArchiveTitle$>">&gt;&gt;</a></MTArchiveNext></span>
    </caption>
    <thead>
    <tr>
    <th class="sun">Sunday</th>
    <th class="mon">Monday</th>
    <th class="tue">Tuesday</th>
    <th class="wed">Wednesday</th>
    <th class="thu">Thursday</th>
    <th class="fri">Friday</th>
    <th class="sat">Saturday</th>
    </tr>
    </thead>
    <tbody>
    <MTCalendar month="this">
    <MTCalendarWeekHeader><tr></MTCalendarWeekHeader>
    <td class="d<$MTCalendarCellNumber$>">
    <MTCalendarIfEntries>
    <a class="daytitle" href="<MTEntries lastn="1"><$MTEntryLink$></MTEntries>"><$MTCalendarDay$></a>
    <ul>
    <MTEntries lastn="1">
    <li class="first"><a href="<$MTEntryLink$>"><$MTEntryTitle$></a></li>
    </MTEntries>
    <MTEntries lastn="999" offset="1">
    <li><a href="<$MTEntryLink$>"><$MTEntryTitle$></a></li>
    </MTEntries>
    </ul>
    </MTCalendarIfEntries>
    <MTCalendarIfNoEntries>
    <div class="daytitle"><$MTCalendarDay$></div>
    </MTCalendarIfNoEntries>
    <MTCalendarIfBlank>&nbsp;</MTCalendarIfBlank>
    </td>
    <MTCalendarWeekFooter></tr></MTCalendarWeekFooter>
    </MTCalendar>
    </tbody>
    </table>
    </div> <!--calendar-->
Reference:

Pages

Powered by Movable Type 5.01

About this Archive

This page is an archive of recent entries in the MT weblog category.

MCSE Journey is the previous category.

perl is the next category.

Find recent content on the main index or look in the archives to find all content.