<h4>Repository
<p dir="auto"><span><a href="https://github.com/esteemapp/esteem-surfer" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/esteemapp/esteem-surfer
<h4>Components
<p dir="auto">The suggestion is particularly for the 'editor' while creating a post.
<h4>Problem statement
<p dir="auto">eSteem provides a convenient way to display the number of words we write for a post, if someone want to write atleast 500 words in post then they can easy track how much they have written but what if someone want to write a story which doesn't take more than 4 mins to read ?
<p dir="auto"><strong>Usecase:<br />
If an author want to publish a series of stories(weekly) but want to keep it optimal reading time for the readers, so that the time taken to read is not too short nor longer, then if we have an indicator while creating post then the author will draft the story accordingly.
<h4>Proposal Description
<p dir="auto">The proposal here is to display an approximate time taken to read the post in UI, while creating the post.
<p dir="auto">Currently eSteem app displays number of words in the post, the proposal is to show 'time to read' indicator next to it, something like '4 min read' or '2 min read'.
<h4>How do we calculate reading time ?
<p dir="auto">Since we know the number of words written it is easy to calculate approximate time to read based on the following formula.
<pre><code>reading time = round(total words/reading speed)
<p dir="auto">According to research studies, <strong>average reading speed of humans is 200 to 250 wpm(words per minute). It varies for different languages but let us consider for English now. We can safely assume 200 wpm even if the user is distracted with images/ads.
<p dir="auto">Sounds simple calculation ? No, its not. Words alone won't decide the reading time since the user can insert an image or video to the post so we need to consider the images too. We can ignore the video since it doesn't count as 'reading' and we can't be sure every user will watch the video.
<p dir="auto">So for our calculation we need to consider the words, images and other HTML elements.
<h4>Available solutions
<p dir="auto">Based on the above formula and other metrics like avg wpm(reading speed), avg image reading time we can easily calculate the approximate reading time.
<p dir="auto">The naive implementation could be a simple function(do not consider this for prod).
<pre><code>function approxReadingTime(postLength) {
const wordsPerMinute = 200; // It can be 200 to 250
const noOfWords = postLength.split(/\s/g).length;
const minutes = noOfWords / wordsPerMinute;
const readTime = Math.ceil(minutes);
return `${readTime} min read`;
}
<p dir="auto">The above function is just to illustrate the example based on number of words, it doesn't consider the images or other factors(avg wpm for foreign languages).
<p dir="auto">There are many npm libraries available to calculate reading time, I found <a href="https://www.npmjs.com/package/read-time-estimate" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">read-time-estimate to be appropriate, since it considers images, languages(Chinese, Korean etc) along with words.
<h4>Mockups / Examples
<p dir="auto">Here is a sample mockup to illustrate where we can display the read time.
<p dir="auto">Currently, it just shows the total number of words in the post.
<p dir="auto"><img src="https://images.hive.blog/768x0/https://img.esteem.ws/xc9ox4jz4n.png" alt="xc9ox4jz4n.png" srcset="https://images.hive.blog/768x0/https://img.esteem.ws/xc9ox4jz4n.png 1x, https://images.hive.blog/1536x0/https://img.esteem.ws/xc9ox4jz4n.png 2x" />
<p dir="auto">With the proposed changes, we can see the words as well the estimated approx time to read the article/post.
<p dir="auto"><img src="https://images.hive.blog/768x0/https://img.esteem.ws/iq8pfine2v.png" alt="iq8pfine2v.png" srcset="https://images.hive.blog/768x0/https://img.esteem.ws/iq8pfine2v.png 1x, https://images.hive.blog/1536x0/https://img.esteem.ws/iq8pfine2v.png 2x" />
<h4>Benefits
<ul>
<li>Authors will get to know how long will it take for the readers to read their post, along with the number of words(already available in eSteem surfer app).
<li>Convenient for authors who do not want to bore their readers with lengthy posts.
<li>Good for story writers who want to post short '2 min' stories.
<li>This functionality can be extended for displaying in the posts, and also in the post summary(along with details of upvotes, no of comments etc)
Feature request for eSteem Surfer app
6 years ago in #utopian-io by lifecruiser (57)
$2.55
- Past Payouts $2.55
- - Author $1.97
- - Curators & beneficiaries $0.58
- > esteemapp: $0.13
107 votes
- utopian-io: $1.40
- esteemapp: $0.33
- steem-ua: $0.20
- themothership: $0.19
- tobias-g: $0.08
- indiaunited: $0.05
- swapsteem: $0.03
- amosbastian: $0.03
- ulockblock: $0.03
- good-karma: $0.02
- helo: $0.02
- jaff8: $0.02
- espoem: $0.02
- sbi2: $0.02
- bobinson: $0.01
- codingdefined: $0.01
- rufans: $0.01
- jatinhota: $0.01
- lifecruiser: $0.01
- mcfarhat: $0.01
- and 87 more
While the display of time total reading time might be useful but at the same time, this feature is very commonly in other steemit dapps supporting posting to steem.
There are a few things you should consider before contributing to utopian:Hello @lifecruiser!
I a looking forward to review your next contribution.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Thanks for your review and feedback.
Posted using Partiko Android
Try www.busy.org, the most popular one.
Posted using Partiko Android
Thank you for your review, @syedumair! Keep up the good work!
Thanks for using eSteem!
Your post has been voted as a part of eSteem encouragement program. Keep up the good work! Install Android, iOS Mobile app or Windows, Mac, Linux Surfer app, if you haven't already!
Learn more: https://esteem.app Join our discord: https://discord.gg/8eHupPq
Hi @lifecruiser!
Feel free to join our @steem-ua Discord serverYour post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation! Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Hey, @lifecruiser!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
SteemPlus or Steeditor). Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Steem India 🇮🇳
Join through discord link
https://discord.gg/r4m3Zkb
Posted using Partiko Android