=== ContentZavod ===
Contributors: fittin, fittinai, aurelvu
Tags: content, seo, geo, ai, api, automation, news
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 2.5.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Content factory for SEO acceleration and traffic increase. Automatically integrates quality content through secure API.

== Description ==

ContentZavod is a powerful WordPress plugin that automatically integrates quality content into your website, helping improve SEO and increase traffic. The plugin works through a secure API and requires no technical knowledge to set up.

= Key Features =

* 🔄 Automatic content retrieval through API in real-time
* 🗺️ Sitemap integration with automatic robots.txt addition
* ⚙️ Easy setup with intuitive multilingual admin panel
* 🔐 Secure API token storage
* 📱 Full mobile device support
* 🚀 SEO optimization with proper URL structure
* ⚡ Built-in caching for fast loading (30 minutes)
* 🎨 Automatic link adaptation to your domain
* 🌍 Multilingual support (10 languages)
* 📡 IndexNow support for instant search engine notification

= Supported Languages =

* 🇷🇺 Russian (Русский)
* 🇬🇧 English
* 🇪🇸 Spanish (Español)
* 🇩🇪 German (Deutsch)
* 🇫🇷 French (Français)
* 🇮🇹 Italian (Italiano)
* 🇵🇹 Portuguese (Português)
* 🇨🇳 Chinese (中文)
* 🇯🇵 Japanese (日本語)
* 🇸🇦 Arabic (العربية)

= Requirements =

* WordPress 5.0 or higher
* PHP 7.4 or higher
* Valid ContentZavod API token
* Enabled wp_remote_get() function

= URL Structure =

After installation, content will be available at:

* Main page: `/contentzavod/` - List of all news
* Single article: `/contentzavod/view/{slug}` - Full article text
* Sitemap: `/contentzavod-sitemap.xml` - XML sitemap

= Compatibility =

Tested and compatible with:

* Yoast SEO
* All in One SEO Pack
* WP Super Cache
* W3 Total Cache
* LiteSpeed Cache
* Most WordPress themes

= External Services =

This plugin connects to the ContentZavod API service to automatically generate and publish SEO/GEO-optimized content for your website.

**What is ContentZavod?**

ContentZavod is an automated content generation service that monitors up to 80 news sources (RSS feeds, Telegram channels), analyzes content relevance and sentiment, and generates up to 5 unique articles per day optimized for your business niche.

**What data is sent?**

