mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-24 02:16:08 +03:00
[TwitterBridgeExtended] Use username as alternative to the image
This commit is contained in:
parent
63bb7ef24d
commit
1a572f6639
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class TwitterBridgeExtended extends BridgeAbstract{
|
|||
}
|
||||
|
||||
// get tweet text
|
||||
$item->content = '<a href="https://twitter.com/'.$item->username.'"><img style="align:top;width:75px;" alt="avatar" src="'.$item->avatar.'" />'.$item->username.'</a> '.$item->fullname.'<br/><blockquote>'.str_replace('href="/', 'href="https://twitter.com/', $tweet->find('p.js-tweet-text', 0)->innertext).'</blockquote>';
|
||||
$item->content = '<a href="https://twitter.com/'.$item->username.'"><img style="align:top;width:75px;" alt="'.$item->username.'" src="'.$item->avatar.'" /></a> '.$item->fullname.'<br/><blockquote>'.str_replace('href="/', 'href="https://twitter.com/', $tweet->find('p.js-tweet-text', 0)->innertext).'</blockquote>';
|
||||
// generate the title
|
||||
$item->title = $item->fullname . ' (@'. $item->username . ') | ' . $item->content_simple;
|
||||
// put out
|
||||
|
|
Loading…
Reference in a new issue