Limit Posting Length

Tony Hill tonyhill at iastate.edu
Wed Mar 1 03:17:58 EST 2006


I use a CSS hack to accomplish this.  By wrapping each post in a div or li, and then setting a max-height for that element (along with overflow:hidden) posts are limited to how much size they can take up on the page.

Admittedly, this is a crude hack which accomplishes my goal of limiting the page length.  It has one big drawback.  Depending on the html elements in each feed, the post may not be clipped evenly on a line break.

Tony

<quote who="Mark Derricutt">

> Is there anyway to get Planet to deal with these and generate a valid xml feed at all?
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.waugh.id.au/archives/devel/attachments/20060228/da01e116/attachment.htm


More information about the devel mailing list