Try Markup > Utilities > Remove Comments and Markup > Utilities >
Remove Markup, count the words, then undo.

If there are script and style elements, you'll need to remove them,
because they will add to the word count too.

On Dec 16, 2:44 pm, RobS <[email protected]> wrote:
> Hi,
>
> I'm trying to answer the question asked by a client of mine: can you
> tell me how many words there are on my web site?
>
> Sure, I said, I'll just ask BBEdit to tell me. But I suspected my all-
> time favourite app was inflating the count a little, so to find out I
> copied the text of one page of the site, as presented in a browser,
> into a new BBE doc, counted it there and found it had 2159 words.
> However, BBE reports the actual HTML file has 2970 words, so obviously
> the count function is NOT ignoring the code.
>
> Is there maybe a Pref somewhere I've missed? If not, can someone
> suggest a better way to get a word count of all the pages on a rather
> large site? I know how many words (419) there are in the metadata and
> navigation stuff at the top of every page, so I can manually subtract
> that, but even doing so I still get a higher count than I should -- by
> almost 20%.
>
> Rob

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

Reply via email to