]> git.mxchange.org Git - friendica.git/blobdiff - include/salmon.php
merge diaspora/friendika vcard formats - not yet complete
[friendica.git] / include / salmon.php
index d7060b0f7a583cb48296c1c2d123f9fd105f0be2..473432f259542c92a067a41e8681e2f2846ccbc7 100644 (file)
@@ -129,7 +129,8 @@ $namespaces = <<< EOT
       xmlns:as="http://activitystrea.ms/spec/1.0/"
       xmlns:georss="http://www.georss.org/georss" 
       xmlns:poco="http://portablecontacts.net/spec/1.0" 
-      xmlns:ostatus="http://ostatus.org/schema/1.0" >
+      xmlns:ostatus="http://ostatus.org/schema/1.0" 
+         xmlns:statusnet="http://status.net/schema/api/1/" >                                                                                                   >
 EOT;
 
        $slap = str_replace('<entry>',$namespaces,$slap);
@@ -144,9 +145,9 @@ EOT;
 
        // Setup RSA stuff to PKCS#1 sign the data
 
-       set_include_path(get_include_path() . PATH_SEPARATOR . 'phpsec');
+       set_include_path(get_include_path() . PATH_SEPARATOR . 'library/phpsec');
 
-       require_once('phpsec/Crypt/RSA.php');
+       require_once('library/phpsec/Crypt/RSA.php');
 
     $rsa = new CRYPT_RSA();
     $rsa->signatureMode = CRYPT_RSA_SIGNATURE_PKCS1;