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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Griesoft.OrchardCore.ContentReadTime" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Griesoft.OrchardCore.ContentReadTime" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Griesoft.OrchardCore.ContentReadTime" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Griesoft.OrchardCore.ContentReadTime --version 1.0.4
                    
#r "nuget: Griesoft.OrchardCore.ContentReadTime, 1.0.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Griesoft.OrchardCore.ContentReadTime@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Griesoft.OrchardCore.ContentReadTime&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Griesoft.OrchardCore.ContentReadTime&version=1.0.4
                    
Install as a Cake Tool

Orchard Core Content Read Time Module

CI NuGet License: MIT

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 ContentReadTimePart for 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

  1. Enable the Content Read Time feature in the Orchard Core admin dashboard.
  2. Edit a content type and attach the ContentReadTimePart.
  3. Choose the source text and words-per-minute setting (defaults to 200).
  4. 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
  • Words per minute: defaults to 200 if 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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