![]() |
Re: witter - a python twitter client
Quote:
Next tweet and per minute/hour/day/... |
Re: witter - a python twitter client
Quote:
maybe I'm just over sensitive to the idea of pulling new images every time you do anything. I guess the cost isn't that much, but for someone roaming on 3g its a lot of needless data movement. I'm thinking I might settle on weekly, but potentially update for anyone you @reply/mention on the basis that you are probably more interested in their stuff being up to date. Ideally I'm looking for a strategy that will minimise wasted bandwidth, not require lots of code to implement, and keep people moderately up to date with avatars. at the moment I just look for a file which is twitter_id.jpg and if it doesn't exist then download avatar pic and store it in file of twitter_id.jpg this was nice and simple. I'm sure I can come up with something lightweight to compromise between the above factors. |
Re: witter - a python twitter client
Quote:
On the other hand it might be that all apps just download the avatar each time together with the tweet. Could be worth checking. |
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
The witter has a bug. The one chinese word occupancy 3 word.
but in web twitter one chinese word only occupancy 1 word. http://www.twitpic.com/19sisx this is website of twitter http://www.twitpic.com/19sjmh witter http://www.twitpic.com/19sjrk mukan |
Re: witter - a python twitter client
Quote:
i was considering switching from a hard limit to a warned limit which would let you send and just get truncated if twitter doesn't like it. do you have any experience coding for chinese characters? any special calculation to get the o****ing 'right'? |
Re: witter - a python twitter client
whoa, okay i seem to have a bug.
my witter hasn't updated for quite a while. i still don't have avatars. I have 29 percent rootfs space, all my repositories are working fine, yet it won't update. any idea guys?? |
Re: witter - a python twitter client
nevermind
i just skimmed and assumed there was sth wrong my bad :P |
Re: witter - a python twitter client
Quote:
chinese characters in linux we always use utf8, In website we use utf8 unicode and other china criterion. i just know php, i can give you some code of php $str = "我sadasdas" // this must use utf8 code . for ($i=0 ; $i<strlen($str);$i++) { if(ord( $str{$i} )> 127) { $length++; i++; }else{ $length++; } } echo $str." length is ".$length; //我sadasdas length is 9 |
Re: witter - a python twitter client
witter 0.3.1 is now available in extras-devel.
see http://danielwould.wordpress.com/witter for details tywtyw2002, I've not figured out anything yet, but I have made 140 a 'soft' limit so it might mean you can just submit wiht something witter things is much longer but which twitter will be fine with. |
All times are GMT. The time now is 16:21. |
vBulletin® Version 3.8.8