Size: 1716
Comment:
|
Size: 1208
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
= PyBlosxom Develop = | '''PyBlosxom Develop''' |
Line 6: | Line 6: |
== Plugins == | * 标准技术文档: * [http://roughingit.subtlehints.net/docs/1.0/API/public/index.html PyBlosxom API1.0] * [http://roughingit.subtlehints.net/docs/1.0/plugins/index.html PyBlosxom Plugin1.0] |
Line 8: | Line 10: |
=== xmlrpc_newedit.py === This plugin is a xmlrpc plugin, so you need install xmlrpc.py plugin first. This plugin provide these method, just like: |
=== Client Tool === You can use NewEdit to edit blog and save it to PyBlosxom. And NewEdit support most PyBlosxon xmlrpc-API. But I modified the original xmlrpc-metaweblog.py plugin, so as to support Unicode like utf-8. |
Line 11: | Line 13: |
* newedit.editCategory you can edit the existing category, if the category is not existed, it'll create a new one * newedit.putFile put file to blog * newedit.getFileList get file list which you'v uploaded * newedit.getSysFile get system file which you can access * newedit.putSysFile put system file which you can access |
|
Line 17: | Line 14: |
If you want to use putFile function, you should add parameter as blow: newedit_filepath - the path that files will be saved, it's a relative path according to datadir getSysFile is used to modify some important files just like links.dat, flavour template files, etc. If you want to use this method, you shoud add parameter in config.py as blow: newedit_filelist - is a filename, the content of it is a list of filename that enable accessed via xmlrpc. so if you invoke the method, it'll check the filename in the list first. If existed, you can get the content of the file, and put the new content back via putSysFile. It should be a relative path according to datadir. |
|
Line 29: | Line 15: |
For example: {{{ config.py |
=== 高阶定制 === * '''[:CvsRootHook:透过CVS进行内容维护]''' -- ZoomQuiet * StepsZqMiddleNight -- 一步步定制 Zq'sMiddleNight 样式 * ZhCategories -- 中文化分类索引 |
Line 34: | Line 20: |
py['newedit_filepath'] = 'files' py['newedit_filelist'] = 'filelist.dat' }}} |
=== 插件开发 === * MailPyBlosxom -- 通过邮件管理 PyBlosxom * FlPyBlosxom -- Flash 界面的 PyBlosxom 管理 [[Include(PyBlosxomPlugins)]] |
Line 38: | Line 25: |
the structure of directory: {{{ --- entries/ #datadir | +------ files/ | +------ filelist.dat }}} |
=== 系统改造 === '''啍啍啍有了源代码!当然要改成适合中国思路的使用方式!''' * PyBreST -- 让 PyBlosxom 可以理解 reST 语法!不再使用 HTML 语法…… * PyBmoinpy -- 混入 MoinMoin 的Python 语法渲染输出 |
-- limodou [DateTime(2004-09-21T23:58:02Z)] TableOfContents PyBlosxom Develop This is my personal PyBlosxom developing page.
- 标准技术文档:
Client Tool
You can use NewEdit to edit blog and save it to PyBlosxom. And NewEdit support most PyBlosxon xmlrpc-API. But I modified the original xmlrpc-metaweblog.py plugin, so as to support Unicode like utf-8.
高阶定制
[:CvsRootHook:透过CVS进行内容维护] -- ZoomQuiet
StepsZqMiddleNight -- 一步步定制 Zq'sMiddleNight 样式
ZhCategories -- 中文化分类索引
插件开发
MailPyBlosxom -- 通过邮件管理 PyBlosxom
FlPyBlosxom -- Flash 界面的 PyBlosxom 管理
系统改造
啍啍啍有了源代码!当然要改成适合中国思路的使用方式!