Showing posts with label xml. Show all posts
Showing posts with label xml. Show all posts

28 April 2008

Because You're Smarter Than XML

While developing Atom Syndication support for the new site I started to get fed up (ha!) with the standard methods of XML generation in Python. Obtuse and verbose, the number of lines of code it took to generate a simple feed grew to an order of magnitude greater then the number of lines it took to serve that same feed. I wanted something a little less error prone and a little more convenient than string manipulation, but I didn't need any sort of validation or schema support or any of the other things that make the standard XML libraries "smart". The end result was StupidXML, a genuinely "stupid" XML generation library. I've put the code up on Google Code in case someone else will find it useful, let me know if you find any bugs!