11002 Posts in 2734 Topics by 1823 members
|Go to End||Next >|
27 November 2009 at 12:41am Last edited: 27 November 2009 12:56am
Decided to post the running code I have - you can see it in action here:
The SilverStripe static method raw2xml:
is what does the trick on the parts of the feed that have been UTF-8 decoded in the original TwitterAPI class.
Since SilverStripe uses UTF-8 encoding I am not sure why the class uses the php UTF-8 decoding function?
27 November 2009 at 4:07am
hi all, Sorry for this delay to answer, I didnt notice this thread, must be mistakenly ticked off the Subscribe check box, I will answer these soon.
michaelhmm Many thanks for contacting me on twitter. So I will review the code, i see it needs some refactoring as well.
Give me a day or two over the weekend i will have some time for this for sure.
14 December 2009 at 9:44pm
check with this code, I did some new updates to the look and feel too.
13 March 2010 at 12:05am Last edited: 13 March 2010 12:49am
Just noticed that the code in the twitterAPI is using:
which doesn't work (won't convert special characters like & to html entities so breaks rendering of a strict xml document ) it should be:
13 March 2010 at 12:20am
Social Logic Error!
The page template twitterPage.ss will print the message that you have "0 Friends" if you specify that you want no freinds to show in the twitter form within the content management system.
The message is not necessarily true since you may have many friends but not wish to show them.
It is also just not nice to be told you have no friends, especially by a computer never mind by a human!
12 April 2010 at 9:17pm Last edited: 12 April 2010 9:19pm
Complexity: Convert:raw2xml is sometimes run twice on the same feed string when it's placed into the working SilverStripe framework as part of the twitter module. So for example the special character:is double converted to:
It doesn't do this in isolation in tests so there is something in the flow of object processing which is causing this anomaly. Any ideas why this might be occuring?
7 May 2010 at 10:40pm
Does anyone use this module in ss 2.4? Seems that I don't get any data from my twitter-account... e.g. "0 Followers" Not sure yet what's wrong.
|Go to Top||Next >|