How to Make Word Counter Tool on Blogger
In the world of writing like Blogging of course we are no strangers to what is called Word Counter.
A tool that has the basics to know the number of words we have written. Knowing the number of words in the writing will certainly make it easier for us to measure the minimum and maximum word limits when writing.
So we will easily find out how far we have come in writing an article.
Such word counting tool are very useful for people who work as Content Writers who usually in creating articles, they set the number of words as the selling value of their writing.
The fewer words needed the cheaper the writing will be. On the other hand, the more words that are needed, the more expensive the writing will be.
The number of words included in the writing category is also varied. But it generally starts from a short writing that amounts to about 250 words to a long writing that amounts to 1000 words or even more.
Regardless of whether you are a Content Writer or not. But what is clear is that SEO experts recommend full length articles rather than short articles.
Articles that have a full and lengthy discussion have a great chance of getting on the first page of Google's search engine.
Especially since the era of the Google BERT algorithm whose assessment priority is dominant on articles that review an interesting topic that is long and complete.
So do not expect much to appear on the front page of Google search, especially if our article consists of only a few words so that it does not meet the quality of an article.
Therefore, this Word Counter tool will be very useful for us Bloggers in general to count the number of words that have been created in an article.
The Word Counter Tool that we will create does not involve third-party sites, but we only use scripts that have been designed to display word counts so that we can post on our own sites or blogs.
So from now on we do not have to bother to find third-party sites that provide Word Counter tool.
How to Install Word Counter Tool on Blog
- Log in to your respective Blogger accounts.
- Then head to the Pages section.
- Then create a New Page.
- Give the page a title such as "Word Counter" or something else.
- Then Copy the script code and Paste it on the page you just created.
- Last click Publish.
<div id="wct_embed_counts">
<textarea id="wct_embed_input_text" placeholder="Please write/paste your text here..." rows="12" style="-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; width: 100%;"></textarea>
<br />
<div id="wct_embed_result" style="margin: 5px; text-align: center;">
<b>0</b> word <b>0</b> character <b>0</b> characters without spaces <b>0</b> unique word <b>0</b> sentence <b>0</b> paragraph</div>
<script type="text/javascript">
//<![CDATA[
function wct_getWordStats(e){var t=[],n=e.trim();t.num_character=e.trim().length;var r=n.split(/\s+/).join("");t.num_character_wo_spaces=r.length,t.num_paragraph=0,n.length>0&&(t.num_paragraph=n.split(/\n+/).length);var a=n.replace(/(\w)[-_'](\w)/gi,"$10$2");a=a.replace(/(\d)[,.](\d)/gi,"$10$2"),t.num_sentence=0,a.length>0&&(t.num_sentence=a.replace(/"/gi,"").split(/[.?!:\n]+/).length);var _=a.split(/[\s\n]+/);if(t.num_word=0,a.length>0&&(t.num_word=_.length),t.avg_sentence_length=0!=t.num_sentence?Math.round(t.num_word/t.num_sentence*10)/10:0,0!=t.num_word){var c=r.length/t.num_word;t.avg_word_length=Math.round(10*c)/10}else t.avg_word_length=0;var d=[];t.num_unique_word=0,t.percentage_num_unique_word=0;for(var s=0;s<_.length;s++)d[_[s]]=1;var u=Object.keys(d).length;return t.num_unique_word=Object.keys(d).length,percentage_unique_words=Math.round(100*u/t.num_word),t.percentage_num_unique_word=percentage_unique_words,t}function wct_display_counts(){var e=document.getElementById("wct_embed_input_text").value;wordStats=wct_getWordStats(e),document.getElementById("wct_embed_result").innerHTML="<b>"+wordStats.num_word+"</b> word <b>"+wordStats.num_character+"</b> character <b>"+wordStats.num_character_wo_spaces+"</b> characters without spaces <b>"+wordStats.num_unique_word+"</b> unique word <b>"+wordStats.num_sentence+"</b> sentence <b>"+wordStats.num_paragraph+"</b> paragraph"}var wct_embed_result=document.getElementById("wct_embed_result");wct_embed_result.setAttribute("style","margin:5px;text-align:center;");var wct_embed_input_text=document.getElementById("wct_embed_input_text");wct_embed_input_text.setAttribute("style","width: 100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing: border-box;");var wct_embed_result=document.getElementById("wct_embed_result");wct_embed_result.innerHTML="<b>0</b> word <b>0</b> character <b>0</b> characters without spaces <b>0</b> unique word <b>0</b> sentence <b>0</b> paragraph";var wct_textarea=document.getElementById("wct_embed_input_text");wct_textarea.value="",wct_textarea.addEventListener&&(wct_textarea.addEventListener("input",wct_display_counts,!1),wct_textarea.addEventListener("textInput",wct_display_counts,!1),wct_textarea.addEventListener("textinput",wct_display_counts,!1)),wct_textarea.attachEvent&&wct_textarea.attachEvent("onpropertychange",wct_display_counts);
//]]>
</script><br /></div>
Word Counter Demo
DemoHow to Use Word Counter on Blog
Please copy all the writing you have created and paste it into the Word Counter form. Then the word calculator will automatically work by displaying details in the form of word counts, paragraphs or spaces.
Enough articles about how to create word counter tool on blogger, I hope it's useful for you. Also share this information with others. Thank you and good luck.
Comments