For a while now I have been debation on how to do blocks on the php CMS system I am doing, I want it to be able to be used in my templates and not screw with the templater. I have found a way, I have a function that takes what the templater returns(after parsing all the template stuff in it, it will return the contents) it runs through and then parses my block xmlish code.
Here is an example of the code that it takes to make a block in my system.
Look here is a block!
My block XML causes major pwnage
Here is what it looks like.