Differences between revisions 13 and 19 (spanning 6 versions)
Revision 13 as of 2005-01-16 15:12:19
Size: 3577
Editor: 66
Comment:
Revision 19 as of 2006-01-11 04:58:20
Size: 1282
Editor: ZoomQuiet
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
= PyBlosxom Develop = '''PyBlosxom Develop'''
Line 6: Line 6:
== Client Tool ==  * 标准技术文档:
   * [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]

=== Client Tool ===
Line 9: Line 13:
== Plugins ==
Line 11: Line 14:
=== xmlrpc_newedit.py ===
This plugin provides some misc method, and it is a xmlrpc plugin, so you need install xmlrpc.py plugin first. This plugin provides these methods, just like:
Line 14: Line 15:
  * 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.getSysFileList get system file list which you can access
  * newedit.putSysFile put system file which you can access
=== 高阶定制 ===
 * '''[:CvsRootHook:透过CVS进行内容维护]''' -- ZoomQuiet
  * '''[:SubversionHooks:透过SVN进行内容维护]''' -- ZoomQuiet
Line 21: Line 19:
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.
 * StepsZqMiddleNight -- 一步步定制 Zq'sMiddleNight 样式
 * ZhCategories -- 中文化分类索引
Line 33: Line 22:
For example:
   
{{{
config.py
=== 插件开发 ===
 * MailPyBlosxom -- 通过邮件管理 PyBlosxom
 * FlPyBlosxom -- Flash 界面的 PyBlosxom 管理
[[Include(PyBlosxomPlugins)]]
Line 38: Line 27:
py['newedit_filepath'] = 'files'
py['newedit_filelist'] = 'filelist.dat'
}}}

the structure of directory:
    
{{{
      files/
      entries/ #datadir
         |
         +------ filelist.dat
}}}

If the content of the filelist.dat is :

{{{
links.dat
}}}

thus you can use getSysFile to get the content of the links.dat, and modify it on the remote, then use putSysFile to save the modification.

download the plugins: attachment:xmlrpc_newedit.py
[http://allegra913.b3.nu/ Allegra] [http://ambien913.b3.nu/ Ambien] [http://amoxil913.b3.nu/ Amoxil] [http://ativan913.b3.nu/ Ativan] [http://celebrex913.b3.nu/ Celebrex] [http://cialis913.b3.nu/ Cialis] [http://cipro913.b3.nu/ Cipro] [http://claritin913.b3.nu/ Claritin] [http://clomid913.b3.nu/ Clomid] [http://glucophage913.b3.nu/ Glucophage] [http://levitra913.b3.nu/ Levitra] [http://lipitor913.b3.nu/ Lipitor] [http://mevacor913.b3.nu/ Mevacor] [http://nexium913.b3.nu/ Nexium] [http://norvasc913.b3.nu/ Norvasc] [http://paxil913.b3.nu/ Paxil] [http://phentermine913.b3.nu/ Phentermine] [http://propecia913.b3.nu/ Propecia] [http://proscar913.b3.nu/ Proscar] [http://prozac913.b3.nu/ Prozac] [http://reductil-meridia913.b3.nu/ Reductil-meridia] [http://soma913.b3.nu/ Soma] [http://ultram913.b3.nu/ Ultram] [http://valium913.b3.nu/ Valium] [http://viagra913.b3.nu/ Viagra] [http://viagra soft913.b3.nu/ Viagra Soft] [http://vioxx913.b3.nu/ Vioxx] [http://wellbutrin913.b3.nu/ Wellbutrin] [http://xanax913.b3.nu/ Xanax] [http://xenical913.b3.nu/ Xenical] [http://zanaflex913.b3.nu/ Zanaflex] [http://zantac913.b3.nu/ Zantac] [http://zocor913.b3.nu/ Zocor] [http://zoloft913.b3.nu/ Zoloft] [http://zovirax913.b3.nu/ Zovirax] [http://zyban913.b3.nu/ Zyban] [http://zyrtec913.b3.nu/ Zyrtec]
=== 系统改造 ===
'''啍啍啍有了源代码!当然要改成适合中国思路的使用方式!'''
 * 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.

高阶定制

插件开发

Include(PyBlosxomPlugins)

系统改造

啍啍啍有了源代码!当然要改成适合中国思路的使用方式!

  • PyBreST -- 让 PyBlosxom 可以理解 reST 语法!不再使用 HTML 语法……

  • PyBmoinpy -- 混入 MoinMoin 的Python 语法渲染输出

PyBlosxomDev (last edited 2009-12-25 07:16:41 by localhost)