This factor reports whether a page carries the Microdata property itemprop="numberOfPages" in its rendered body. It returns 1 when RankGear finds the attribute at least once and 0 when it finds none — a presence check on the raw HTML text, not a validation of the surrounding Microdata graph.
| Factor ID | RG-SCM-027 |
|---|---|
| Family | Structured Data — Microdata |
| Measurement | Binary presence (0 / 1) |
| Measured zone | Rendered body HTML with scripts removed |
What it measures
The factor detects whether the Microdata attribute itemprop="numberOfPages" appears in the rendered body once script elements have been stripped. The numberOfPages property describes the page count of a book or similar document edition, and this signal simply records whether that Microdata property is present on the page.
How RankGear measures it
RankGear runs a case-insensitive search for the literal double-quoted form itemprop="numberOfPages". It returns 1 when at least one match exists in the rendered body and 0 otherwise. The check is a text pattern match: the attribute name, equals sign, double quotes, and property value must be contiguous.
What RankGear looks for
itemprop="numberOfPages"
<span itemprop="numberOfPages">328</span>| Value | Meaning |
|---|---|
| 1 | The double-quoted itemprop="numberOfPages" attribute was found at least once in the rendered body. |
| 0 | The attribute was not found — it may be absent, written with single quotes, or spaced differently. |
How to optimize it
Treat this as an observation of markup presence, not a target to chase. Add numberOfPages only where it is genuinely correct — as part of the accurate page count for a specific book or document edition. Keep the value aligned with the visible content and use the vocabulary expected by its parent item type. Because RankGear matches the literal double-quoted form, write the attribute as itemprop="numberOfPages" with double quotes and no extra spacing if you want it detected.
Important considerations
- The detector pattern-matches HTML text; it does not parse or validate a Microdata item graph.
- It requires the attribute name, equals sign, double quotes, and property value to be contiguous — single quotes or added spacing do not match.
- Scripts are removed before matching, and capitalization does not affect detection.
- Validate the parent item type, property value, nesting, and structured-data eligibility independently.
- Presence of this property correlates with, and does not cause, a page’s position in a measured result set; it is a prioritization signal, not a ranking guarantee.
Related factors
Part of the Factors reference · how RankGear measures · glossary.