]> git.mxchange.org Git - friendica.git/blobdiff - mod/noscrape.php
Better content detection for posts to Twitter
[friendica.git] / mod / noscrape.php
index 2732336504fdbeffb76a78f8ff08a3f0d8112cbf..4b2ce73a39e89849d562a8e6c89c143bd412a345 100644 (file)
@@ -37,7 +37,7 @@ function noscrape_init(App $a) {
                'addr'     => $a->profile['addr'],
                'nick'     => $which,
                'key'      => $a->profile['pubkey'],
-               'homepage' => App::get_baseurl()."/profile/{$which}",
+               'homepage' => System::baseUrl()."/profile/{$which}",
                'comm'     => (x($a->profile,'page-flags')) && ($a->profile['page-flags'] == PAGE_COMMUNITY),
                'photo'    => $r[0]["photo"],
                'tags'     => $keywords
@@ -72,7 +72,7 @@ function noscrape_init(App $a) {
 
        $dfrn_pages = array('request', 'confirm', 'notify', 'poll');
        foreach ($dfrn_pages as $dfrn) {
-               $json_info["dfrn-{$dfrn}"] = App::get_baseurl()."/dfrn_{$dfrn}/{$which}";
+               $json_info["dfrn-{$dfrn}"] = System::baseUrl()."/dfrn_{$dfrn}/{$which}";
        }
 
        //Output all the JSON!