theme-next / hexo-symbols-count-time

Symbols count and time to read of articles for Hexo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No use by changing the parameter `awl` and `wpm`. [some html tags can add excess additions in symbols counting]

chuxubank opened this issue · comments

Here is my config.
In next:

symbols_count_time:
  separated_meta: true
  item_text_post: true
  item_text_total: false
  awl: 25
  wpm: 275

In hexo:

symbols_count_time:
  symbols: true
  time: true
  total_symbols: false
  total_time: true

But the word count and reading time are completely the same when I use the default setting, and I don't think they are correct.
I have used hexo clean but it still not work.
I wonder if there are any other settings I need to change to make it work.
Btw, is the basis of reading time hour?

With standart settings:

symbols_count_time:
  separated_meta: true
  item_text_post: true
  item_text_total: false
  awl: 5
  wpm: 200

image

With your settings:

symbols_count_time:
  separated_meta: true
  item_text_post: true
  item_text_total: false
  awl: 25
  wpm: 275

image

Words count can't be changed, it's only for time to read options (time, total_time).
No other settings needed, all works correct. Maybe your post is very short and u can see only minimal reading time (0:01), try to check with big post this settings.

Btw, is the basis of reading time hour?

Basics setup as default (5, 200) — it's avarage reading time at most languges.

OK, it seemed that I mistaken the meaning of awl.
But why the words count is so different with hexo-wordcount in a same post?
Use hexo-wordcount:
wordcount
Use hexo-symbols-count-time:
hexo-symbols-count-time

And I have used Microsoft Office Word to count the words which is 240. lol

There is around ~450 symbols in this post:
image
image

I don't know why it's count to u ~760 or ~240. Maybe u use another markdown rendering, maybe this because u use flowchart in your post. Your info to close and what i can reproduce — i do it and there is no bugs as u see.

U can use hexo-wordcount if u want, but it's slower and have no advanced settings like in hexo-symbols-count-time.

You are right, it's because of flowchart.
I just delete it from my post and the words count become normal.
Thx a lot.