require_once('include/nav.php');
define ( 'FRIENDIKA_PLATFORM', 'Free Friendika');
-define ( 'FRIENDIKA_VERSION', '2.3.1138' );
+define ( 'FRIENDIKA_VERSION', '2.3.1139' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1097 );
return;
}
$x = str_replace(array('<activity_streams-photo>','</activity_streams-photo>'),array('<asphoto>','</asphoto>'),$x);
- $source_xml = parse_xml_string($x,true);
+ $source_xml = parse_xml_string($x,false);
if(strlen($source_xml->asphoto->objectId) && ($source_xml->asphoto->objectId != 0) && ($source_xml->asphoto->image_url))
$body = '[url=' . notags(unxmlify($source_xml->asphoto->image_url)) . '][img]' . notags(unxmlify($source_xml->asphoto->objectId)) . '[/img][/url]' . "\n";
$body = diaspora2bb($source_xml->status_message->raw_message);
}
else {
- logger('diaspora_reshare: no reshare content found.');
+ logger('diaspora_reshare: no reshare content found: ' . print_r($source_xml,true));
return;
}
if(! $body) {
),
array(
'label' => t('Posted Order'),
- 'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . '?order=post' . ((x($_GET,'cid')) ? '?cid=' . $_GET['cid'] : ''),
+ 'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . '?order=post' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : ''),
'sel'=>$postord_active,
),
$url = $_SESSION['my_url'];
if($url && strlen(get_config('system','directory_submit_url')))
proc_run('php',"include/directory.php","$url");
+
}
+// not yet ready for prime time
+// require_once('include/profile_update.php');
+// profile_change();
+
$_SESSION['theme'] = $theme;
if($email_changed && $a->config['register_policy'] == REGISTER_VERIFY) {
--- /dev/null
+<XML>
+ <post><profile>
+ <diaspora_handle>$handle</diaspora_handle>
+ <first_name>$first</first_name>
+ <last_name>$last</last_name>
+ <image_url>$large</image_url>
+ <image_url_small>$small</image_url_small>
+ <image_url_medium>$medium</image_url_medium>
+ <birthday>$dob</birthday>
+ <gender>$gender</gender>
+ <bio>$about</bio>
+ <location>$location</location>
+ <searchable>$searchable</searchable>
+ <tag_string>$tags</tag_string>
+</profile></post>
+ </XML>