February 2010 Archives

Movable Type 百度Sitemap

| 2 Comments

  参考Movable Type的Google Sitemap模板和百度Sitemap的语法,为MT写了一个百度Sitemap模板效果还不错,使用之后百度对本站的检索结果都能准确的显示每篇文章的内容摘要了。贴出来和大家分享 - -.

  编译安装FastCGI的时候遇到了错误:

source='fcgio.cpp' object='fcgio.lo' libtool=yes \
        depfile='.deps/fcgio.Plo' tmpdepfile='.deps/fcgio.TPlo' \
        depmode=gcc3 /bin/sh ../depcomp \
        /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..   -I../include  -g -O2 -c -o fcgio.lo `test -f fcgio.cpp || echo './'`fcgio.cpp
rm -f .libs/fcgio.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c fcgio.cpp -MT fcgio.lo -MD -MP -MF .deps/fcgio.TPlo  -fPIC -DPIC -o .libs/fcgio.lo
fcgio.cpp: In destructor 'virtual fcgi_streambuf::~fcgi_streambuf()':
fcgio.cpp:50: error: 'EOF' was not declared in this scope
fcgio.cpp: In member function 'virtual int fcgi_streambuf::overflow(int)':
fcgio.cpp:70: error: 'EOF' was not declared in this scope
fcgio.cpp:75: error: 'EOF' was not declared in this scope
fcgio.cpp: In member function 'virtual int fcgi_streambuf::sync()':
fcgio.cpp:86: error: 'EOF' was not declared in this scope
fcgio.cpp:87: error: 'EOF' was not declared in this scope
fcgio.cpp: In member function 'virtual int fcgi_streambuf::underflow()':
fcgio.cpp:107: error: 'EOF' was not declared in this scope
make[2]: *** [fcgio.lo] Error 1
make[2]: Leaving directory `/root/fcgi-2.4.0/libfcgi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/fcgi-2.4.0'
make: *** [all] Error 2

升级到Movable Type 4.34

| 1 Comment

  Movable Type 4.34 终于发布了,该版本修复了4.33按月归档不能显示、上一篇和下一篇链接的问题,同时也包含了安全更新,并且对数据库进行了升级。所以在更新4.34之前一定要对数据库进行备份,以免升级出错导致无法恢复。

  下载地址:http://www.movabletype.org/downloads/stable/