fossar / selfoss

multipurpose rss reader, live stream, mashup, aggregation web application
https://selfoss.aditu.de
GNU General Public License v3.0
2.35k stars 343 forks source link

Reading speed wpm sometimes to high #1373

Closed AngelCrawford closed 1 year ago

AngelCrawford commented 1 year ago

I updated right now to the new 2.19 version, and added the new reading_speed_wpm to my config file.

On some articles the reading speed wpm is really high, and on other articles it works just fine. I can't say why some articles this long, could it be the reviews under the post, that will add words to the count? Or the adds on those sides?

image image

PS: Thanks for the lovely tool! I really ❤️ it!

jtojnar commented 1 year ago

Thanks for reporting. Are you using regular RSS spout or the Content extraction one? In both cases selfoss reports for me that the first article has 1248 words:

HTTP response containing word count in developer tools

I was not able to reproduce with reading_speed_wpm=200:

Reasonable reading time detected

AngelCrawford commented 1 year ago

You probably will hate me xD I found the issue. I added a 1 after the reading_speed_wpm to activate it, but you need to add the words per minute you are able to read so a 200 for instance... it's late where I live >.< Thanks for checking!

jtojnar commented 1 year ago

Heh, I guessed something like that might be the case but discarded the hypothesis when I thought your reading time was greater than the number of words, which would mean wpm < 1, which would just be trimmed to 0, so that could not be happening. But I actually misread the number in your screenshot :woman_facepalming: here too.