Forums / Cotonti / Support / How to limit RSS feed output

Prevent content theft

Trustmaster
#34412 2012-05-25 09:20

The most radical solution would be stripping all tags and then limiting the output to 60 characters:

return mb_substr(strip_tags($text), 0, 60)."<br /><span class=\"readmore\"><a href=\"".$pag_pageurl."\">".$L['ReadMore']."</a></span>";
May the Source be with you!