=== UpAmp Connector ===
Contributors: upampteam
Tags: upamp, blog publishing, content automation, api, seo
Requires at least: 5.6
Tested up to: 6.9
Stable tag: 1.3.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WordPress site to UpAmp for seamless blog publishing without browser automation.

== Description ==

UpAmp Connector allows you to publish blog posts directly from UpAmp to your WordPress site using a secure REST API. No more browser automation or complex setup required.

**Features:**

* Secure API key authentication
* Publish posts with title, content, excerpt
* Update existing posts after editing in UpAmp
* Delete posts from WordPress (moves to trash)
* Automatic category and tag handling (creates new ones if they don't exist)
* Featured image support (downloads from URL)
* SEO meta description support (Yoast, Rank Math, All in One SEO)
* Draft or publish status options

**Why use UpAmp Connector?**

Traditional WordPress integrations often rely on browser automation or application passwords, which can be blocked by security plugins, Cloudflare, or hosting providers. UpAmp Connector provides a direct, secure API that works reliably from any location.

**Third-Party Service**

This plugin connects to UpAmp ([https://upamp.com](https://upamp.com)), an external service for AI-powered content creation and marketing automation.

When you publish content through UpAmp:

* Blog post content (title, body, excerpt, categories, tags) is sent from UpAmp to your WordPress site
* Your site URL and API credentials are stored in your UpAmp account
* Featured images may be downloaded from URLs provided by UpAmp

For more information, please see:

* [UpAmp Terms of Service](https://upamp.com/terms)
* [UpAmp Privacy Policy](https://upamp.com/privacy)

== Installation ==

1. Upload the `upamp-connector` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings > UpAmp Connector
4. Click "Generate API Credentials"
5. Copy the API Endpoint, Key, and Secret to UpAmp

== Frequently Asked Questions ==

= Is this secure? =

Yes. The plugin uses hashed API secrets (the same method WordPress uses for passwords) and all communication should be over HTTPS.

= Can I regenerate my API credentials? =

Yes. Go to Settings > UpAmp Connector and click "Regenerate Credentials". Note that this will invalidate your old credentials.

= Does this work with Cloudflare? =

Yes! Unlike browser automation, API requests are not blocked by Cloudflare or similar security services.

== Screenshots ==

1. Settings page showing connection status and API credentials
2. API key generation and management interface

== Changelog ==

= 1.3.0 =
* Added DELETE endpoint to remove posts from WordPress (moves to trash)
* Posts can be restored from WordPress trash if needed

= 1.2.0 =
* Fixed JavaScript enqueue to use wp_add_inline_script instead of inline script tags
* Improved WordPress coding standards compliance

= 1.1.0 =
* Added PUT endpoint for updating existing posts
* Allows re-publishing edited content from UpAmp

= 1.0.0 =
* Initial release
* Secure API key authentication
* Post publishing with categories and tags
* Featured image support
* SEO meta description integration (Yoast, Rank Math, All in One SEO)

== Upgrade Notice ==

= 1.3.0 =
Adds ability to delete posts from WordPress via UpAmp.

= 1.2.0 =
Improves WordPress coding standards compliance.

= 1.1.0 =
Adds ability to update existing posts after editing in UpAmp.

= 1.0.0 =
Initial release of UpAmp Connector.
