Word Count Tool

I wrote this little word count tool to see how much content there actually is on my page for Google to index. This tool ignores anchor text even if I linkdrop in a meaty paragraph like this one, just for simplicity sake. It's nothing unsual or spectacular. I just writing my own scripts; once I add a few more features to it though, it will be something else. Anyway, I wrote this script to see if I can prevent myself from feeding Google any more thin pages and creating supplemental pages unnecessarily. It's *supposed to be* an anti-supplemental index tool. I noticed pages with very little text often get thrown in the supplemental index. I'm not saying having no words on a page results automatically in a do-not-pass-go trip to supplemental hell, but that's been a noticeable pattern with my domains. I may expand this to show Title/description SERP snippetizer type of deal just to make sure I get the text I want to show on Google SERPS. If you like this tool or have any suggestions, shoot me an email (look for it on my blog). And why did I leave this huge chunk of text above the submit form so you have to scroll down every time you want to run the script? Google, dammit.

How to use this Tool

Dump your url in the textbox and click submit. Click re-evaluate if you want to run the script through the same page. If word count returns less than 100, you're in deep trouble buddy.

URL:
META Description:
Description Length: 0
TITLE:

NOTE: Anchor text is ignored.
Doesn't ignore stop words or short words.

Text length in characters: 0
IGNORED WORDS:Array ( [0] => )
Wordcount: 0
Link Count: 0
Unique Links: 0
External Links: 0
Array ( )
URL:


Notes

Fixes & Features

Known Bugs

Features I may add later

Coding Notes

This is a straight-forward file_get_contents / preg_match regexp page parser. It's my first time using preg_replace though. The code is based on an example script from php.net preg_replace page.

Copyright SEO4Fun.com All Rights Reserved.