API: RSS-Feeds are now shortened to 1000 characters. (With added link)

This commit is contained in:
Michael Vogel 2012-04-22 18:00:24 +02:00
parent 71e2dbf352
commit a3f08c44be

View file

@ -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,