This is a very crude solution, limiting the number of postings. I mean, some postings are long and some are very short. I could put just five postings on the page and have a gap and on the next page, put three posting and float off the page.
Isn’t there a way of making the page fit the text and not try to do it the other way around?! Or, failing that, have each page a (potentially) different length?