Re: Doc Team Organization Revisited
| From: | Scott Mattocks | Date: | Fri, 07 Apr 2006 15:43:02 +0000 |
| Subject: | Re: Doc Team Organization Revisited | ||
| References: | 1 2 3 4 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-2164@lists.php.net to get a copy of this message | ||
Steph Fox wrote:
By checking the length of the content in the <desc></desc> element (after calling trim()). With SimpleXML this would be a breeze but the entities are giving me trouble with SimpleXML (even if I use the LIBXML_NOENT option). I can do it using DOM but it is a little more cumbersome. I can run that check on all of the method elements and then get a percentage of complete methods. It might not be 100% accurate but it is better than nothing. Also, it can be put into some sort of cron so that it stays up to date. I have a new feature release at work on Monday which means I will be busy debugging and testing all day, so I may not have time to get the script done today. -- Scott Mattocks Author of the soon to be published: Pro PHP-GTK http://www.crisscott.comI think I can crank out a script pretty easily that will examine the XML and pull out the data I am looking for.That'd be cool! I used to have something for tracking translations with, but it was pretty basic and as far as I recall it relied on manual upkeep anyway. If you can autogenerate something for the /en version it'd be good (but how would an autogenerated script 'know' whether, say, descriptions are filled in?