diff options
author | snaka | 2009-03-13 18:14:21 +0000 |
---|---|---|
committer | snaka | 2009-03-13 18:14:21 +0000 |
commit | e08639d0a6636d1181b648afb6e3ac01af82656e (patch) | |
tree | e4ee3696a8e2081374187256d8aacc33eab1ef74 /subscldr.js | |
parent | 4833fc545e9cbf445e8edcaaff99e12b79a20288 (diff) | |
download | vimperator-plugins-e08639d0a6636d1181b648afb6e3ac01af82656e.tar.bz2 |
Modify PLUGIN_INFO and some messages.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@31160 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'subscldr.js')
-rw-r--r-- | subscldr.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/subscldr.js b/subscldr.js index 4bbf5e1..e868d1b 100644 --- a/subscldr.js +++ b/subscldr.js @@ -11,11 +11,12 @@ // PLUGIN INFO: {{{ var PLUGIN_INFO = <VimperatorPlugin> - <name>subscldr</name> + <name>{NAME}</name> <description>Adds subscriptions to livedoor Reader/Fastladder in place.</description> <description lang="ja">ページ遷移なしでlivedoor ReaderやFastladderにフィードを登録します。</description> <minVersion>2.0pre</minVersion> <maxVersion>2.0</maxVersion> + <require type="plugin">_libly.js</require> <updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/subscldr.js</updateURL> <author mail="snaka.gml@gmail.com" homepage="http://vimperator.g.hatena.ne.jp/snaka72/">snaka</author> <license>MIT style license</license> @@ -49,6 +50,8 @@ var PLUGIN_INFO = liberator.plugins.subscldr = (function() { // PUBLIC {{{ var PUBLICS = { + // TODO:Provide API function. + // for DEBUG {{{ //getSubscription: getSubscription, //postSubscription: postSubscription, @@ -122,7 +125,6 @@ liberator.plugins.subscldr = (function() { liberator.echo("Please wait ..."); var subscribeInfo; - // for DEBUG var uri = target || endpoint + buffer.URL; var req = new libly.Request(uri, null, {asynchronous: false}); @@ -215,7 +217,7 @@ liberator.plugins.subscldr = (function() { function selectFeed(links, next) { liberator.log(links.toSource()); liberator.echo("Following feeds were found on this site. Which are you subscribe?"); - commandline.input("Input feed no. ", function(selected) { + commandline.input("Select or input feed URL ", function(selected) { liberator.echo("You select " + selected + "."); commandline.close(); if (next && typeof next == "function") |