Bugfix serendipity_plugin_twitter.php
Posted: Mon May 30, 2011 11:20 am
For the right link to the notice at the Date we need to change in the line 279 $value->id_str . to $value->id . :
from:
to:
then the Date links to the notice in identi.ca
To be continued...
Greetings Seraphyn
EDIT: I put for myself a in front of '</span><a class="twitter_update_time" href="' . $s tatus_url . $value->id . '">' . $this->makeDate($value->created_at,$dateformat) . '</a></li>';
so it turns to '<br></span><a class="twitter_update_time" href="' . $s tatus_url . $value->id . '">' . $this->makeDate($value->created_at,$dateformat) . '</a></li>';
which looks better imo
from:
Code: Select all
$str_output[] = '<li class="twitter_update_' . $odd_css . '"><span> ' . $status->text = $api->replace_links_in_status($va lue->text, $this->get_config('linktext','link'), 'twitter_update_link', 'twitter_user') . '</span><a class="twitter_update_time" href="' . $statu s_url . $value->id_str . '">' . $this->makeDate($value->created_at,$dateformat) . '</a></li>';
to:
Code: Select all
$str_output[] = '<li class="twitter_update_' . $odd_css . '"><span> ' . $status->text = $api->replace_links_in_status($va lue->text, $this->get_config('linktext','link'), 'twitter_update_link', 'twitter_user') . '</span><a class="twitter_update_time" href="' . $statu s_url . $value->id . '">' . $this->makeDate($value->created_at,$dateformat) . '</a></li>';
To be continued...
Greetings Seraphyn
EDIT: I put for myself a
Code: Select all
<br>
so it turns to '<br></span><a class="twitter_update_time" href="' . $s tatus_url . $value->id . '">' . $this->makeDate($value->created_at,$dateformat) . '</a></li>';
which looks better imo