Adding Word Count on Utopian.io Site?
Utopian.io's rules were very wide. A lot of factors to consider and since its a bot, an automated bot which relies on data of the post, there should be innovations to be done. As what I've seen, @utopian.io's points to consider are the following :
- Number of upvotes
- Total Pending Payout
- Comment engagements
- Number of Followers (Less than 500 to give chance for users)
Character Count (Which typically associations with Word Count) --> Our main focus
- Number of Contributions
and many more!
Let's Add Word Count!
I believe this will be beneficial and will be helpful to Utopian contributors count their words. They don't need to visit word counting sites like https://wordcounter.net to count the number of words and be able to identify the how lengthy the post is. This is a pretty simple feature but will be a big impact to the site. It should look like this :
The Idea
Though this has been implemented and created by various sites, I believe these are the parameters used to count the number of words.
- Space Separation (Words are normally separated by space bars)
- Punctuations (dot, comma, colon, semi-colon, question mark, exclamation point)
- Hypen does not count
- Successive spaces doesn't count number of words (A lot of spaces used continuously)
- New Lines
The coding
I known html, but not an expert about it. So this could be a very big help towards the coding scheme of the words. I'll be presenting a simple word-counter coded via HTML :
I believe these are the parameters to consider as of my opinion. There are a lot of things maybe, but in terms of analyzing the basics of word counting, separators are the ones identifying the words. I also hope that code can help you in achieving the said suggestion.
Thank you very much!
Posted on Utopian.io - Rewarding Open Source Contributors