[twitter-dev] Re: curl/php encoding

2009-03-23 Thread Cameron Kaiser
> Cameron - you're a star! > That's exactly the bit of magic I needed. Instead of ENcoding it, i > shudda been DEcoding! That trips up a lot of people. It helps to remember that UTF-8 is the "encoded" format of Unicode, and then the function names make sense (Perl's UTF-8 support is the same way)

[twitter-dev] Re: curl/php encoding

2009-03-23 Thread Hippyjim Starbrook
Cameron - you're a star! That's exactly the bit of magic I needed. Instead of ENcoding it, i shudda been DEcoding! Thanks so much. On 23 Mar, 12:39, Cameron Kaiser wrote: > > I'm aware of the difference a doctype would make to *browser* > > rendering. Problem is - the info is not for a browser

[twitter-dev] Re: curl/php encoding

2009-03-23 Thread Cameron Kaiser
> I'm aware of the difference a doctype would make to *browser* > rendering. Problem is - the info is not for a browser. It's being > passed to another application, that can only take a text response of a > certain size. That means adding all the usual html page headings etc > just won't work.The

[twitter-dev] Re: curl/php encoding

2009-03-23 Thread Hippyjim Starbrook
Thanks Abraham I'm aware of the difference a doctype would make to *browser* rendering. Problem is - the info is not for a browser. It's being passed to another application, that can only take a text response of a certain size. That means adding all the usual html page headings etc just won't wor

[twitter-dev] Re: curl/php encoding

2009-03-22 Thread Abraham Williams
Viewing the http://playercontrol.slevolution.com/twitterupdates.php in Firefox on OSX it looks fine. In Safari and Opera it is all messed up. It is possible that by adding a html doctype on your output page the browser will render it properly. Try looking at it in a few browsers and try adding a do

[twitter-dev] Re: curl/php encoding

2009-03-21 Thread Hippyjim Starbrook
yikes - hit send before adding "thanks" :D On 21 Mar, 16:27, Hippyjim Starbrook wrote: > Ok, I use a prewritten Library I picked up somewhere for this one > (altho I have the same problem if i just use PHP/cURL myself). > > So here's the "main" code: > > include_once("twitter.lib.php"); > $twit

[twitter-dev] Re: curl/php encoding

2009-03-21 Thread Hippyjim Starbrook
Ok, I use a prewritten Library I picked up somewhere for this one (altho I have the same problem if i just use PHP/cURL myself). So here's the "main" code: strtotime("-10 Minutes")) { $fileUpToDate = true; $tweets = unserialize(file_get_contents($tweetFil

[twitter-dev] Re: curl/php encoding

2009-03-16 Thread Doug Williams
Hippyjim, First I love the handle. Now onto your issue... Can you post the code you are using to download your timeline and lets work from there? This should be the contents of the linked PHP file. Be sure to obscure any credentials that may be hard-coded in there. Thanks, Doug Williams Twitter A