]> git.mxchange.org Git - friendica.git/commitdiff
show last.fm source in username
authorfriendica <info@friendica.com>
Thu, 21 Jun 2012 06:04:55 +0000 (23:04 -0700)
committerfriendica <info@friendica.com>
Thu, 21 Jun 2012 06:04:55 +0000 (23:04 -0700)
include/Scrape.php

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