VIM MetaWeblog - zzzz~~~'s Blog

VIM MetaWeblog

zzzz~~~ posted @ 2013年1月23日 12:03 in VIM , 1836 阅读

VIM MetaWeblog

Author: Yugang LIU <liuyug@gmail.com>
Github:https://github.com/liuyug/vim-metaweblog
VIM:http://www.vim.org/scripts/script.php?script_id=4411

Submit your RST article in VIM to Blog with metaweblog interface.

Feature:

  • direct submit RST article to Blog.
  • support HTML article
  • automatic upload image resource and fix link for RST when new post
  • browse recent blogs
  • delete blog
  • upload file manually

Install

  1. Please install Docutils as RST tools, and Pygments for syntax highlight
  1. install VIM plugin
cp plugin/metaweblog.vim  ~/.vim/plugin/metaweblog.vim
  1. Create new configuration file in ~/.vim/password.vim
1 # password.vim
2 let g:MetaWeblog_api_url='http://www.is-programmer.com/xmlrpc'
3 let g:MetaWeblog_username='username'
4 let g:MetaWeblog_password='password'
  1. Install CSS to support style:
1 # RST CSS style
2 cat /usr/lib/python2.6/site-packages/docutils/writers/html4css1/html4css1.css > blog.css
3 # code with scrolled bar
4 echo "pre.code { overflow: auto; }" >> bslog.css
5 # syntax highlight
6 pygmentize -S default -f html -a pre.code >> blog.css
  1. Upload blog.css to Blog site.

Note

Please set UTF-8 encoding in VIM

Guide

VIM shortcut keys:

<leader>bl      toggle recent blog view
<leader>bp      post article
<leader>bu      upload file under cursor in html
<leader>bb      preview for local
<leader>bs      preview for server

TODO

  • How to locate original RST file by the article in Blog?
Avatar_small
QUEEN 说:
2018年9月03日 08:00

it has been so helpful with my assignments after getting some assignment writers. it used to take me a lot of time before, now it does not. by the way i like the advertisements on this page. keep posting

Avatar_small
best dissertation se 说:
2018年10月13日 03:34

Great blog! YOu have been doing a great job by serving the community of older people and helping them to live a happy and productive lives.

Avatar_small
cleaning companies i 说:
2019年11月27日 22:17

Hotel room standard cleaning up: All all of our cleaners will be trained to operate hotel ordinary cleaning expert services in Dubai. This is usually a very specialized couple of skills which will none one's competitors might claim. Expert staff: A lot of our cleaners been employed by with united states for above 2 years they usually come to clean up your dwelling with qualified experience plus training.

Avatar_small
biohazardtechnology. 说:
2020年4月25日 03:04

A new technology panel creates focus during the entire organization. While it could be great to get every brand-new iteration involving technology that will gets unveiled, that can be impractical along with costly. The committee may help with delivering a high-level perspective for the entire enterprise mainly because it is taking into consideration all asks. All for you to often, departmental requests will usually be created in a very silo, with merely the influence on that office considered.

Avatar_small
thaicitrustechnology 说:
2020年4月25日 03:05

There are several forms of i . t . like pcs, sensors, programs and determination support devices. The hottest one being employed out there today are generally handhelds to help you managers along with subordinates to compliment their day-to-day operations on the job.

Avatar_small
handisports.net 说:
2020年4月25日 03:05

Sports can be a big portion of a place's culture along with identity. Every country on the globe has a type involving sport through the world renowned football on the modern morning archery. We cannot eliminate these kind of adrenaline water removal activities considering that it's something unites people in one method or another.

Avatar_small
prhomeschool 说:
2020年4月25日 03:06

A superb starting place as some sort of first-time home-buyer has your credit worthiness. If people haven't tested it within a while, order your credit status. By rules, you are entitled to one free credit score (from all of the three exposure agencies) just about every 12 many weeks.

Avatar_small
mvhomeinspections 说:
2020年4月25日 03:06

Some sort of moisture check up is in excess of looking intended for leaking conduits and drains. Exterior predicaments that may result in moisture intrusion are viewed for together with proper setting up for attics, basement spaces, crawl rooms and attics are regarded well. Moisture problems in most spaces can certainly go unseen for some time. This hold up is identification improves the difficulty along with the cost with correcting most of these issues.

Avatar_small
mapquest driving dir 说:
2022年1月06日 12:54

Nice to be visiting your blog once more, it has been months for me. Well, this article that I've been waiting for therefore long.

Avatar_small
indianrail.gov.in pn 说:
2022年8月25日 16:18

The ability to follow a train's operating status, present position, and expected arrival and departure times at every station along the route is known as live train status. indianrail.gov.in pnr enquiry Additionally, you may use this to view the train's current delay. You may check the status of your train in real time to see if it is operating on schedule or if there is a delay in getting to your destination. Train ticket booking and real-time train status

Avatar_small
Hendry 说:
2023年7月07日 03:41

Attractive, post. I just stumbled upon your weblog and wanted to say that I have liked browsing your blog posts. seo company After all, I'm a fan of VIM MetaWeblog. Will surely subscribe to your feed, and I hope you will write again soon.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee