The one I want to use is this:
<?php weblog_headlines(“all”,“3”,“30”,“personal”); ?>
While it works properly, after the nth word (in this case, the 30th), I get the space and the ellipses.
In pMachine Pro’s “weblog.fns.php” I find the following code driving this:
if (($words != "") && ($words !="all"))
{
$newbody = "";
$word = explode(" ",$body);
$count = sizeof($word);
if ($count > $words)
{
for ($i=0; $i< $words; $i++)
{
$newbody .= $word[$i] . " ";
}
$body = $newbody;
}
if ($words != "")
{
$body .= "...";
}
}
Any ideas?