diff --git a/bridges/TwitterBridgeExtended.php b/bridges/TwitterBridgeExtended.php index 6a90c2e..e0e2607 100644 --- a/bridges/TwitterBridgeExtended.php +++ b/bridges/TwitterBridgeExtended.php @@ -70,7 +70,16 @@ class TwitterBridgeExtended extends BridgeAbstract{ } // get tweet text - $item->content = ''.$item->username.' '.$item->fullname.'
'.str_replace('href="/', 'href="https://twitter.com/', $tweet->find('p.js-tweet-text', 0)->innertext).'
'; + //$item->content = ''.$item->username.'

'.$item->fullname.'


'.str_replace('href="/', 'href="https://twitter.com/', $tweet->find('p.js-tweet-text', 0)->innertext).'
'; + + $cleanedTweet = str_replace('href="/', 'href="https://twitter.com/', $tweet->find('p.js-tweet-text', 0)->innertext); + + $item->content = <<{$item->username} +

{$item->fullname}


+
{$cleanedTweet}
+EOD; + // generate the title $item->title = $item->fullname . ' (@'. $item->username . ') | ' . $item->content_simple; // put out