Wow - thanks a million Sharkbait - that is perfect!!!
Exactly what I was hoping to achieve.
Thanks so much.
You are brilliant Sharkbait!
For those (like me) who had never used phx before....
Create a new snippet and call it "phx:threep":
<?php
$strpara = explode( '</p>', $output );
$output = "<p>".strip_tags( $strpara[0] )."</p>"."\n";
$output .= "<p>".strip_tags( $strpara[1] )."</p>"."\n";
$output .= "<p>".strip_tags( $strpara[2] )."</p>";
return $output;
?>
Ditto Call (where startID represents the parent of the documents you’d like to summarise):
[[Ditto? &startID=`40` &tpl=`3Para`]]
Ditto template (I called it 3para):
<div class="news">
<h2><a href="[~[+id+]~]" title="[+longtitle+]">[+title+]</a></h2>
[+content:threep+]
<a href="[~[+id+]~]" title="Read the whole story" class="more">More...</a>
</div>
(using [+content:threep+] takes the first 3 paras from the resource content area)
Enjoy.