🤖
BotTalk Docs
  • BotTalk Documentation
  • Video Tutorials
  • Onboarding
    • 🔐Create BotTalk Account
    • 🏢Create an Organization
    • 📂Create a Project
  • Text-to-Speech
    • Configure your Project
      • Organization Access Settings
      • Voice Selection
      • Parser Settings
      • Extractor Rules
    • Integrate Web Player
      • Create a Web Player
      • Configure your Web Player
      • Integrate Web Player into your website
    • Automation Rules
      • Create Custom Rule
    • Analytics
    • Reporting
  • Features
    • Dictionaries
      • SSML-Tags
      • Regular Expressions
      • Contextual Preview
    • Playlist Player
      • Set up a Playlist
      • Create a Playlist Player
      • Configure your Playlist Player
      • Integrate Playlist Player into your website
  • MONETIZATION
    • Paywall Integration
    • Audio Advertising
  • CUSTOM VOICE
    • Create a Custom Voice
    • Preparation of recordings
    • Recording platform
    • Technical guidelines
  • Integration
    • ⚙️BotTalk API
      • 🔑Authorization
      • 🛑Error Handling
      • 🚦Webhooks
    • API Reference
      • 📰Articles
      • 📊Reports
  • Help
    • ❓FAQs
      • ❔General
      • 💰Billing
Powered by GitBook
On this page
  1. Text-to-Speech
  2. Configure your Project

Extractor Rules

Add specific rules to control how BotTalk will extract text from your articles.

PreviousParser SettingsNextIntegrate Web Player

Last updated 2 years ago

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.

Extractor Rules - BotTalk Audio CMS

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.

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.

Extractor Rules Options - BotTalk Audio CMS
Extractor Rules - BotTalk Audio CMS
Extractor Rules Options - BotTalk Audio CMS