I just took a look at the sweet XML output parser and would like to make some improvement suggestion
WARNING: code ahead
I work a lot with xml and one thing on that output really hurt my eye: The list view is some kind of pseudo xml.
Code: Select all
<folder>
   <id>1</id>
   <name>Classic AO</name>
   <offset>0</offset>
   <items>0</items>
   <parent>0</parent>
</folder>
<folder>
   <id>8</id>
   <name>Gameplay Guides</name>
   <offset>1</offset>
   <items>53</items>
   <parent>1</parent>
</folder>why use xml, when it's not even hierarchic?
I know it's more work for you, but I still would suggest the following layout:
Code: Select all
<folder>
   <id>1</id>
   <name>Classic AO</name>
   <items>0</items>
   <folderlist>
     <folder>
         <id>8</id>
         <name>Gameplay Guides</name>
         <items>53</items>
      </folder>
   </folderlist>
</folder>
I would also suggest adding a version parameter to your parser URL.
When you change any functionality, you simply add a new version (not really hard using multiple files and includes)
Each time you change the functionality in a way that would break clients (modification or deletion of anything)
keep on rockin guys
If you like it but are too busy to do that, I might have some spare time for a change or two on the parser






