In the API you now can update not only the body but also the title. In html2plain the function for valid urls was improved.
This commit is contained in:
parent
84fc866976
commit
6afa5d1c48
2 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue