I’ve been up all night learning how to integrate XML into my website. The short version is that I don’t think it’s going to work.
The long answer is a little more complicated. XML will work fine for my article pages. The only thing that it’ll inconvenience is the little “related” tab I have on the navi bar, but I barely fill that out properly anyway. I still have a long way to go before I really understand this stuff, but it seems like it will not work at all for the blog. Essentially, all that goes in the XML files is the body text, and HTML tags don’t work there, so I can’t type up a post in my blog.xml and call it good. I’d have to go add a new set of tags to the xsl file too, and that makes the process slightly more complicated than the copy-paste-replace routine I do now.
But maybe I’m missing something? It doesn’t look like it, but I still have a lot of reading to do. I managed to mock up a new xsl index page, and I did it all through trial and error. Just took an example page, and started figuring out how it worked. That’s exactly the same way I learned to do HTML (which is why my coding skills are so limited).
In any case, I’ll be using XML for my upcoming project. It’s still a week or so from launch, which means I’m way behind, but I’ll have plenty of time to work on it next weekend. Hopefully it works well. For now though, bed.