How to limit very long feed items?
-
Recently, I’m getting memory_limit errors for get_fulltext.php on line 252:
$html = preg_replace( “/\s+/iu”, ” “, $old_html );
The only thing I can imagine is some feed items are extraordinarily long!
Frankly, I do not need to pass all of this content, since I’m adding the original URL.
What else can cause this?
Other than constantly upping my memory_limit (was: 256M, not yet failing at 512M,) what can be done about this?
How can I “truncate” feed items longer than _X_ characters?
Please, advise. Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to limit very long feed items?’ is closed to new replies.