The plugin sends the following data to the ContentZavod API (https://ainews-back.fittin.ru):
* Your API token (for authentication)
* Article slug/path (when requesting specific content)
* User-Agent header (for technical compatibility)

**When is data sent?**

Data is transmitted in the following cases:
* When a visitor accesses content URLs (/contentzavod/view/{slug})
* When requesting the sitemap (/contentzavod-sitemap.xml)
* When accessing the main news page (/contentzavod/)

**Service Information:**

* Service Website: https://newsai.fittin.ru/
* Terms of Service: https://contentzavod.fittin.ru/offerta/latest
* Privacy Policy: https://contentzavod.fittin.ru/privacy_policy.pdf

The service is provided by LLC "Digital Technologies" (FITTIN™), a Russian company specializing in AI-powered content generation and SEO optimization.

**Important:** This plugin requires an active ContentZavod subscription and API token to function. Content is generated and stored on ContentZavod servers and delivered to your site in real-time through the API.

**IndexNow Integration:**

This plugin uses the IndexNow protocol (https://www.indexnow.org/) to instantly notify search engines (Bing, Yandex, Seznam, Naver) when new content appears. The plugin sends URL lists to the IndexNow API endpoint (https://api.indexnow.org/indexnow) via POST request. No personal data is sent — only your site's hostname and content URLs.

== Installation ==

Go to https://ru.wordpress.org/plugins/contentzavod/

Click "Install," then "Activate"

Setup

1. Register on contentzavod.fittin.ru
2. Add news sources (you can use AI) - Settings -> News
3. Automatically generate a prompt for ranking news (with a single click) - Settings -> News
4. Insert your website's URL and generate its description (with a single click) - Settings -> Generation
5. Add keywords - Settings -> Generation
6. Generate a prompt for rewriting news (with a single click) - Settings -> Generation
7. Get your API token - Settings -> Generation

In the plugin:

1. Go to Settings → ContentZavod
2. Enter the API token in the field
3. Click "Save Settings"
4. Go to Settings → Permalinks and click "Save Changes"
5. Open https://your-site.com/contentzavod/ to check
6. News is published automatically.

== Frequently Asked Questions ==

= Where can I get an API token? =

Register at [contentzavod.fittin.ru](https://contentzavod.fittin.ru) and get an API token in your personal account.

= Why am I getting a 404 error? =

Update permalinks: go to Settings → Permalinks and click "Save Changes" without changing anything.

= Is the plugin compatible with caching plugins? =

Yes, the plugin is fully compatible with popular caching plugins like WP Super Cache, W3 Total Cache, and LiteSpeed Cache.

= How do I change the plugin language? =

The plugin automatically uses the WordPress language. To change it, go to Settings → General → Site Language.

= Is the plugin secure? =

Yes, the API token is stored encrypted in the WordPress database, all API requests use HTTPS, and the plugin includes protection against SQL injection and XSS attacks.

== Screenshots ==

1. Plugin settings page
2. Main news page
3. Single article view
4. Sitemap integration

== Changelog ==

= 2.5.0 (2026-03-05) =
* Added IndexNow support: auto-submits new sitemap URLs to search engines hourly
* Auto-generates IndexNow key on activation, served at /{key}.txt
* New IndexNow status section on settings page (key, last check, submitted count)
* Tested up to WordPress 6.9

= 2.4.9 (2025-11-25) =
* Tag pages now use /tag/{slug} endpoint (proper tag listings)

= 2.4.8 (2025-11-25) =
* Version bump and documentation updates
* Minor internal improvements

= 2.4.7 (2025-11-20) =
* Adjusted admin UI version display
* Minor fixes

= 2.4.6 (2025-11-13) =
* Fixed bugs


= 2.4.5 (2025-11-11) =
* Split readme localization into separate files (readme-ru_RU.txt, readme-es_ES.txt, readme-de_DE.txt, readme-fr_FR.txt, readme-zh_CN.txt)
* Updated build script to include localized readme files
* Version bump and documentation cleanup

= 2.4.4 (2025-11-11) =
* Included assets icons in distribution
* Build script updated to package assets/
* Minor documentation updates

= 2.4.3 (2025-10-28) =
* Added multilingual support (10 languages)
* Full interface localization
* Multilingual documentation
* Improved translation system
* Performance optimization
* Bug fixes

= 2.4.0 (2025-10-27) =
* Final stable release
* Performance optimization
* Improved admin panel
* Fixed all known bugs
* Added caching
* Enhanced error handling

= 2.3.0 =
* Initial public release
* Core functionality implementation
* API integration
* Sitemap support

== Upgrade Notice ==

= 2.5.0 =
Added IndexNow integration. Search engines will now be notified of new content automatically.

= 2.4.9 =
Tag pages now use /tag/{slug} endpoint for correct tag listings.

= 2.4.8 =
Minor release: version bump and documentation updates.

= 2.4.4 =
Minor release: includes assets icons and build improvements.

= 2.4.3 =
Major update with multilingual support for 10 languages. Recommended for all users.

= 2.4.0 =
Stable release with performance improvements and bug fixes. Recommended for all users.

== Support ==

For support, please visit:

* Website: [contentzavod.fittin.ru](https://contentzavod.fittin.ru)
* Email: support@fittin.ru
* Documentation: [contentzavod.fittin.ru/docs](https://contentzavod.fittin.ru/docs)

== Privacy Policy ==

This plugin:
* Does not collect or store any personal user data
* Only stores the API token in WordPress database
* Makes API requests to contentzavod.fittin.ru for content retrieval
* Does not use cookies or tracking
* Does not share data with third parties

== Credits ==

Made with ❤️ by [Fittin](https://contentzavod.fittin.ru) team.

