From 73b78c4ba915e3a3252a7813c6a1864c56b062ed Mon Sep 17 00:00:00 2001 From: suVene Date: Thu, 25 Dec 2008 14:04:24 +0000 Subject: pluginManager対応 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27415 d0d07461-0603-4401-acd4-de1884942a52 --- direct_bookmark.js | 122 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 75 insertions(+), 47 deletions(-) diff --git a/direct_bookmark.js b/direct_bookmark.js index fd0f94d..52dcd81 100644 --- a/direct_bookmark.js +++ b/direct_bookmark.js @@ -1,50 +1,78 @@ -// Vimperator plugin: 'Direct Post to Social Bookmarks' -// Version: 0.12 -// Last Change: 27-Nov-2008. Jan 2008 -// License: Creative Commons -// Maintainer: Trapezoid - http://unsigned.g.hatena.ne.jp/Trapezoid -// Parts: -// http://d.hatena.ne.jp/fls/20080309/p1 -// Pagerization (c) id:ofk -// AutoPagerize (c) id:swdyh -// direct_delb.js id:mattn -// JSDeferred id:cho45 -// -// Social Bookmark direct add script for Vimperator 0.6.* -// for Migemo search: require XUL/Migemo Extension -// -// Variables: -// 'g:direct_sbm_use_services_by_tag' -// Use social bookmark services to extract tags -// 'h': Hatena Bookmark -// 'd': del.icio.us -// 'l': livedoor clip -// 'p': Places (Firefox bookmarks) -// Usage: let g:direct_sbm_use_services_by_tag = "hdl" -// 'g:direct_sbm_use_services_by_post' -// Use social bookmark services to post -// 'h': Hatena Bookmark -// 'd': del.icio.us -// 'l': livedoor clip -// 'g': Google Bookmarks -// 'p': Places (Firefox bookmarks) -// Usage: let g:direct_sbm_use_services_by_post = "hdl" -// 'g:direct_sbm_is_normalize' -// Use normalize permalink -// 'g:direct_sbm_is_use_migemo' -// Use Migemo completion -// Commands: -// ':btags' -// Extract tags from social bookmarks for completion -// ':sbm' -// Post a current page to social bookmarks -// Arguments -// -s,-service: default:"hdl" -// Specify target SBM services to post -// ':bentry' -// Goto Bookmark Entry Page -// ':bicon' -// Show Bookmark Count as Icon +// Last Change: 25-Dec-2008. Jan 2008 +var PLUGIN_INFO = + + {NAME} + Direct Post to Social Bookmarks + Trapezoid + 0.12 + Creative Commons + 2.0pre + 2.0pre + http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/direct_bookmark.js + || + Use social bookmark services to extract tags + 'h': Hatena Bookmark + 'd': del.icio.us + 'l': livedoor clip + 'p': Places (Firefox bookmarks) + Usage: let g:direct_sbm_use_services_by_tag = "hdl" +||< +=== g:direct_sbm_use_services_by_post === +>|| + Use social bookmark services to post + 'h': Hatena Bookmark + 'd': del.icio.us + 'l': livedoor clip + 'g': Google Bookmarks + 'p': Places (Firefox bookmarks) + Usage: let g:direct_sbm_use_services_by_post = "hdl" +||< +=== g:direct_sbm_is_normalize === +>|| + Use normalize permalink +||< +=== g:direct_sbm_is_use_migemo === +>|| + Use Migemo completion +||< + +== Commands == +=== :btags === +>|| + Extract tags from social bookmarks for completion +||< +=== :sbm === +>|| + Post a current page to social bookmarks + Arguments + -s,-service: default:"hdl" + Specify target SBM services to post +||< +=== :bentry === +>|| + Goto Bookmark Entry Page +||< +=== :bicon === +>|| + Show Bookmark Count as Icon +||< + ]]> +; + (function(){ var evalFunc = window.eval; try { -- cgit v1.2.3