show last.fm source in username

This commit is contained in:
friendica 2012-06-20 23:04:55 -07:00
parent 91a3a2d551
commit 53c9ea7606

View file

@ -569,6 +569,7 @@ function probe_url($url, $mode = PROBE_NORMAL) {
$profile = $url; $profile = $url;
$poll = str_replace(array('www.','last.fm/'),array('','ws.audioscrobbler.com/1.0/'),$url) . '/recenttracks.rss'; $poll = str_replace(array('www.','last.fm/'),array('','ws.audioscrobbler.com/1.0/'),$url) . '/recenttracks.rss';
$vcard['nick'] = basename($url); $vcard['nick'] = basename($url);
$vcard['fn'] = $vcard['nick'] . t(' on Last.fm');
$network = NETWORK_FEED; $network = NETWORK_FEED;
} }