Twitter Widget 1.2
The Twitter Widget now caches tweets using the PEAR package Cache_Lite. Follow the instructions in the link below.
http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/
The Twitter Widget now caches tweets using the PEAR package Cache_Lite. Follow the instructions in the link below.
http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/
September 12th, 2009 at 3:39 pm
Great script! One fix though.. it dies if somebody’s twitter has a line break in it. To fix, add:
g = g.replace(new RegExp( “\\n”, “g” ), “”);
in processData before you eval it:
var g = list[i];
g = g.replace(new RegExp( “\\n”, “g” ), “”);
eval(g);
(Just strips out line breaks. In my situation, replacing with “” was the right solution, maybe a space is better?)
September 13th, 2009 at 12:21 pm
Marty,
Thanks for find a problem! I’ll add this into the next version.