Hi! I have addded a new script (entities.php) in the scripts dir. What it does, is to extract the entity names from a given entity file (eg. global.ent) and try to find them used in a given translations XML files. This helps to eliminate the numerous unused entities in global.ent and other entity. It shows many entities unused. The generated entity_usage.txt attached (the unused entities are marked with ++). Goba
ENTITY USAGE STATISCTICS ========================================================= In this file you can find entity usage stats compiled from the entity file: global.ent. The entity usage was tested in the en tree at phpdoc. You may find many unused entities here. Please do not delete the entities, unless you make sure, no translation makes use of the entity. Interestingly, the purpouse of this statistics is to reduce the number of unused entities in phpdoc. Here comes the numbers and file names: ========================================================= url.adabas 2 ++ url.adobe 0 url.apache 2 url.apachedso 1 url.argsep 2 url.asciitable 4 url.aspell 4 url.bcmath 2 url.browscap 1 url.bzip2 2 url.calendar 2 ++ url.calendar.time 0 url.cert 1 url.cdb 1 url.cgispec 2 url.cgispecs 1 url.cpdf 1 url.curl 1 url.cybermut 2 url.dbplus.company 2 url.dbplus.download 1 url.dbplus.documentation 1 url.dbstyle 1 url.dbx.docs 2 ++ url.docbook 0 url.docbook.xml 1 ++ url.docbook-ref 0 ++ url.docbook-dtdref 0 ++ url.docbook-intro 0 url.domxml 1 url.dsssl 1 ++ url.e-soft 0 ++ url.emacs-src 0 ++ url.emacs-nt 0 url.email.book 1 url.expat 2 url.expat.rpm 2 url.fastio 1 url.fbsql 2 url.fbsql.docs 3 url.filepro 2 url.freetype 1 url.freeodbc 1 url.gd 2 url.gdbm 2 url.gmp 2 url.hyperwave 1 ++ url.hyperwave-proto 0 url.iicm 1 url.ibase 3 url.ibmdb2 2 url.icap 2 url.iiscfg 1 url.imap 2 url.imap.book 1 url.iodbc 3 url.iptc 4 url.ircg 1 url.jade 1 url.jclark 1 url.jpeg 3 url.ldap.netscape 1 url.ldap.filters 1 url.ldap.michigan 1 url.ldap.ldapworld 1 url.ldap.openldap 1 url.ldap.openldap-c-api 2 ++ url.levenshtein.demo 0 url.lightyear 1 url.libiconv 2 url.macosx 1 ++ url.macosx2 0 url.macromedia 2 url.malinimg 1 url.mcal 2 url.mcrypt 2 url.mersenne 2 url.mersenne.twister 2 url.mhash 2 url.ming 2 url.mirrors 1 url.mnogo 2 url.msql 3 url.mysql 3 url.mysql.docs 3 ++ url.mysql.docs.fr 0 url.netcraft 1 url.netcraft-survey 1 ++ url.nexen 0 url.nwalsh 1 url.nis 1 url.nis.book 1 url.openbsd 2 url.openbsd.packages 1 url.openbsd.ports 1 url.openlink 2 url.openssl 1 url.oracle 1 url.ovrimos 1 ++ url.psgml 0 url.pcre 2 url.pdf 2 url.pdflib.merz 1 url.pfpro 2 url.pfpro.download 1 url.php 6 url.php.faq 4 ++ url.php.changelog 0 url.php.bugs 2 url.php.bugdosdonts 1 url.php.cvs 2 url.php.docs 2 url.php.gtk 1 ++ url.php.manual 0 ++ url.php.snaps.manual 0 url.php.stats 1 url.phpdoc 2 url.pgsql 2 url.pspell 8 url.qmail 1 url.readline 2 url.rec-xml 2 url.redhat 1 url.redhat.ccvs 2 url.redhat.support 2 url.rfc 29 ++ url.rfc.editor 0 url.rfc1950 1 url.rfc1951 1 url.rfc1952 1 url.sablotron 2 url.sesam.de 1 url.sesam.en 1 url.sleepycat 3 url.solid 2 url.stepwise 1 ++ url.stepwise.macosx-server 0 url.stepwise.macosx-client 2 url.strnatcmp 4 url.swf 2 url.swf.test 1 url.sybase 2 url.symbole-legendre 1 url.t1lib 2 url.tenon 1 ++ url.texinfo 0 url.tiff 1 url.ucd-snmp 1 url.unicode 1 url.velocis 1 url.win32install 2 url.winhelp 1 url.wddx 1 ++ url.xemacs 0 url.xml 2 url.xslt 2 url.yaz 2 url.yaz-phpyaz 2 ++ url.yaz.ill 0 ++ url.yaz.specs 0 url.zend 1 ++ url.zend.mail 0 url.zlib 1 url.zziplib 3 book.applied.cryptography 2 ++ email.rasmus 0 ++ email.stig 0 ++ email.bob 0 ++ email.perugini 0 ++ email.rafael 0 ++ email.dams 0 ++ email.bibi 0 email.ming 2 email.php.install 1 email.php.install.subscribe 2 link.rasmus 1 ++ link.stig 0 link.bob 1 ++ link.perugini 0 ++ link.rafael 0 spec.ftp 1 ++ spec.http1.0 0 spec.http1.1 2 spec.cookies 3 spec.strftime 1 spec.hyperwave 1 spec.pdf.fdf 2 true 397 false 601 null 73
