Some testing stuff
This commit is contained in:
parent
0fb22e1284
commit
e2f276881e
|
@ -148,6 +148,7 @@
|
||||||
//echo "<pre>"; var_dump($r); die();
|
//echo "<pre>"; var_dump($r); die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
logger('API call not implemented: '.$a->query_string." - ".print_r($_REQUEST,true));
|
||||||
$r = '<status><error>not implemented</error></status>';
|
$r = '<status><error>not implemented</error></status>';
|
||||||
switch($type){
|
switch($type){
|
||||||
case "xml":
|
case "xml":
|
||||||
|
|
|
@ -14,7 +14,7 @@ require_once('include/html2bbcode.php');
|
||||||
function diaspora2bb($s) {
|
function diaspora2bb($s) {
|
||||||
|
|
||||||
// for testing purposes: Collect raw markdown articles
|
// for testing purposes: Collect raw markdown articles
|
||||||
$file = tempnam("/tmp/", "markdown");
|
$file = tempnam("/tmp/friendica/", "markdown");
|
||||||
file_put_contents($file, $s);
|
file_put_contents($file, $s);
|
||||||
|
|
||||||
$s = html_entity_decode($s,ENT_COMPAT,'UTF-8');
|
$s = html_entity_decode($s,ENT_COMPAT,'UTF-8');
|
||||||
|
|
Loading…
Reference in a new issue