You want a list of article summaries. The SEO Spider headings report shows H1s and H2s, but it won't tell you which H2 is the article summary. Use Custom Extraction to select the summary field in the template and test what comes back before crawling the site.
Target one field and choose the output you want
For our SEOWithJack article template, the summary uses an H2 with the s-tagline class. This XPath selects that class inside the main content, including when the element has several classes.
//main//h2[contains(concat(' ', normalize-space(@class), ' '), ' s-tagline ')]
In SEO Spider’s Configuration → Custom → Extraction, add an XPath extractor. Choose Extract Text to keep the visible wording, including nested text. Choose Extract HTML Element if you need the outer tag and attributes. For a numeric check, wrap the expression in count() and select Function Value.
Try a matched page and an expected blank
We ran the selector against one local page and the raw HTML response for our beginner SEO guide. The selector was tested in libxml2. The SEO Spider configuration below follows the vendor’s documentation.
| What we checked | Matches | Result |
|---|---|---|
| Local page with a summary and a similar class name | 1 | Only the exact class matched. A substring selector had returned 2. |
| Local page with the real summary removed | 0 | The expected output is blank. |
| Published SEOWithJack beginner guide | 1 | The extracted summary started “Understand what SEO is, why it matters”. |
- Preview the extractor on one URL where you expect the field. Compare the returned text with the intended element. Use List mode for a short set of known URLs before a full crawl.
- Test a second template where the field is absent or named differently. Confirm that empty cells represent what you expect. If the field is visible in the browser and absent from the original HTML, repeat the sample in JavaScript rendering mode.
- Before exporting, check that the expected page yields one correct value and the control page yields an empty value. Open the Custom Extraction tab to check the sampled URLs. Add the verified field to your SEO audit workflow after the same selector behaves on both examples.
Frequently asked questions
Why is a Custom Extraction cell blank?
Check the final response and test the selector against the HTML the spider used. An absent field, a different class or content added by JavaScript can all leave a blank cell.
How do I tell a missing element from an empty element?
Run a count extractor. Zero means no nodes matched. A count of one with a blank text result means the element exists. Inspect its contents for a blank value or an element with no text.
When should I extract HTML instead of text?
Extract HTML when tag attributes or nested markup are part of the audit. Extract Text is enough when you need the copy in a spreadsheet.

