Adding reading time estimation to Article#47391
Adding reading time estimation to Article#47391CSGoat0 wants to merge 1 commit intojoomla:5.4-devfrom
Conversation
Mybad, i didn't notice. I will make another one. |
|
Since Februari 17 Joomla 6.1 is in beta, which means: feature freeze. See https://developer.joomla.org/news/1019-joomla-6-1-beta1-feature-freeze-see-what-made-it.html . Pull requests for new features (without B/C break) should be made against the 6.2-dev branch. |
Thank you so much for the heads-up! I was literally 5 seconds away from pushing to 6.1 😅 |
|
When you post the ai comment
It doesn't inspire me with any confidence that this pr has not been generated by ai. |
For me, that you left the AI comment, mainly showed that you didn't carefully read the output. Be aware that it is possible to use AI, but it will cost some extra time to read, check and correct everything. And the idea is that it will cost you extra time, not us ;-) Can you please close this PR, as you opened a new one. Refer in your closing comment to the new one. |
well, yes I forgot to delete that part. About the pr, I have already attached screenshots to show that I have tested. |
Sorry for that, I needed to leave as fast as possible so let ai reply for me. I appreciate your understanding, thank you. |
|
This Pr have been moved to: #47392 |
Pull Request resolves # .
Summary of Changes
This PR adds a new Content - Time Estimation Plugin that automatically calculates and displays the estimated reading time for articles.
Key Features:
onContentPrepare– counts words while article text is raw HTMLonContentAfterTitle– injects the badge intoafterDisplayTitletemplate slotAdmin Configuration:
Testing Instructions
Actual result BEFORE applying this Pull Request
Articles do not display estimated reading time. Users have no way to know how long an article will take to read without manually scanning the content.
Expected result AFTER applying this Pull Request
Each article displays a clean reading time badge below its title showing:
The badge appears automatically in the
afterDisplayTitleposition without requiring template overrides.Notes for Reviewers
Screenshots
Admin Configuration - Words Per Minute Setting

Admin can set the reading speed (default: 50 WPM)
Frontend Display - Reading Time Badge

Badge appears automatically below the article title showing minutes and word count
Link to documentations
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed