=== SerpJet Publisher ===
Contributors: serpjet
Tags: seo, content, publishing, api, automation
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

SerpJet Publisher imports new articles and article improvements from SerpJet into WordPress posts, pages, or public custom post types.

== Description ==

SerpJet Publisher connects WordPress to the SerpJet External API.

The plugin can pull new articles and improvements, store deliveries in a dedicated local queue table, import content through standard WordPress APIs, and send accepted or rejected delivery results back to SerpJet.

Version 2.0 is a clean plugin with its own settings and queue. It does not migrate or reuse settings from the legacy SerpJet Integration 1.x plugin.

== Features ==

* Pull new articles and article improvements from SerpJet.
* Import into posts, pages, or public custom post types.
* Configure post status, author, categories, timeout, and automation.
* Auto-import and auto-accept only when a public permalink is available.
* Keep draft, pending, and private imports in the queue until manual accept or reject.
* Dedicated queue table: serpjet_publisher_queue.
* No server cron required.

== Installation ==

1. Upload the plugin ZIP through WordPress admin: Plugins -> Add New -> Upload Plugin.
2. Activate SerpJet Publisher.
3. Open SerpJet in the WordPress admin menu.
4. Enter Base URL, API key, and Project ID.
5. Choose the target post type and publication settings.

== External API ==

The plugin uses the existing SerpJet External API endpoints:

* /articles/new/pull
* /articles/new/{id}/result
* /articles/improvements/pull
* /articles/improvements/{id}/result

== Changelog ==

= 2.0.0 =
* New clean SerpJet Publisher plugin.
* New admin dashboard and connection setup flow.
* Dedicated queue table.
* Support for posts, pages, and public custom post types.
