=== Azuqe ===
Contributors: azuqe
Tags: seo, blog publishing, seo optimization, content automation, wordpress seo
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Publish SEO-optimized blog posts from Azuqe (https://seo.azuqe.com) directly into WordPress with a single secure API key.

== Description ==

Azuqe is an SEO platform that writes, optimizes and schedules blog content for your site. This plugin is the WordPress endpoint — install it, paste one integration key into your Azuqe dashboard at https://seo.azuqe.com, and every post you generate lands on your WordPress site as a draft (or auto-published if you prefer).

**What it does for you:**

* Receives posts from Azuqe via a signed REST endpoint (no third-party middleware).
* Downloads featured and inline images and hosts them on your own media library.
* Fills SEO meta (title, description, focus keyword) into Yoast, Rank Math, All in One SEO or SEOPress — whichever you use.
* Creates missing categories and tags on the fly.
* Honors scheduled publish dates.

**How it works:**

1. Install and activate this plugin on your WordPress site.
2. Open **Azuqe → Settings** in the WordPress admin and click **Generate** to create an Integration Key.
3. Open https://seo.azuqe.com/connected-apps → WordPress → paste your site URL and the Integration Key.
4. Click **Test Connection** to confirm.

That's it. Any blog you publish from Azuqe will now land on your WordPress site with full formatting, images and SEO meta.

== Installation ==

1. Upload the `azuqe` folder to `/wp-content/plugins/` (or install the zip via **Plugins → Add New → Upload Plugin**).
2. Activate the plugin through the **Plugins** menu.
3. Go to **Azuqe → Settings** in your WordPress admin.
4. Click **Generate** to create your Integration Key.
5. Open https://seo.azuqe.com/connected-apps → WordPress → paste your site URL and the Integration Key.
6. Click **Test Connection** to verify everything works.

== Frequently Asked Questions ==

= Do I need an Azuqe account? =
Yes. This plugin is the WordPress endpoint for the Azuqe SEO platform. Sign up at https://azuqe.com.

= Is my content safe? =
Every API request is authenticated with your unique Integration Key using a constant-time hash comparison. The key is stored as a WordPress option and never exposed via the REST API.

= Can I review posts before they go live? =
Yes. Enable **Post as Draft** in the plugin settings — every post from Azuqe lands as a draft for you to review before publishing.

= Does it work with my SEO plugin? =
Yes. Azuqe writes meta description and focus keyword into Yoast SEO, Rank Math, All in One SEO and SEOPress — whichever is active on your site.

= Can I use this on multiple sites? =
Yes. Each WordPress site gets its own Integration Key. Connect each site to Azuqe separately.

== Changelog ==

= 1.0.1 =
* Auto-generate Integration Key on activation.
* Detailed REST authorization error messages for troubleshooting.

= 1.0.0 =
* Initial release
* REST endpoint for post creation, auth via X-Secret-Key header
* Admin dashboard with article tracking and stats
* Settings page with key management and Test Connection
* SEO meta support for Yoast, Rank Math, AIOSEO, SEOPress
* Featured image and inline content image download to media library
* Category and tag auto-creation
* Scheduled post support
