Julie Smith writes:
> One of our lecturers is submitting an academic Web site for the RAE and
> needs to give a fairly accurate word count, the site is quite large
Remember (this is serious) that the RAE people are not going to
*check* the word count, as they don't have a word-counter either. Tell
them whatever they want to hear, they will not know any better.
Second answer, take all the HTML files, and get a total character
count (if you use a decent operating system:
wc -c`find . -name "*.htm*" `
). then take one representative file, and do a word-count by
hand. Then extrapolate from that to see what the proportion of words
to tags is, and apply that proportion to your total word count).
If by any lucky chance your stuff is in XML, writing a word-counter in
XSL is moderately easy.
Sebastian Rahtz
|