In the API you now can update not only the body but also the title. In html2plain the function for valid urls was improved.

2022.09-rc
Michael 2012-11-04 23:18:52 +01:00
rodzic 84fc866976
commit 6afa5d1c48
2 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -559,6 +559,8 @@
$_REQUEST['body'] = requestdata('status');
//$_REQUEST['body'] = urldecode(requestdata('status'));
$_REQUEST['title'] = requestdata('title');
$parent = requestdata('in_reply_to_status_id');
if(ctype_digit($parent))
$_REQUEST['parent'] = $parent;

Wyświetl plik

@ -92,6 +92,9 @@ function collecturls($message) {
if ((strpos($treffer[1], "//plus.google.com/") !== false) and (strpos($treffer[1], "/posts") !== false))
$ignore = false;
if ((strpos($treffer[1], "//plus.google.com/") !== false) and (strpos($treffer[1], "/photos") !== false))
$ignore = false;
if (!$ignore)
$urls[$treffer[1]] = $treffer[1];
}