You're viewing old version number 1. - Current version

Resolved - Add reading time to a post

http://andytaylor.me/2013/04/07/reading-time/

Some of my posts now include an estimated reading time. I did this by taking the Liquid Filter, number_of_words and—based on a reading rate of 180wpm—used other Liquid filters to convert it to an approximate reading time.

A reading time on very short posts seemed a bit silly. I found a clever bit of template logic on Stack Overflow that enabled me to only show it on posts that are greater than 250 words.

http://en.wikipedia.org/wiki/Reading_%28process%29#Reading_rate

Implemented on July 1, 2013 - used reading rate of 180 wpm. displayed number in the heading title for a blog post, the title text which is displayed on a mouse-over. also displayed at the bottom of the blog post. and displayed on the stream home page for blog posts. the count is displayed when at least 180 words exist.

#junco
#resolved

From JR's : articles
138 words - 868 chars
created on
updated on - #
source - versions

Related articles
Resolved - Add desc info to RSS feed - Aug 20, 2013
Resolved - Add the blog_ special tag for top-shelf formatted and display of blog posts - Jun 27, 2013
Do not create a hashtag link if tag is all numerics - Aug 07, 2013
Commit to github - 10Oct2013 - Oct 10, 2013
Resolved - Add commands to embed other media - Jun 27, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Jan 12, 2025 - 7:05 a.m. EST