# Extractor Rules

BotTalk Parser is very smart. It can analyze the website and decide what content is article text - and what is not. It makes intelligent decisions about what should be read aloud and left out (for example, photo descriptions, iframes, and tables).

If you want to adjust how BotTalk Parser makes those decisions - extracts content - you can do so by defining your own Extractor Rules.

You start by clicking **Add extractor rule button.**&#x20;

<figure><img src="https://bottalk.io/learn-with-bottalk/content/images/2021/08/extractor-rules-bottalk-audio-cms.png" alt="Extractor Rules - BotTalk Audio CMS"><figcaption><p>Extractor Rules - BotTalk Audio CMS</p></figcaption></figure>

For instance, this rule tells BotTalk always extract (and include in the audio edition) content inside the `span` element with the class name `extract`.

The left column describes the rules, and the right column - describes CSS selectors to which the rule should apply.

To change the rule, click on the left column. A dropdown will appear.

<figure><img src="https://bottalk.io/learn-with-bottalk/content/images/2021/08/extractor-rules-selection-bottalk-audio-cms.png" alt="Extractor Rules Options - BotTalk Audio CMS"><figcaption><p>Extractor Rules Options - BotTalk Audio CMS</p></figcaption></figure>

BotTalk supports the following extractor rules:

* `should`: Always speak the content
* `should not`: Never speak the content
* `should before`: Speak the content before an article begins
* `should after`: Speak the content after an article begins
* `publication date`: If your website doesn't use standard JSON-LD format, please provide a CSS selector that surrounds publication dates in your articles. We described why publication dates are essential in the previous section.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bottalk.io/docs/text-to-speech/configure-your-project/extractor-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
