=== Proxima – Content Sync for Notion ===
Contributors: shubhamgate
Tags: notion, sync, database, block editor, auto-publish
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your Notion databases to WordPress and sync pages automatically with clean, semantic HTML and local media ownership.

== Description ==

 Proxima – Content Sync for Notion is a powerful, lightweight bridge between Notion and WordPress. It allows you to use Notion as your drafting environment and sync content to WordPress with a single click.
 
**Key Features:**
 
*   **✅ Multi-database support**: Connect and manage multiple Notion databases.
*   **✅ Unlimited pages**: No restrictions on the number of pages you can sync.
*   **✅ CPT support**: Sync content to standard posts, pages, or any Custom Post Type.
*   **✅ SEO meta mapping**: Map Notion properties to WordPress custom fields for SEO or any other purposes.
*   **✅ Custom Meta Field Support**: Add unlimited custom meta rows to map any Notion property directly to WordPress metadata.
*   **Dynamic Schema Detection**: Automatically detects your Notion database properties.
*   **Semantic HTML Engine**: Converts Notion blocks to clean, SEO-friendly HTML.
*   **Media Ownership**: Downloads Notion images to your local Media Library.
 
**How Synchronization Works:**
 
*   **Manual Sync**: Currently, the plugin utilizes high-performance manual sync. (Webhook/Automatic sync is planned for a future update).
*   **Status-Based Posting**: To ensure only finalized content is synced, the plugin only processes pages where the Notion property **Status** (Select type) is set to **Ready**.
 
**Third-Party Services**

This plugin connects to and sends data to external services:

*   **Notion API** (https://api.notion.com): Used to fetch your database properties and page content.
    *   Notion Privacy Policy: https://www.notion.so/about/privacy-policy
    *   Notion Terms of Service: https://www.notion.so/about/terms-and-conditions

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to **NotionFlow > Settings** and enter your Notion API Key.
4. Go to **Connections** to add your Notion databases and map properties to WordPress fields.

== Frequently Asked Questions ==

= Does this plugin store my Notion data? =
The plugin only stores your connection token and mapping settings. Content is fetched from Notion and stored in your WordPress database as standard posts.

= Is there a limit to how many posts I can sync? =
No. The plugin uses chunked processing to safely handle databases of any size.

== Screenshots ==

1. The settings page where you configure your Notion credentials.
2. The field mapping UI for connecting properties.
3. The connections list.


== Changelog ==

= 1.0.0 =
* Initial release.
* Block-to-HTML engine with SEO heading shifts.
* Media sideloading and taxonomy mapping.
* AJAX chunked sync worker.
