# E-E-A-T, AI search signals, and custom extraction

> Inspect observable trust and AI crawler signals, test an answer passage locally, and configure custom searches and page extraction.

Canonical documentation: <https://sajaddehshiri.ir/sonjoo-seo-audit/features/ai-search-extraction/>

Sonjoo can inspect visible trust evidence and crawler-facing signals, match a visitor question against a page, and run project-specific searches or extraction. Each capability reports the evidence it observed during the audit.

## E-E-A-T and trust evidence

The [E-E-A-T category](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/eeat/) looks for evidence related to experience, expertise, authoritativeness, and trustworthiness. Examples include author bylines and credentials, citations, dates, editorial policies, disclosures, About and Contact links, physical addresses, and business contact consistency. Some checks look for signals on sensitive topics or use crawl context to compare a business's visible name, address, and phone.

Select `--categories eeat` in a CLI audit to isolate these findings, or use the dashboard's category findings after a normal audit. Review the excerpts and links before drawing editorial conclusions. A byline, citation, or structured address is an observable signal. It does not verify credentials, fact-check content, or report a search engine's assessment. See [author expertise](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/eeat/#eeat-author-expertise), [citations](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/eeat/#eeat-citations), and [name, address, and phone consistency](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/eeat/#eeat-nap-consistency).

## Observable AI search signals

The [AI Search Readiness category](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/) inspects public website signals that can affect how some automated systems discover or read content. Run `sonjoo audit 'https://example.com/' --categories geo --no-save --format json`, or inspect the category in a dashboard report.

| Capability                        | Evidence Sonjoo checks                                                                                                                                                                                | Rule examples                                                                                                                                                                                                                                                                                                                                                                       |
| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Crawler directives                | Evaluates the fetched `robots.txt` for the audited URL and distinguishes known search, training, and user-request purposes. Also checks selected content-use directives and meta or response signals. | [AI bot access](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-ai-bot-access), [Content-Signal](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-content-signals), [no-AI signals](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-noai-signals)                                                                              |
| Content structure and consistency | Looks for semantic HTML and text structure and compares supported structured-data claims with visible content.                                                                                        | [Semantic HTML](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-semantic-html), [structured data drift](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-schema-drift)                                                                                                                                                                           |
| Machine-readable discovery        | Checks for `llms.txt` as an advisory signal, `AGENTS.md`, selected well-known agent manifests, and Markdown content negotiation or a neighboring Markdown file.                                       | [llms.txt](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-llms-txt), [AGENTS.md](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-agents-md), [agent manifests](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-well-known), [Markdown page](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-markdown-page) |
| Rights and payment signals        | Looks for an advertised RSL license or payment terms on an observed HTTP 402 pay-for-crawl response.                                                                                                  | [RSL license](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-rsl-license), [pay-per-crawl signals](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/geo/#geo-pay-per-crawl)                                                                                                                                                                              |

These checks read directives and probe for files or responses. They do not impersonate the listed crawlers, verify policy enforcement, transact payments, or measure actual inclusion or citations. The HTTP 402 check depends on response evidence available to rule evaluation. A failed entry URL can end the audit before that rule runs. Discovery file formats vary across services. Google does not require special AI files or markup for its AI Search features. See [Google's AI Search guidance](https://developers.google.com/search/docs/appearance/ai-features) and [OpenAI crawler purposes](https://developers.openai.com/api/docs/bots).

## Local answer passage check

Enter a **Visitor question** in the dashboard's **Local answer check (AEO)** panel, pass `--question` in the CLI, or send `question` to [the local HTTP API](https://sajaddehshiri.ir/sonjoo-seo-audit/api/reference/#start-request-options). The question must be 1–500 characters. To reproduce the example below, start the [local fixture](https://sajaddehshiri.ir/sonjoo-seo-audit/start/first-audit/#read-the-title-finding).

```sh
sonjoo audit 'http://127.0.0.1:18765/answers' \
  --question 'What is the return window?' --fail-under 0 --no-save --format json
```

Sonjoo looks for a matching passage on the entry page, using rendered HTML if available. It uses local text matching and skips selected hidden and navigation elements. It considers up to 800 characters of each candidate passage and includes up to eight links from the selected block. In the report or `extras.aeo`, review the passage, matching state, missing terms, and source links. A result may be `answer-found`, `inconclusive`, or `unavailable`. The feature needs no model account or API key. Verify the passage yourself when a question is ambiguous or split across several pages. The result does not show what an external AI service would answer.

## Custom search and extraction

Use a [CLI project configuration](https://sajaddehshiri.ir/sonjoo-seo-audit/cli/configuration/) to look for a release notice, detect unwanted text, or collect values specific to your site. Add entries to `sonjoo.toml` and adapt the selectors, scope and URL to a site you are authorized to audit. Validate the file, then run the audit with JSON output.

```toml
[[custom.search]]
name = "Check the documentation version notice"
where = "selector"
selector = "main .version-notice"
text = "Version"
expect = "present"
scope = "/docs/"

[[custom.extract]]
name = "Documentation headings"
selector = "main h2"
multiple = true
```

```sh
sonjoo config validate --config ./sonjoo.toml
sonjoo audit 'https://example.com/docs/' --config ./sonjoo.toml \
  --crawl --max-pages 25 --no-save --format json
```

* **Search** text, raw HTML, head HTML, body HTML, or text inside matching CSS elements. Use a literal or ECMAScript regular expression and require presence or absence. A selector-only search checks for an element. Scope searches by a path prefix, or by a regular expression when using regex matching. Set `severity` to `warn` or `fail` and `fail_ci = true` if failures should affect a [CI gate](https://sajaddehshiri.ir/sonjoo-seo-audit/guides/ci-gates/).
* **Extract** the text of selected elements or a named `attribute`. Return the first match by default or set `multiple = true` to collect all matches. The report groups nonempty values by URL.
* **Read results** in `extras.custom`. Search results include checked, failing, and stopped counts, with up to 50 sample URLs in each failing or stopped list. Regex execution is bounded. Custom searches do not change built-in rule scores and custom extraction does not add crawl targets.

Custom selectors run against fetched page HTML. They accept CSS selectors and selected extensions, including `:contains()`, `:icontains()`, positional filters such as `:eq()` and `:first`, and `[attr!=value]`. For content inserted only after JavaScript runs, use the [rendering diagnostics](https://sajaddehshiri.ir/sonjoo-seo-audit/features/accessibility-performance-rendering/). Project custom checks use CLI or library configuration rather than a dashboard input. Review extracted data before sharing an export.
