=== Push Post to MaxGood.work ===
Contributors: maxgoodwork
Tags: webhook, publishing, api, maxgood, avatar
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.2
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically push new WordPress posts and pages (HTML + metadata) into your MaxGood.work Avatar’s “Expertise”.

== Description ==

**Push Post to MaxGood.work** automatically sends newly published blog posts (and optionally pages) from WordPress to a configured Avatar/Organization on MaxGood.work.  
It transmits the post’s HTML content (without theme wrappers or binaries) plus metadata such as title, tags, categories, author, and permalink.

This plugin is designed for existing MaxGood.work customers. If you don’t yet have an Avatar, visit [https://maxgood.work](https://maxgood.work) to learn more.

== Features ==

* Fires automatically when a new post or page is first published.
* Adds an action to push existing posts or pages.
* Sends HTML content (cleaned of images/binaries).
* Includes metadata (title, tags, categories, author, permalink).
* Configurable **mgoid** (Avatar/Organization API key), **title_id** and optional **push pages** via Settings page.
* Secure transport over HTTPS with API key in headers.
* Super simple — no updates or deletions are pushed.

== Installation ==

1. Upload the plugin ZIP through **Plugins → Add New → Upload Plugin** in your WordPress admin, or extract it to `wp-content/plugins/push-post-to-maxgoodwork/`.
2. Activate the plugin through the **Plugins** menu.
3. Go to **Settings → Push to MaxGood.work** and enter:
   * **mgoid** – Your Avatar/Organization API key from the MaxGood.work admin dashboard "Account" tab.
   * **title_id** – The identifier for your content bundle (articles/chunks); from the "Expertise" tab create/select an existing title and note the title id in the url when you click on the "manage contents" button.
   * **push pages** - check this box to automatically push new pages.
4. Publish a new post — it will automatically be sent to MaxGood.work and be integrated into your Avatar's knowledge.

== Frequently Asked Questions ==

= Do I need a MaxGood.work account? =
Yes. The plugin only works with existing Avatars on MaxGood.work. Get one at [https://maxgood.work](https://maxgood.work).

= Does it support post updates or deletions? =
No. This version only sends new posts when they are first published and allows you to send existing posts with an admin action.

= What content is sent? =
The plugin sends the post’s HTML body and basic metadata (title, author, tags, categories, permalink, publish date). Images and other binary objects are stripped.

== Changelog ==

= 1.0.1 =
* Make post/page pushes include the title in the content.

= 1.0.0 =
* Initial release: Pushes new posts to MaxGood.work on publish.

== Upgrade Notice ==

= 1.0.0 =
First release.

== Disclaimer ==

This plugin is provided *as is* and *without any warranty or guarantee of any kind*. By downloading or installing it, you accept full responsibility for its use. MaxGood.work makes no promises about performance, reliability, security, or fitness for any particular purpose.

Because the internet is inherently insecure, we strongly recommend that you scan all downloaded files with reputable antivirus or malware detection tools before installing them on your WordPress site.

To the fullest extent allowed by law, MaxGood.work and its contributors are not liable for any damages, data loss, or other issues that may result from using this software. Use it entirely at your own risk.
