Closed (fixed)
Project:
Feedparser
Version:
4.7.x-1.x-dev
Component:
feedaggregator_node
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2007 at 10:52 UTC
Updated:
1 Aug 2007 at 09:49 UTC
Some sites publish their full feed... I'm wondering if there is a way that you can limit the number of characters displayed from the feed that is published on your site. This would allow you to avoid publishing their full feed (article) on your site...
Thanks in advance!
Comments
Comment #1
chrishaslam commentedIn node-aggregator-item.tpl.php change print $content to:
Which would snip the content to 100 characters
Comment #2
jlee commentedThanks!!! I'll give it a shot!
Comment #3
buddaprint truncate_utf8($content, 100, TRUE, TRUE)
might be a better choice to put in your theme's node-aggregator-item.tpl.php template.
Check the manual page for the command for info about the last two parameters.
Comment #4
(not verified) commented