Subject: How to count all words in my site?

Author Message

Jorge estévez

Friday 21 September 2007 4:26:50 am

I would like to count all words in my site so as to accomplish a traslation into several languages (when I say all I mean each and every word included in my site)

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

André R.

Friday 21 September 2007 5:56:51 am

The easiest would be to get the word count from the 'ezsearch_word' database table, it does not include the words from the attributes that are not search able.
If you want to include those, then you need to get the data directly from the ezcontentobject_attribute table and strip XML tags and so on to be able to count the words.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.