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
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

kyle_mathews - December 9, 2008 - 22:35

in meme.tpl.php I limit the text per meme to 400 characters in this line.

<?php
print "<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.

 
 

Drupal is a registered trademark of Dries Buytaert.