Has MicroFormat P-Rating checks whether a page carries the Microformats2 p-rating property, which marks up a rating tied to review content. RankGear returns 1 when an exact, case-insensitive class="p-rating" is present in the body HTML and 0 when it is not — it confirms presence only and does not validate the rating’s scale or value.
| Factor ID | RG-SCF-016 |
|---|---|
| Family | Structured Data — MicroFormat |
| Measurement | Binary presence (0 / 1) |
| Measured zone | Body HTML without scripts |
What it measures
This factor detects the Microformats2 p-rating property in the page body. In Microformats, p-rating is the convention for labeling a rating value — a star score or numeric grade attached to a review — so it can be read directly from the visible HTML rather than a separate data layer. The factor resolves to a simple yes/no: is that property present on the page or not.
How RankGear measures it
RankGear scans the body HTML with scripts excluded and returns 1 when an exact, case-insensitive class="p-rating" sequence is present. The match is literal: the class attribute value must be exactly p-rating. A class attribute that bundles p-rating together with other class names does not match. When no such attribute is found, the factor returns 0.
What RankGear looks for
<span class="p-rating">4.5</span>| Value | Meaning |
|---|---|
| 1 | An exact class="p-rating" attribute is present in the body HTML. |
| 0 | No exact p-rating class was found — including cases where it is bundled with other class names in the same attribute. |
How to optimize it
Use p-rating only for a genuine rating that is associated with authentic review content. Treat this factor as an observation of whether that markup exists rather than a target to chase — adding the class does not improve a page on its own. Because RankGear requires an exact match, apply the property as its own class instead of combining it with other class names in the same attribute if you want the signal to register.
Important considerations
- The factor does not validate the scale or the value of the rating — it only confirms the property’s presence.
- Multi-class values do not match:
p-ratingcombined with other class names in one attribute returns 0. - Ratings should be visible to readers and substantiated by real review content, not hidden markup.
- Never create ratings solely to add the markup; the property should describe a rating that genuinely exists.
- Presence of this property correlates with, and does not cause, position within a measured result set. It is a prioritization signal, not a guarantee of ranking.
Related factors
Part of the Factors reference · how RankGear measures · glossary.