Skip to content

给vimrepress增加显示分类的功能并让它支持CodeColorer插件

2011 五月 30
tags: ,
by 荒野无灯

那个版本很古老的vimpress是有显示分类的功能的,不知道pt的vimrepress为什么去掉了。。。
于是想办法给它加上了,然后就是修改其BlogCode 使之符合CodeColorer插件的语法标记规则。

显示分类:

目前此插件存在的BUG(如果把数字调小,比如3或者4,则一般不会出问题):

1
:BlogList post 10

然后就报错,估计是超时,试着加一个默认socket 超时,貌似没用。。。

Traceback (most recent call last):
File ““, line 1, in
File ““, line 170, in __check
File “
“, line 195, in __check
File “
“, line 202, in __check
File “
“, line 453, in blog_list
File “/usr/lib/python2.7/xmlrpclib.py”, line 1224, in __call__
return self.__send(self.__name, args)
File “/usr/lib/python2.7/xmlrpclib.py”, line 1570, in __request
verbose=self.__verbose
File “/usr/lib/python2.7/xmlrpclib.py”, line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File “/usr/lib/python2.7/xmlrpclib.py”, line 1297, in single_request
return self.parse_response(response)
File “/usr/lib/python2.7/xmlrpclib.py”, line 1450, in parse_response
stream = GzipDecodedResponse(response)
File “/usr/lib/python2.7/xmlrpclib.py”, line 1204, in __init__
self.stringio = StringIO.StringIO(response.read())
File “/usr/lib/python2.7/httplib.py”, line 540, in read
s = self._safe_read(self.length)
File “/usr/lib/python2.7/httplib.py”, line 637, in _safe_read
raise IncompleteRead(”.join(s), amt)
httplib.IncompleteRead: IncompleteRead(8579 bytes read, 32490 more expected)

喜欢这篇文章吗?

请订阅本站 RSS feed填写您的邮件地址,订阅我们的精彩内容:,欢迎点击这里捐赠以支持荒野无灯转播到腾讯微博 转播到腾讯微博

作者:荒野无灯
出处:Hacklog【Hacklog】

声明: 本站遵循 署名-非商业性使用-相同方式共享 3.0 共享协议. 转载请注明转自Hacklog【荒野无灯weblog】

本文链接: http://ihacklog.com/?p=4520

One Response Post a comment

Trackbacks & Pingbacks

  1. Hacklog » 修正vimrepress的一个bug

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <q cite=""> <strong>

 :wink:  :-|  :-x  :twisted:  :)  8-O  :(  :roll:  :-P  :oops:  :-o  :mrgreen:  :lol:  :idea:  :-D  :evil:  :cry:  8)  :arrow:  :-?  :?:  :!:

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS

欢迎您 点击这里 订阅我的博客 o(∩_∩)o ~~~ x