More text
junkbond - December 7, 2008 - 18:14
| Project: | Memetracker |
| Version: | 6.x-1.1-alphpa5 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
How can I have more text for every meme that is published? I am getting about a line from the news story. Techmeme gives about 4-5 lines for every news story.
How can I change that in my memetracker?

#1
in meme.tpl.php I limit the text per meme to 400 characters in this line.
<?phpprint "<p>" . strip_tags(node_teaser($content->get_body(), Null, 400)) . "</p>";
?>
But 400 characters should give you more than just a few lines. The problem is that we're at the mercy of the feed provider. Many feed providers only send out a line in their feed. Techmeme gets around that limitation by screen scrapping the sites it indexes.