欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
PyBlosxom
来自开放百科 - 灰狐
(版本间的差异)
(未显示1个用户的22个中间版本) | |||
第1行: | 第1行: | ||
PyBlosxom is a lightweight weblog system write by Python | PyBlosxom is a lightweight weblog system write by Python | ||
+ | |||
+ | PyBlosxom 最吸引人的就是其插件化,在完成基本blog功能,其扩展功能可通过插件来完成。 | ||
http://pyblosxom.sourceforge.net/ | http://pyblosxom.sourceforge.net/ | ||
+ | |||
+ | PyBlosxom 可使用 [[mod_python]], [[Twisted]], and [[WSGI]] | ||
+ | |||
+ | vim设置: shiftwidth=4 tabstop=4 expandtab | ||
+ | ==Install== | ||
+ | Single-user Installation | ||
+ | copy pyblosxom.cgi and config.py from the web/ directory into your cgi-bin directory | ||
+ | 修改 config.py | ||
+ | py["codebase"] = "/usr/local/lib/python2.4/site-packages/Pyblosxom" | ||
+ | py['datadir'] = "/home/allen/blog/pyblosxom" | ||
+ | py['blog_encoding'] = "utf-8" | ||
+ | py['default_flavour'] = "html" | ||
+ | py['base_url'] = "http://localhost/weblog" | ||
+ | py['cacheDriver'] = 'entrypickle' | ||
+ | py['cacheConfig'] = '/home/allen/blog/pyblosxom/cache' | ||
+ | py["renderer"] = "blosxom" | ||
+ | py['plugin_dirs'] = ['/home/allen/blog/pyblosxom/plugins'] | ||
+ | py['load_plugins'] = ["pycalendar", "pyarchives"] | ||
+ | py["static_dir"] = "/home/allen/blog/pyblosxom/static" | ||
+ | py["static_flavours"] = ["html"] | ||
+ | |||
+ | Multi-user Installation | ||
+ | 下载 [http://sourceforge.net/project/showfiles.php?group_id=67445&package_id=145140 contributed packages], 如 contrib-1.3.2.tar.gz, 将相关 plugins | ||
+ | copy home/allen/blog/pyblosxom/plugins/ 目录下 | ||
+ | |||
+ | vi pyblosxom.cgi | ||
+ | import cgitb; cgitb.enable() // 去掉 # | ||
+ | 验证你的安装 | ||
+ | 在/home/allen/blog/pyblosxom/static 创建 firstpost.txt | ||
+ | First Post | ||
+ | <p> | ||
+ | This is the first post in my blog. | ||
+ | </p> | ||
+ | http://localhost/cgi-bin/pyblosxom.cgi | ||
+ | |||
+ | ==Users== | ||
+ | *http://pyblosxom.sourceforge.net/blog | ||
+ | *http://bluesock.org/~willg/blog | ||
+ | *http://bonsaibugs.org/ | ||
+ | *http://www.codeape.org/blog | ||
+ | *http://blog.russnelson.com/ | ||
+ | *http://www.urbanape.com/ | ||
+ | *http://feetup.org/blog/ | ||
+ | *http://www.mwolson.org/blog | ||
+ | http://pyblosxom.sourceforge.net/blog/pyblosxom_users | ||
+ | |||
+ | [[Category:Blog]] | ||
+ | [[Category:Python]] |
2010年8月14日 (六) 16:24的最后版本
PyBlosxom is a lightweight weblog system write by Python
PyBlosxom 最吸引人的就是其插件化,在完成基本blog功能,其扩展功能可通过插件来完成。
http://pyblosxom.sourceforge.net/
PyBlosxom 可使用 mod_python, Twisted, and WSGI
vim设置: shiftwidth=4 tabstop=4 expandtab
[编辑] Install
Single-user Installation
copy pyblosxom.cgi and config.py from the web/ directory into your cgi-bin directory 修改 config.py py["codebase"] = "/usr/local/lib/python2.4/site-packages/Pyblosxom" py['datadir'] = "/home/allen/blog/pyblosxom" py['blog_encoding'] = "utf-8" py['default_flavour'] = "html" py['base_url'] = "http://localhost/weblog" py['cacheDriver'] = 'entrypickle' py['cacheConfig'] = '/home/allen/blog/pyblosxom/cache' py["renderer"] = "blosxom" py['plugin_dirs'] = ['/home/allen/blog/pyblosxom/plugins'] py['load_plugins'] = ["pycalendar", "pyarchives"] py["static_dir"] = "/home/allen/blog/pyblosxom/static" py["static_flavours"] = ["html"]
Multi-user Installation
下载 contributed packages, 如 contrib-1.3.2.tar.gz, 将相关 plugins copy home/allen/blog/pyblosxom/plugins/ 目录下
vi pyblosxom.cgi import cgitb; cgitb.enable() // 去掉 #
验证你的安装
在/home/allen/blog/pyblosxom/static 创建 firstpost.txt First Post
This is the first post in my blog.
http://localhost/cgi-bin/pyblosxom.cgi
[编辑] Users
分享您的观点