=== Scalnex SEO Blog Webhook ===
Contributors: scalnex
Tags: seo, webhook, automation, content
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically publishes blogs generated by Scalnex directly to your WordPress site. No code, no developer needed.

== Description ==

Scalnex generates SEO-optimised blog articles and sends them to your site as a webhook. This plugin receives that
webhook and turns it into a real WordPress post or page automatically:

* Creates (or updates, on re-delivery) a post with the generated title, content, excerpt, and tags.
* Sets the featured image from the first image in the article.
* Renders inline images, tables, quotes, testimonials, and FAQ sections in the right order.
* Adds FAQPage structured data (JSON-LD) automatically when the article includes an FAQ section.
* Sends SEO title, meta description, and focus keyword(s) to Yoast SEO or Rank Math if installed, and falls back
  to its own `<title>` / meta description output if neither is active.
* Lets you choose whether new blogs are published immediately or saved as a draft for review.
* Keeps a log of the last 20 deliveries so you can confirm the integration is working.

No PHP, REST API, or webhook knowledge is required to set this up.

== Installation ==

1. Upload the `scalnex-seo-blog-webhook` folder to `/wp-content/plugins/`, or install the zip via
   Plugins > Add New > Upload Plugin.
2. Activate the plugin.
3. Go to Settings > Scalnex SEO Webhook.
4. Copy the Webhook URL shown at the top of the page.
5. Paste it into the webhook field of your Scalnex project.
6. Choose your publishing defaults (draft vs. publish, post type, category, author) and save.

That's it - the next blog Scalnex generates for you will appear in your WordPress admin automatically.

== Frequently Asked Questions ==

= Do I need to write any code? =

No. Everything is configured from the Settings > Scalnex SEO Webhook screen.

= Is the webhook secure? =

Yes. The webhook URL contains a unique, secret token. Only requests that include the correct token are accepted.
You can regenerate this token at any time from the settings page if you ever need to revoke access.

= What happens if Scalnex sends the same article twice? =

The plugin matches incoming articles to existing posts by their slug (`subURL`), so re-delivering the same
article updates the existing post instead of creating a duplicate.

= Which SEO plugins are supported? =

Yoast SEO and Rank Math are supported directly. If neither is active, the plugin outputs its own page title and
meta description tags so search engines still see the optimised metadata Scalnex generated.

== Changelog ==

= 1.0.0 =
* Initial release.
