From 42e68c67dde82f2c90752ddf546237302005c5c8 Mon Sep 17 00:00:00 2001 From: nise_nabe Date: Thu, 10 Nov 2011 01:54:31 +0900 Subject: changed the format from PLUGIN_INFO to INFO in twittperator.js --- twittperator.js | 368 +++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 271 insertions(+), 97 deletions(-) (limited to 'twittperator.js') diff --git a/twittperator.js b/twittperator.js index 40bf585..2d5c2d5 100644 --- a/twittperator.js +++ b/twittperator.js @@ -23,143 +23,317 @@ * THE SOFTWARE. */ -let PLUGIN_INFO = - - Twittperator - Twitter Client using OAuth and Streaming API - OAuth/StreamingAPI対応Twitterクライアント - 1.16.2 - 2.3 - teramako - anekos - MIT License - https://github.com/vimpr/vimperator-plugins/raw/master/twittperator.js - + + teramako + anekos + MIT License + +

+ This is the Twitter client plugin with OAuth authentication. +

+

Command

+ - Use completion for comfort. + + :twittperator -getPIN + +

Opens the page to authorize Twittperator and get your PIN from Twitter.

+
+
+ + :twittperator -setPIN PINCode + +

Allows Twittperator to access Twitter by signifying your PIN.

+
+
+ + :twittperator + +

Shows recent your timeline. (The timeline will be cashed and expired 90 seconds after Twittperator get from Twitter.)

+
+
+ + :twittperator! + +

Gets recent your timeline from Twitter and shows it.

+
+
+ + :twittperator!@ + +

Shows mentions to you.

+
+
+ + :twittperator!@user + +

Show @user's tweets.

+
+
+ + :twittperator TweetText + +

Tweets TweetText.

+
+
+ + :twittperator @user#id TweetText + +

Tweets a reply to @user.

+
+
+ + :twittperator RT @user#id: refTweet + +

Does official retweet.

+
+
+ + :twittperator TweetText RT @user#id: refTweet + +

Does classic retweet.

+
+
+ + :twittperator!+status_id + +

Adds the tweet to your favorites.

+
+
+ + :twittperator!-status_id + +

Delete the tweet from your favorites.

+
+
+ + :twittperator!?SearchText + +

Shows the result of searching SearchText.

+
+
+ + :twittperator!/URI + +

Opens URI.

+
+
+ + :twittperator!delete StatusID + +

Deletes the StatusID tweet.

+
+
+

Authentication Setting

First of all, you have to get your PIN from Twitter and signify it to Twittperator. Type a following command: - >|| + :tw -getPIN - ||< + and you will get the page to authorize Twittperator to access Twitter in a new tab. If you allow and you will get the PIN (7 digit numbers), then yank it. Secondarily, authorize Twittperator with your PIN. - >|| + :tw -setPIN yanked_PIN - ||< - == FAQ == + +

FAQ

+

- What is this ? +

+

The plugin that just tweet with Vimperator. +

+

- My timeline is hard to see...? +

+

We are making an effort, and welcoming patches. +

+

- By the way, is it possible to show timeline automatically? +

+

Use chirpstream. Write the below line into rc file. let g:twittperator_use_chirp = 1 +

+

- It's too much of the bother to show my timeline manually!! +

+

We think implementing a wider display method and a mean of word wrapping will solve this issue. Any ideas? +

+

- Is there a plan to work together Growl GNTP? +

+

Write the plugin. - ]]> - + + + teramako + anekos + MIT License + +

+ これはOAuth認証を用いたTwitterクライアントプラグインです。 +

+

Command

+ - 適当に補完しましょう。 + + :twittperator -getPIN + +

PINコード取得ページを開きます。

+
+
+ + :twittperator -setPIN PINcode + +

PINcodeを設定します。

+
+
+ + + :twittperator + +

前回取得したタイムラインを表示します。 (キャッシュが90秒以上古い場合は再取得。)

+
+
+ + :twittperator! + +

強制的に取得したタイムラインを表示します。

+
+
+ + :twittperator!@ + +

あなたへの言及(mentions)表示します。

+
+
+ + :twittperator!@user + +

@user のタイムラインを表示します。

+
+
+ + :twittperator TweetText + +

TweetTextをポストします。

+
+
+ + :twittperator @user#id TweetText + +

@user への返信になります。

+
+
+ + :twittperator RT @user#id: refTweet + +

公式RTになるはずです。

+
+
+ + :twittperator TweetText RT @user#id: refTweet + +

非公式RTになるはずです。

+
+
+ + :twittperator!+status_id + +

tweetをfavoriteします。

+
+
+ + :twittperator!-status_id + +

tweetをunfavoriteします。

+
+
+ + :twittperator!?SearchText + +

SearchTextの検索結果を表示します。

+
+
+ + :twittperator!/URI + +

URIを開きます。

+
+
+ + :twittperator!delete StatusID + +

StatusIDのツイートを削除します。

+
+
+

Authentication Setting

最初にPINコードを取得し設定する必要があります。 - >|| + :tw -getPIN - ||< + を実行すると新規タブに本アプリケーションを許可するかを問うページが開かれます。 許可をすると、PINコード(数値)が表示されるのでコピーしてください。 - >|| + :tw -setPIN コピーしたPINコード - ||< + で初期設定完了です。 - == FAQ == +

FAQ

+

- なんて読むんだ +

+

知らん。トゥイットゥペレータと自分は勝手に読んでいる。 +

+

- 何のためのクライアント? +

+

Vimperatorを使っていて、さくっと呟きたいとき用です(ぉ +

+

- TL表示をもっと工夫しろ +

+

ごめんなさい。改良してコミットしてくれると嬉しいです。 +

+

- つーか、TLくらい自動取得しろ +

+

はい、がんばりました。 - let g:twittperator_use_chirp = 1 + let g:twittperator_use_chirp = 1 として、chirpstream を利用してください。 +

+

- ぶっちゃけTL表示とか面倒だよね? +

+

はい、がんばります・・・ でかい表示領域と行の折り返し方法が確立できれば、もっと頑張れる気がします。 +

+

- Growl GNTP との連携しないの? +

+

プラグイン書きましょう。 - ]]> -; +

+
+; + +// }}} (function() { -- cgit v1.2.3