sponsor Vim development Vim logo Vim Book Ad

vim-xblogger : A set of Vim-files for publishing posts to Blogger or WordPress

 script karma  Rating 6/3, Downloaded by 741  Comments, bugs, improvements  Vim wiki

created by
Vadym Khokhlov
 
script type
ftplugin
 
description
XBlogger
========

This is a set of Vim-files for publishing posts to Blogger or Wordpress in your favorite markup language.

Requirements
------------

[b.py](http://http://pythonhosted.org/b.py/) - a command line tool for publishing posts.

Optional Vim-plugins:

* [SirVer/ultisnips](https://github.com/SirVer/ultisnips) - snippets
* [tpope/vim-ragtag](https://github.com/tpope/vim-ragtag) - for tag closing
* [aperezdc/vim-template](https://github.com/aperezdc/vim-template) - templates for new files

Installation
------------

1. Install via Vundle: `Plugin 'xvadim/vim-xblogger'` or just unpack the archive to `$HOME/.vim`
2. Copy the file `external/brc.py` to the directory where you are going to prepare and keep posts
3. Replace `YOU_BLOG_ID` with the real ID of your blog
4. Setup `b.py` as [described in documentation](http://pythonhosted.org/b.py/tutorial.html)

Usage
-----

1. Start post creation: `vim my_post.blog`
2. Create post [as described in documentation](http://pythonhosted.org/b.py/tutorial.html#creating-the-first-post)
3. For publishing the post type in the normal mode: `<Leader>post`

Improvements
------------

If you use plugin **vim-template** copy the file `external/.vim-template:*.blog` to the directory of your posts.
This will insert a header to new files.

If you use [higlhlight.js](https://highlightjs.org/) and plugin **ultisnips** copy the file `snippet/blog.snippets`
to the snippets directory. This adds the snippet `code` which inserts the next fragment:

```
<pre><code class="...">
</code></pre>
```

Also it makes available all snippets for mardown-files.

Also the command `Rc file_name` available. This command inserts the given file as fragment of code.

github: https://github.com/xvadim/vim-xblogger
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-xblogger.zip 1.1 2015-04-03 7.0 Vadym Khokhlov Added support of linkchecker for links checking
vim-xblogger.zip 1.0 2014-10-24 7.0 Vadym Khokhlov Initial upload
ip used for rating: 44.220.184.63

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github