View Single Post
bergie's Avatar
Posts: 381 | Thanked: 847 times | Joined on Jan 2007 @ Helsinki
#5
Originally Posted by dneary View Post
There's a widely used hack for this in blogging software - if you put

Code:
<!-- MORE -->
in your post, the summary is up to that point. Is this the convention you're using? This would also be useful for agregation purposes.

In the absence of thos you could always fall back to cutting at the end of the first
Code:
<p>
We have a character limit, after which we start looking for first end-of-sentence, which may be any of:

Code:
., ?, !, </p>, </li>, </blockquote>, </div>
Adding the MORE convention there would probably make sense too.
 

The Following User Says Thank You to bergie For This Useful Post: