Good start :) It would be much better to reintroduce the fixed TOC
structure, since there were some intentions in the structure of the
categorization (ie. basic, mostly used stuff was up in the TOC). Like
text handling and variable and type handling should be above session,
regardless of alphabetical order :)

Two solution options:

 - parse the existing extensions.xml for structure
 - have a TOC strtucture array in the generator script

Either way, bogus category tags can also be spotted this way.

Goba


Yep, I agree with you, but when I started doing the script I though that would be too hard to do, but now I think that would be a better option. I'll rewrite the output part to use a simple preg_replace() to update the table. This means that you'll have to add the new sections to the file before updating it, so that new categories come in. Of course a nice solution would be a xml parser, but I don't know if I'll be inspired tomorrow :)

Nuno


OK, problem fixed.
The script is now much cleaner and it uses a SimpleXML iterator to update the file, thus keeping the original order.

Nuno

Reply via email to