=== BlogSync – Convert & Publish Google Docs to WordPress ===
Contributors: cslingerland
Tags: document converter, word to html, docx converter, content migration, image optimization
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WordPress site to BlogSync for document-to-post publishing via the BlogSync dashboard.

== Description ==

BlogSync connects your WordPress site to the [BlogSync](https://blogsync.io) document conversion service. Convert Microsoft Word documents (.docx) and Google Docs into clean, optimized HTML, then publish directly to your WordPress site as draft posts.

This plugin acts as a receiver for content published from the BlogSync web application. All document conversion and processing happens on BlogSync's servers - this plugin simply receives the converted content and creates posts on your WordPress site.

= How It Works =

1. Install this plugin and enter your BlogSync API key
2. Upload documents at [blogsync.io](https://blogsync.io)
3. Select your WordPress site from the staging dropdown
4. Click Convert - your post appears in WordPress as a draft

= Key Features =

* **Direct Publishing** - Posts are created directly in your WordPress site
* **Image Handling** - Optimized images are uploaded to your Media Library
* **AI Alt Text** - Images include AI-generated alt text for accessibility
* **WebP Conversion** - Images are converted to WebP for better performance
* **Draft Posts** - Content arrives as drafts for your review before publishing

= About the BlogSync Service =

This plugin requires a [BlogSync](https://blogsync.io) account. BlogSync is a Software as a Service (SaaS) that provides:

* Document parsing and HTML conversion
* Image optimization and format conversion
* AI-powered alt text generation
* Multi-platform publishing (WordPress, HubSpot, Webflow)

**Service Terms:** [blogsync.io/terms](https://blogsync.io/terms)
**Privacy Policy:** [blogsync.io/privacy](https://blogsync.io/privacy)

= Free Trial =

Every BlogSync account starts with a free trial including:

* 3 posts converted
* 25 images converted
* 1 WordPress connection
* AI-powered alt text
* WebP image conversion
* Email support

Upgrade to a paid plan at [blogsync.io](https://blogsync.io) for higher limits.

== External Service ==

This plugin connects to BlogSync (https://blogsync.io), an external document conversion service.

**What data is sent to BlogSync:**

* Your API key (for authentication)
* Staging request verification calls

**What data is received from BlogSync:**

* Post title and HTML content
* Optimized images (base64 encoded)
* Image metadata (alt text, filenames)

All communication uses HTTPS encryption. Documents you upload to BlogSync are processed and not stored after conversion.

== Installation ==

1. Upload the `blogsync` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to BlogSync in the admin menu
4. Create a free account at [blogsync.io](https://blogsync.io)
5. Go to Settings > API Keys in your BlogSync dashboard
6. Create a new API key for your WordPress site
7. Enter the API key in the plugin settings and save

== Frequently Asked Questions ==

= Do I need an account to use this plugin? =

Yes, you need a free BlogSync account. Sign up at [blogsync.io](https://blogsync.io) to get your API key.

= Where do I convert documents? =

Documents are converted in the BlogSync web application at [blogsync.io](https://blogsync.io), not within WordPress. This plugin receives the converted content and creates posts.

= What file formats are supported? =

BlogSync supports Microsoft Word documents (.docx) and Google Docs (via Google Drive integration).

= Is my data secure? =

Yes. All data transfers use HTTPS encryption. Documents are processed and not stored after conversion. See our [Privacy Policy](https://blogsync.io/privacy) for details.

= Can I use this for client work? =

Absolutely! BlogSync is perfect for agencies and freelancers handling client content.

== Screenshots ==

1. Settings page - Connect your BlogSync account with your API key
2. BlogSync dashboard - Upload and convert documents
3. Posts created as drafts in WordPress

== Changelog ==

= 1.1.0 =
* Simplified plugin to settings-only interface
* All conversion now happens from BlogSync dashboard
* Improved security with callback verification
* Updated branding and icons

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.1.0 =
Simplified plugin architecture - conversion now happens from the BlogSync dashboard for a better experience.
