Page 1 of 1

Twitter Plugin: Wrong link ecoding in PHP mode

Posted: Sat Feb 12, 2011 6:08 pm
by lfrantzen
Hi,

Setup:
Powered by Serendipity 1.5.5 and PHP 5.2.17
Twitter Timeline (serendipity_plugin_twitter) 1.29

When I set the plugin to PHP mode, the link which shall lead to the tweet itself on twitter is wrong.
For instance, the tweet:

Code: Select all

Bla Bla Bla.
Saturday, February 12 2011
will have the "Saturday, February 12 2011" being a link like:
http://twitter.com/frantzencd/statuses/ ... 699193E+16
which is non existent.

If, instead, I use Javascript mode, I get the correct link:
http://twitter.com/frantzencd/statuses/ ... 5699192832

This looks a lot like some wrong number coversion in PHP. You can try it out at my blog (see left).

Alaaf,
Lars

Re: Twitter Plugin: Wrong link ecoding in PHP mode

Posted: Sat Feb 12, 2011 6:25 pm
by yellowled
Can't really help with this, but if someone fixes this: Please also remove the align="right" from the backtweet img inserted by the plugin. It's invalid HTML. If necessary (can't see why), it should be aligned using CSS. I didn't remove it myself since I didn't think this alone if would be worth a version number incrementation to the plugin.

YL

Re: Twitter Plugin: Wrong link ecoding in PHP mode

Posted: Mon Feb 14, 2011 2:15 pm
by garvinhicking
Hi!

Thanks for reporting! Both now fixed in 1.30...

Regards,
Garvin