Changeset 38794 for websites

Show
Ignore:
Timestamp:
01/16/11 04:05:26 (2 years ago)
Author:
NeoCat
Message:

thumbnail.js: TweetPhoto? => Plixi

Location:
websites/twicli
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/index.html

    r38777 r38794  
    114114<li><b>ssl.js</b> : TL取得やtweet時にSSLで通信を暗号化します。 
    115115<li><b>translate.js</b> : ▼から「翻訳」を選ぶと、「+」タブ>「翻訳」で指定した言語にtweetを翻訳します。 
    116 <li><b>thumbnail.js</b> : 写真投稿サービスのURLを含むtweetにサムネールをつけます。現在<a href="http://twitpic.com/">twitpic</a>, <a href="http://movapic.com/">携帯百景</a>, <a href="http://f.hatena.ne.jp/">HatenaFotolife</a>, <a href="http://tumblr.com/">Tumblr</a>, <a href="http://yfrog.com/">Yfrog</a>, <a href="http://www.flickr.com/">Flickr</a>, <a href="http://instagr.am/">Instagram</a>に対応しています。 
     116<li><b>thumbnail.js</b> : 写真投稿サービスのURLを含むtweetにサムネールをつけます。現在<a href="http://twitpic.com/">twitpic</a>, <a href="http://movapic.com/">携帯百景</a>, <a href="http://f.hatena.ne.jp/">HatenaFotolife</a>, <a href="http://tumblr.com/">Tumblr</a>, <a href="http://yfrog.com/">yFrog</a>, <a href="http:/plixi.com/">Plixi</a>, <a href="http://www.flickr.com/">Flickr</a>, <a href="http://instagr.am/">Instagram</a>に対応しています。 
    117117<li><b>resolve_url.js</b> : タイムライン上の短縮URLを短縮前のURLに展開します。(created by <a href="http://twitter.com/edvakf">@edvakf</a>) 
    118118<li><b>shorten_url.js</b> : 発言欄で、URLの後に ;;; と打ち込むとURLを短縮します。もう一度打ち込むと元に戻ります。(created by <a href="http://twitter.com/edvakf">@edvakf</a>) 
  • websites/twicli/index_en.html

    r38777 r38794  
    104104<li><b>ssl.js</b> : Use SSL to get timeline and to tweet. 
    105105<li><b>translate.js</b> : Choose "translate" from ▼, then the tweet is translated into the language specified in "+" tab > Translate. (Specify "en" for English.) 
    106 <li><b>thumbnail.js</b> : Add thumbnails to the URL of some photo sharing services. Currently supports <a href="http://twitpic.com/">twitpic</a>, <a href="http://movapic.com/">movapic</a>, <a href="http://f.hatena.ne.jp/">HatenaFotolife</a>, <a href="http://tumblr.com/">Tumblr</a>, <a href="http://yfrog.com/">Yfrog</a>, <a href="http://www.flickr.com/">Flickr</a>, and <a href="http://instagr.am/">Instagram</a>. 
     106<li><b>thumbnail.js</b> : Add thumbnails to the URL of some photo sharing services. Currently supports <a href="http://twitpic.com/">twitpic</a>, <a href="http://movapic.com/">movapic</a>, <a href="http://f.hatena.ne.jp/">HatenaFotolife</a>, <a href="http://tumblr.com/">Tumblr</a>, <a href="http://yfrog.com/">yFrog</a>, <a href="http:/plixi.com/">Plixi</a>, <a href="http://www.flickr.com/">Flickr</a>, and <a href="http://instagr.am/">Instagram</a>. 
    107107<li><b>resolve_url.js</b> : Replace short URLs with the originals in the timeline. (created by <a href="http://twitter.com/edvakf">@edvakf</a>) 
    108108<li><b>shorten_url.js</b> : Typing a URL in the text area followed by three semicolons (;;;) makes a shortened URL. (created by <a href="http://twitter.com/edvakf">@edvakf</a>) 
  • websites/twicli/plugins/thumbnail.js

    r38749 r38794  
    5757                                        'jsoncallback'); 
    5858                } 
    59                 else if (url.match(/^(http:\/\/tweetphoto.com\/\d+)/)) { 
    60                         var _url = url; 
    61                         xds.load('http://TweetPhotoAPI.com/api/TPAPI.svc/jsonp/metadatafromurl?url='+RegExp.$1, 
    62                                         function(x) { 
    63                                                 if (!x.ThumbnailUrl) return; 
    64                                                 addThumbnail(elem, x.ThumbnailUrl, _url); 
    65                                         }); 
     59                else if (url.match(/^(http:\/\/plixi.com\/p\/\d+)/)) { 
     60                        addThumbnail(elem, 'http://api.plixi.com/api/TPAPI.svc/imagefromurl?size=thumbnail&url='+url); 
    6661                } 
    6762                else if (url.match(/^(http:\/\/gyazo.com\/\w+\.png)/)) {