[twitter-dev] Re: Regex to get user agent aka 'source'

2009-10-12 Thread shiplu
Do you use php??
If yes, use strip_tags() function.
otherwise


-- 
A K M Mokaddim
http://talk.cmyweb.net
http://twitter.com/shiplu
Stop Top Posting !!
বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল
Sent from Dhaka, Bangladesh


[twitter-dev] Re: Regex to get user agent aka 'source'

2009-10-12 Thread Scott Haneda


Well holy smokes, add another one to the kitchen sink list of php  
functions I was not aware of. Thanks!


I worry about ' a hreffoo/a, which a browser happily takes, but I  
get this feeling strip_tags is going to only chop off the /a closing  
tag.


Have you had this in use and confirmed twitters data is mostly sane  
and without such HTML formatting issues?

--
Scott
Iphone says hello.

On Oct 12, 2009, at 2:24 PM, shiplu shiplu@gmail.com wrote:


Do you use php??
If yes, use strip_tags() function.
otherwise


[twitter-dev] Re: Regex to get user agent aka 'source'

2009-10-12 Thread Dave Briccetti

I don’t know the background, but I do wish they would split that into,
say, sourceName and sourceUrl.

http://github.com/dcbriccetti/talking-puffin/blob/master/twitter-api/src/main/scala/org/talkingpuffin/twitter/TwitterStatus.scala


[twitter-dev] Re: Regex to get user agent aka 'source'

2009-10-12 Thread Scott Haneda


Agreed, just for data savings alone, there is no reason why *we* need  
to presentation data that Twitter uses.  If they want to use  
rel=nofollow, they they can, but that has no bearing on how I may or  
may not want to use the data.


If there was just url and agent, that alone should shave of GB's of  
data a day I on API calls I would bet.


Thanks for the link.
--
Scott * If you contact me off list replace talklists@ with scott@ *

On Oct 12, 2009, at 5:08 PM, Dave Briccetti wrote:



I don’t know the background, but I do wish they would split that into,
say, sourceName and sourceUrl.

http://github.com/dcbriccetti/talking-puffin/blob/master/twitter-api/src/main/scala/org/talkingpuffin/twitter/TwitterStatus.scala