]> git.wh0rd.org Git - tt-rss.git/commitdiff
limit length of selected content for preview
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 30 Nov 2005 18:14:57 +0000 (19:14 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 30 Nov 2005 18:14:57 +0000 (19:14 +0100)
backend.php

index 3fa36d5c18a212e0aef4939ea2b9732b2be40c34..0b051a16eb051a49637e2bb5da956c45ef532e3e 100644 (file)
                        }
 
                        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 = "";
                        }