How To Add Estimated Reading Time To Blogspot Posts?

In this article, I'll walk you through the process of integrating a reading time feature into your articles, whether you're using Blogger, WordPress, or similar platforms.

How To Add Estimated Reading Time To Blogspot Posts?

How To Add Estimated Reading Time To Blogspot Posts?

Implementing an estimated reading time for articles is a valuable addition to your blog. It provides your readers with a clear indication of the time investment required for each piece.

We'll utilize a straightforward JavaScript method to accomplish this task.

Step 1: Go and login to your Blogger Dashboard

Step 2: In Blogger Dashboard, Go to Themes section 

Step 3: Now click on the drop down icon just beside the 'Customize' button.

Step 4: Click on 'Edit HTML', now you'll be redirected to the editing page.

Step 5: Search for </head> and paste the following HTML Just Above it.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(function() {
    var txt = $(".post-full-content")[0].textContent,
    wordCount = txt.replace( /[^\w ]/g, "" ).split( /\s+/ ).length;
    var readingTimeInMinutes = Math.floor(wordCount / 228) + 1;
    var readingTimeAsString = readingTimeInMinutes + " phút đọc";
    $('article .reading-time').html(readingTimeAsString);
});
</script>

Step 6: Search for </b:skin> and paste the following Code Just Above it.

.reading-time:before {
  content: 'Thời gian đọc:';
  margin-right: 3px;}

Step 7: Feel free to use the following code snippet and insert it into your desired location to display the estimated reading time:

<div class="reading-time"></div>

Step 8: Save the changes by clicking on this icon .

What Is Reading Time In Blogposts?

Reading time in blog posts is an estimate of the time it would take for an average reader to go through the entire content. This handy metric is often placed at the beginning or end of a blog post, providing readers with a glimpse of the time investment needed to digest the content.

Typically, reading time is calculated based on the word count of the post and an assumed average reading speed, typically ranging from 200 to 250 words per minute for adult readers. The calculation is straightforward:

Reading Time = Total Word Count / Average Words Per Minute

For instance, if a blog post consists of 1000 words and the average reading speed is assumed to be 250 words per minute, the reading time would be:

Reading Time = 1000 words / 250 words per minute = 4 minutes

This feature allows readers to gauge whether they have sufficient time to read the post immediately or if they should save it for later. It's a valuable tool for both bloggers and readers to manage their time effectively.

Conclusion

Adding an estimated reading time feature to your Blogspot articles using this straightforward technique will greatly enhance the user experience. Best wishes with implementing this solution on your blog!

Next Post Previous Post
No Comment
Add Comment
comment url