On 16/12/09 at 11:44 AM -0800, RobS <rstev...@accesscable.net> wrote:
>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?
Translate the file to text first: Markup -> Utilities -> Translate
Do the word count
Then Undo to get all the HTML back
I would expect that process could be scripted as well.
Charlie
--
Ꮚ Charlie Garrison ♊ <garr...@zeta.org.au>
〠 PO Box 141, Windsor, NSW 2756, Australia
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt
If there are script and style elements, you'll need to remove them,
because they will add to the word count too.
But I solved the client's request in the short term by first trying
out Word Count Plus, a plug-in for Firefox. It seemed to work well so
I suggested the client install it. They did and are happy to click it
whenever they wonder how many words they have on a page. It's manual
on a page by page basis, but the good thing is, they're doing it, not
me. ;-)
Rob
> It's manual
> on a page by page basis, but the good thing is, they're doing it, not
> me. ;-)
Amen.
>--
>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 bbe...@googlegroups.com
>To unsubscribe from this group, send email to
>bbedit+un...@googlegroups.com
>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 "sup...@barebones.com" rather than posting to the group.
--
Johan Sölve [FSA Member, Lasso Partner]
Web Application/Lasso/FileMaker Developer
MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se mailto:jo...@montania.se
(spam-safe email address, replace '-' with 'a')
Thanks Johan. Even faster to select Preview In > New Text Window. :-)
Results so far...
a raw XHTML file - 86,008 words (it's a big one!)
Preview in text window - 60,815
copy/paste from web browser - 60,546
Word Count Plus plug-in - 59,922
I've no idea why those last two are so different, but that's not BBE's
fault.
Thanks all,
Rob
> copy/paste from web browser - 60,546
The web browser converts multiple spaces generally to single spaces unless you are using
<pre>
....
</pre>
I doubt that BBEdit is the source of the problem, it could be, but I doubt it...
If the file doesn't contain anything sensitive, send it to sup...@barebones.com, let them have a look at it.
Best Regards,
Bill Hernandez
Plano, Texas
Wow, I hadn't seen that... Thanks back :)
>Results so far...
>a raw XHTML file - 86,008 words (it's a big one!)
>Preview in text window - 60,815
>copy/paste from web browser - 60,546
>Word Count Plus plug-in - 59,922
Preview in > New Text Window outputs extra info for links, so that might explain some of the difference. I get 553 words instead of 499 in a simple test web page with some links in it.