INSTALLATION / SET UP
AI scope
In this section, we will delve into the process of Tutorial on Controlling Text Optimization
Seatext AI offers powerful customization options to fine-tune its text optimization capabilities. This tutorial will guide you through three different methods to define the scope of Seatext AI's work:

1. Developer-Level Control:
For developers, Seatext AI provides granular control through HTML attributes. By adding specific attributes to your div elements, you can dictate how Seatext AI interacts with the text within them.

  • seatextdont`<div data-seatextonly>`: This attribute designates the text block directly below it (or all text nodes below it if applied to a higher-level div) for exclusive Seatext AI optimization. This means only the text within this specific block will be processed by Seatext AI, excluding any other text on the page.

  • `<div data-seatextdont>`: This attribute prevents Seatext AI from manipulating the text block below it (or all text nodes below it for higher-level divs). This tag ensures that the specified text remains untouched by Seatext AI, even during translation.
Example (HTML):

<!DOCTYPE html>
<html>
<head>
  <title>Seatext AI Example</title>
</head>
<body>
  <div>
    <div data-seatextdont>
      This text will not be optimized by Seatext AI.
    </div>
    <div data-seatextonly>
      This text will be exclusively optimized by Seatext AI.
    </div>
  </div>
</body>
</html>

Example (React):

import React from 'react';

function MyComponent() {
  return (
    <div>
      <div data-seatextdont>
        This text will not be optimized by Seatext AI.
      </div>
      <div data-seatextonly>
        This text will be exclusively optimized by Seatext AI.
      </div>
    </div>
  );
}


Example (CSS):

.seatext-dont {
  data-seatextdont: ""; 
}

.seatext-only {
  data-seatextonly: "";
}

/* Usage: */
<div class="seatext-dont">
  This text will not be optimized by Seatext AI.
</div>
<div class="seatext-only">
  This text will be exclusively optimized by Seatext AI.
</div>
Important: Remember, these attributes are only applicable to Seatext AI and do not impact translation AI, which has access to all text nodes.

2. CMS-Based Control (For Non-Developers):
Website owners who are not developers can also control Seatext AI using special keywords within their Content Management System (CMS) like WordPress. These keywords provide a straightforward way to mark specific text for Seatext AI:

  • `seatextdont`: This keyword prevents Seatext AI from optimizing the text it accompanies. This is useful for elements like menu items or license agreements that should remain untouched.
  • `seatextonly`: This keyword designates the text it accompanies for exclusive Seatext AI optimization. You can use this to target specific content for optimization, such as the Call to Action buttons in an online shop.
Note: These keywords are only visible to you, the website owner, and are not displayed to your website visitors.

3. AI-Driven Scope Management:
Seatext AI also offers a convenient AI-driven method for defining its scope. When you activate a General AI model (e.g., "Titles"), Seatext AI will attempt to identify and optimize text areas on your page that resemble "Titles." This provides a quick and easy way to begin working with Seatext AI and see its optimization in action. You can define the scope for each AI, refer to the How to use Seatext section for more information.
Important: While this method offers a convenient starting point, it may lead to unintentional optimization of content you wish to exclude. In such cases, consider using either of the previously described methods (1 or 2) for more precise control.

Conclusion:
By utilizing these various methods, you can tailor Seatext AI to optimize your website content according to your specific requirements. Choose the approach that best suits your technical expertise and desired level of control.