From: Andrew Dolgov Date: Wed, 30 Nov 2005 18:14:57 +0000 (+0100) Subject: limit length of selected content for preview X-Git-Tag: schema_feature_freeze_for_1.1~13 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d998a8a8e0506958a3249234075aca79d590ee5d;p=tt-rss.git limit length of selected content for preview --- diff --git a/backend.php b/backend.php index 3fa36d5c..0b051a16 100644 --- a/backend.php +++ b/backend.php @@ -1001,7 +1001,7 @@ } if (!$vfeed_query_part) { - $content_query_part = "content as content_preview,"; + $content_query_part = "SUBSTRING(content,1,300) as content_preview,"; } else { $content_query_part = ""; }