"Add Word Count" on Utopian.io +Contribution?

in #utopian-io7 years ago (edited)

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

Sort:  

Can you change the github repository into this 'utopian-io/utopian.io', since your contribution is for that. Your contribution can't be approved yet. See the Utopian rules. Please edit your post to apply for approval. Comment back here once done. Thanks!

Although word count is indirectly connected to the reward/upvote weight given - it is not a direct factor that affects it. However, your suggestion will be a nice addition to making posts in Utopian.io.

You can contact us on Discord.
[utopian-moderator]

Thanks for the reply @deveerei. I appreciate it. I believe one of the parameters set by @utopian-io as a bot is the length of the post. Number of words constitute to an increase of the length (in characters).

I already changed the github repository.

You're welcome. It's not something I can discuss in whole but you can always check the repository. Thank you for the contribution. It has been approved.

[utopian-moderator]

I appreciate it. Thank you.

The small HTML code you wrote is good, there's nothing wrong about it ;)
Thanks for that Idea I maybe write a little chrome or firefox plugin which manages that so it would be more simple for an user to use it.

Hey @khanjohnn I am @utopian-io. I have just super-voted you at 1% Power!

Suggestions https://utopian.io/rules

  • Your contribution is less informative than others in this category.

Achievements

  • You have less than 500 followers. Just gave you a gift ;)
    Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x