---
description: In this section, you will learn about the structure of SEO Options.
---

# SEO Options

1. "enableSeoIntegration": **(Boolean)** - This option enables or disables the overall SEO integration features within the plugin.
   * **true**: Activates the SEO integration, allowing the plugin to interact with your chosen SEO plugin (specified by seoPluginName) and potentially utilize AI for description generation.
   * **false**: Deactivates the SEO integration. The plugin will not interact with SEO plugins or use AI for description generation, even if other SEO options are configured.
2. "seoPluginName": **(String)** - This option specifies the name of the SEO plugin you are using on your WordPress site that the News Parser plugin should integrate with.
   * **Example:** "Yoast".
   * **Purpose:** This setting tells the News Parser plugin which SEO plugin's API or hooks to use to add SEO-related information (like descriptions) to your posts. **Currently, integration is primarily focused on description management.** Refer to the plugin's documentation for a list of officially supported SEO plugins
3. "generateDescriptionAI": **(Boolean)** - This option controls whether the plugin will attempt to automatically generate post descriptions using Artificial Intelligence.
   * **true**: Enables AI-powered description generation. When enabled, the plugin will use the configured AI provider (aiProvider), model (aiModel), and prompt (prompt) to create a description for your parsed posts.
   * **false**: Disables AI-powered description generation. The plugin will not automatically generate descriptions using AI. You would need to manually add descriptions using your chosen SEO plugin's interface.
4. "aiProvider":  **(String)** - This option specifies the name of the AI provider service that will be used for generating post descriptions when generateDescriptionAI is set to true.
   * **Example:** "openai", "google", "anthropic","deepseek"
   * **Purpose:** This tells the plugin which AI service's API to connect to. Refer to the plugin's documentation for a list of supported AI providers. You will likely need to configure API keys or credentials for the chosen provider separately.
5. "aiModel": **(String)** - This option defines the specific AI model to be used from the selected aiProvider for generating descriptions.
   * **Example:** "gpt-3.5-turbo", "gemini-pro", "claude-v1.3".
   * **Purpose:** Different AI providers offer various models with different capabilities and pricing. This setting allows you to choose a specific model that best suits your needs for description generation. Refer to your AI provider's documentation for available models.
6. "prompt": **(String)** - This option allows you to customize the prompt that is sent to the AI model when generating a post description.
   * **${description} Placeholder:** This special placeholder will be dynamically replaced with any existing description that the plugin might have extracted from the source content. This allows you to instruct the AI to refine, expand, or rewrite an existing description rather than always creating one from scratch.
   * **Example Prompts:**
     * "Write a concise and engaging SEO description for the following post content. Focus on keywords and readability. Existing description: ${description}"
     * "Generate a short, keyword-rich description for search engines. ${description}"
     * "Create a compelling meta description to improve click-through rates. Existing description: ${description}"

Example:

```
"sidebarSeo": {    
    "enableSeoIntegration":"boolean",
    "seoPluginName": "string",
    "generateDescriptionAI":"boolean",
    "aiProvider":"string",
    "aiModel":"string",
    "prompt":"string",
}
```

\
\
