Introduction to MWB Minor Mode
Table of Contents
1 Introduction
MWB stands for "MetaWeblog", it is an submode for org mode and can be used to publish org files to meta web blog.
It is based on CnBlog, and was modified to port to other meta web blogs.
2 Usage
Download this package from github and put into PATH , then add following codes to your init file.
(add-to-list 'load-path PATH) (autoload 'mwb-minor-mode "mwb" "mwb minor mode" t) (autoload 'mwb-new-post "mwb" "new post" t)
If you want to turn on mwb-minor-mode automatically for some mode (org-mode, for example), you can add following line:
(add-to-list 'org-mode-hook 'mwb-minor-mode)
Then, open an org file, and stroke: M-x: mwb-setup-blog, and follow the instructions.
When finished setting up, edit an org file, and stroke: M-x: mwb-new-post, and then waits for the post to be done.
That's all.
(使用许可:署名-非商业性使用-相同方式共享 3.0 中国大陆许可协议 。)