#20 socialinstace

This commit is contained in:
Arthur 2013-04-29 23:32:39 +02:00
parent d47dd18f3a
commit e99f24639b

View file

@ -501,7 +501,7 @@ if(!empty($_POST['socialaccount']) && !empty($_POST['socialinstance']) && ALLOW_
if($socialinstance === 'twitter') {
if( API_TWITTER !== FALSE ) {
$sitetype = 'twitter';
$siteurl = 'http://twitter.com/$socialaccount';
$siteurl = 'http://twitter.com/'. $socialaccount;
$rssurl = API_TWITTER.$socialaccount;
}
else
@ -509,8 +509,8 @@ if(!empty($_POST['socialaccount']) && !empty($_POST['socialinstance']) && ALLOW_
}
elseif($socialinstance === 'identica') {
$sitetype = 'identica';
$siteurl = 'http://identi.ca/$socialaccount';
$rssurl = 'http://identi.ca/api/statuses/user_timeline/$socialaccount.rss';
$siteurl = 'http://identi.ca/'.$socialaccount;
$rssurl = 'http://identi.ca/api/statuses/user_timeline/'.$socialaccount.rss;
}
elseif($socialinstance === 'statusnet' && !empty($_POST['statusneturl'])) {
$sitetype = 'microblog';