Lean mean XML parsing machine

August 9, 2008 at 2:42 pm (Projects) (, , , )

I just finished writing a new engine for my dad’s website! It parses XML files and places the appropriate items in the title and body tags. I also have it so that it converts newlines to breaks using nl2br() (which is a godsend!). I’m getting ready to write him an editor for it so that he can’t break the xml either (I have the pages disguised as .wood, his business is Woodsmith Creations, documents so that Windows won’t pickup the extension and open it with the wrong program).

I also used a trick i found here to do mod_rewrite-ish URLs without mod_rewrite! (AcceptPathInfo must be on in your httpd.conf though, so that PHP can access the $_SERVER['PATH_INFO'] variable)

Now I just need my partner to finish up CSS and Images and we will be ready to rock!

Post a Comment