droWMark : Post to WordPress using Pandoc Flavoured Markdown
script karma |
Rating 0/0,
Downloaded by 1291 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Ekaitz Zarraga |
|
script type |
utility |
|
description |
droWMark creates WordPress posts accessing to WordPress' XML-RPC API. The posts are written using Pandoc Flavoured MarkDown and a simple configuration header in the top of the files.
Ccreate a new blog entry using:
:NewWordPress
This will insert the template file in the file you are editing and switch the filetype to `drowmark` which automatically activates the `drowmark` syntax highlighting. This filetype is also activated when the extension of the file is `.wp`. The template contains all the information needed to fill the configuration part.
When the blog entry is finished, it is possible to post in WordPress with the following command:
:PostWordPress
This will ask for the username and the password before publishing the post in WordPress. |
|
install details |
It is necessary to have Vim compiled with `+python` option.
Dependencies for the python script are:
- Panflute package, wich also depends on Pandoc
pip install panflute
- Wordpress XML RPC
pip install python_wordpress_xmlrpc
- ConfigParser package
pip install configparser
Get the latest version from GitHub:
https://github.com/ekaitz-zarraga/droWMark
# Version 1.1 update:
Now depends on Panflute, not Pypandoc. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.172
|