=== Monok Sync ===
Contributors: adsamail
Tags: publishing, content, articles, integration
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 3.9.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect Monok to WordPress to receive articles as drafts or published posts, with images, categories and publication confirmations.

== Description ==

Monok Sync connects your WordPress website to the Monok content service. Receive articles as drafts for review or publish them according to the delivery settings you choose in Monok.

* Receive article content and images.
* Assign authors, categories and tags supplied with your articles.
* Send publication confirmations back to Monok.
* Discover site metadata and published articles for your connected workflow.

An account with [Monok](https://www.monok.com) and a workspace API key are required. The plugin is free; Monok's external content service may incur charges. See [Monok pricing](https://monok.com/en/pricing).

= External services and data =

Activate the plugin and save your Monok workspace API key under Settings > Monok Settings to connect your site. Deactivate the plugin using WordPress's standard Plugins screen to stop the integration. Activation alone does not contact Monok or create a WordPress publishing account.

When enabled, this plugin communicates with https://app.monok.com:

* Incoming authenticated delivery requests create or update articles and images on your website.
* Authenticated information requests expose your site name, URL, logo, categories, tags, public post types, configured languages and author metadata (names, biographies, IDs, avatars and roles), along with plugin settings, to the connected Monok service.
* Publication confirmations send Monok article identifiers, article titles and text, featured-image URLs, canonical URLs, WordPress post IDs and site URLs to Monok when delivered articles are published or updated.
* A delivery notification may ask WordPress to fetch the corresponding article from Monok. Article images may be downloaded from URLs supplied in a delivery.

These exchanges support delivery, duplicate avoidance and publication status. They are not anonymous: the API key identifies your connected workspace.

Service provider: Semsomi AB / Monok. [Terms of service and privacy policy](https://monok.com/en/terms-of-service).

= Optional social embeds =

Social scripts are disabled by default. Setting JS scripts to Enabled while the connection is enabled loads scripts from platform.twitter.com and platform.instagram.com on public pages. Visitors' browsers connect directly to those services, exposing their IP address and browser information and potentially using cookies. Enable this only when appropriate for your site's visitor consent arrangements.

[X privacy policy](https://x.com/en/privacy) and [terms](https://x.com/en/tos).
[Instagram privacy policy](https://privacycenter.instagram.com/policy/) and [terms](https://help.instagram.com/581066165581870).

== Installation ==

1. Install and activate Monok Sync.
2. Open Settings > Monok Settings.
3. Review the data exchange description, enter your Monok workspace API key and save changes.
4. Add your WordPress site as a publishing integration in your Monok account.
5. Send a draft first and verify its text, images, author and categories before enabling automatic publication.

== Frequently Asked Questions ==

= Do I need a Monok account? =

Yes. The plugin connects WordPress to Monok's external content service.

= Does activation create a publishing user? =

No. This WordPress.org distribution uses the authenticated Monok API-key integration and does not create fallback users or Application Passwords.

= Can I receive drafts instead of publishing immediately? =

Yes. Choose draft delivery in your Monok integration settings.

= How do I disconnect? =

Deactivate Monok Sync in the WordPress Plugins screen. Existing articles and media remain on your site. Rotate the workspace API key in Monok if it should no longer authorize an integration.

== Changelog ==

= 3.9.2 =

* Prepare the WordPress.org distribution with WordPress.org updates, documented API-key setup and opt-in social scripts.
* Retain the Monok article delivery and publication confirmation workflow.
* Remove automatic publishing-account creation from this distribution.
* Use safe WordPress HTTP requests for remote featured images and retain WordPress article HTML filtering.

== Upgrade Notice ==

= 3.9.2 =

Activate the plugin and save your API key in Settings > Monok Settings after reviewing the service data exchanges.
