API: RSS-Feeds are now shortened to 1000 characters. (With added link)
This commit is contained in:
parent
71e2dbf352
commit
a3f08c44be
|
@ -1242,6 +1242,9 @@
|
|||
else
|
||||
$statustext = trim($statustitle."\n\n".$statusbody);
|
||||
|
||||
if (($item["network"] == NETWORK_FEED) and (strlen($statustext)> 1000))
|
||||
$statustext = substr($statustext, 0, 1000)."... \n".$item["plink"];
|
||||
|
||||
$status = array(
|
||||
'text' => $statustext,
|
||||
'truncated' => False,
|
||||
|
|
Loading…
Reference in a new issue