Griesoft.OrchardCore.ContentReadTime
1.0.4
dotnet add package Griesoft.OrchardCore.ContentReadTime --version 1.0.4
NuGet\Install-Package Griesoft.OrchardCore.ContentReadTime -Version 1.0.4
<PackageReference Include="Griesoft.OrchardCore.ContentReadTime" Version="1.0.4" />
<PackageVersion Include="Griesoft.OrchardCore.ContentReadTime" Version="1.0.4" />
<PackageReference Include="Griesoft.OrchardCore.ContentReadTime" />
paket add Griesoft.OrchardCore.ContentReadTime --version 1.0.4
#r "nuget: Griesoft.OrchardCore.ContentReadTime, 1.0.4"
#:package Griesoft.OrchardCore.ContentReadTime@1.0.4
#addin nuget:?package=Griesoft.OrchardCore.ContentReadTime&version=1.0.4
#tool nuget:?package=Griesoft.OrchardCore.ContentReadTime&version=1.0.4
Orchard Core Content Read Time Module
An Orchard Core module that calculates and stores the estimated read time for content items.
Features
- Calculates an estimated read time in minutes when content is published.
- Stores the result on
ContentReadTimePartfor display in templates or queries. - Supports text from common body parts and text-bearing fields.
- GraphQL support: Query read time data through Orchard Core's GraphQL API.
Requirements
- .NET 8
- Orchard Core 2.2.1 (the version referenced by this module)
Installation
Install the NuGet package:
dotnet add package Griesoft.OrchardCore.ContentReadTime
Getting started
- Enable the Content Read Time feature in the Orchard Core admin dashboard.
- Edit a content type and attach the
ContentReadTimePart. - Choose the source text and words-per-minute setting (defaults to
200). - Use the stored minutes in templates, queries, or custom code.
Configuration
When you attach ContentReadTimePart, you can configure the source text and reading speed:
- Source content: select a part or a field to read from.
- Body parts:
HtmlBodyPart,MarkdownBodyPart - Field types:
HtmlField,TextField,MarkdownField
- Body parts:
- Words per minute: defaults to
200if not set or invalid.
Usage
The module calculates read time during publish and stores the value in ContentReadTimePart.Minutes. Use that value anywhere you render or query content items.
Development
Building
dotnet build
Testing
dotnet test
Versioning
Version is managed in Version.props. Use the update-version.ps1 script to update:
# Set specific version
./update-version.ps1 -Version "1.2.3"
# Increment version
./update-version.ps1 -IncrementPatch # 1.0.0 -> 1.0.1
./update-version.ps1 -IncrementMinor # 1.0.0 -> 1.1.0
./update-version.ps1 -IncrementMajor # 1.0.0 -> 2.0.0
Branch Strategy
- main - Production releases (stable versions)
- dev - Active development (preview releases)
- feature/ - Feature branches (CI only)
Contributing
Contributions are welcome! Please submit pull requests with clear descriptions of changes.
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- OrchardCore.Apis.GraphQL.Abstractions (>= 2.2.1)
- OrchardCore.ContentManagement (>= 2.2.1)
- OrchardCore.Module.Targets (>= 2.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.4 | 78 | 2/14/2026 |
| 1.0.3 | 75 | 2/14/2026 |
| 1.0.2 | 77 | 2/14/2026 |
| 1.0.2-preview.20260214232545 | 22 | 2/14/2026 |
| 1.0.2-preview.20260214225627 | 22 | 2/14/2026 |
| 1.0.1 | 76 | 2/14/2026 |
| 1.0.1-preview.20260214163953 | 26 | 2/14/2026 |
| 1.0.1-preview.20260214162819 | 26 | 2/14/2026 |
| 1.0.0-preview.20260214162701 | 22 | 2/14/2026 |
| 1.0.0-preview.20260214161337 | 22 | 2/14/2026 |
| 1.0.0-preview.20260214151307 | 22 | 2/14/2026 |
| 1.0.0-preview.20260214144604 | 29 | 2/14/2026 |