[pmwiki-devel] breakpage markup

Hans design5 at softflow.co.uk
Thu Apr 12 09:46:08 CDT 2007


Thursday, April 12, 2007, 3:13:53 PM, Patrick wrote:

> Does that help?

Yes it does, thank you very much!
I discovered that I was falling into a markup sequence trap I set
in Fox: #begin... was translated at _begin and to disappear! So the
preg pattern did never find it. Knowing this now I can try a number of
ways to solve the breakpage problem.

I wonder how expensive it is to run the breakpage function triggered
by the markup, as it runs once for every post found, and there could
be hundreds on a page. So maybe I should do the simple thing and let
Fox insert breakpage markers every n posts, just like the breakpage
script uses. I was trying to avoid these hard coded markers, since the
page is structured with post markers anyway.


Hans




More information about the pmwiki-devel mailing list