=== PK InExPress ===
Contributors: punkode, gabriellasaia
Donate link: https://punkode.it/
Tags: import, xml, houzez, realsoftware, miogest
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.1.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Quick importer from management software (CRMs) to specific WordPress themes. 

== Description ==
Fast and reliable importer from real estate CRMs to WordPress themes.
Supports asynchronous import, taxonomy/feature sync, and automatic media handling.
Initial integrations include from RealSoftware and Miogest to Houzez theme.
More CRMs and themes will be supported.

== Extended Description ==
PK InExPress connects real estate management platforms (CRMs) with WordPress themes that require structured property data.
The plugin reads the XML feed, normalizes the content, assigns taxonomies and features, and creates or updates listings in a consistent way.

The importer now includes an asynchronous engine capable of processing large XML files in batches, improving stability and reducing timeouts.
It also supports manual imports, scheduled (cron) imports, and real-time update flows depending on server capabilities.

Current integrations include:

– From RealSoftware to Houzez
– From Miogest to Houzez

The system is designed to be extended to other CRMs and other real estate themes.

The interface allows you to:

• Provide an XML URL or paste raw XML.
• Trigger asynchronous import with batch safety.
• Automatically create or update taxonomies, features, agents, media, and custom fields required by the theme.
• Ensure consistency between CRM data and WordPress content.
• Handle large image sets with optional resizing (Pro version).

This plugin does not store or transmit data externally. All processing happens inside your site.

== Installation ==
1. Upload the `pk-inexpress` folder to the `/wp-content/plugins/` directory, or install the plugin directly through the WordPress plugins screen.
2. Activate the plugin from the "Plugins" screen in your WordPress admin.
3. Go to the **Automatic Import** menu in the WordPress admin dashboard.
4. Choose the service you want to import from and the target theme, then either enter the XML URL or paste the XML content directly. Click the import button to start importing your data.

== Disclaimer ==
PK InExPress imports XML data from external sources.
The plugin author is not responsible for the correctness, legality, or licensing of the imported XML.
Users must ensure they have the right to use such data according to applicable agreements and laws.

== Frequently Asked Questions ==

= Which CRMs and themes are supported? =
The first release supports importing from Realsoftware and MioGest CRM into the Houzez theme.  
More integrations will be added soon.

= Can I use this with other real estate themes? =
Future releases will support multiple real estate and non-real estate themes.  
Right now, the importer is optimized for Houzez.

= Does it support cron jobs (automatic scheduled imports)? =
In the pro version there is the possibility to use automatic import via cron and in the future to resize images to speed up the site.

== External services ==
This plugin does not connect to any external APIs

== Screenshots ==
1. Import wizard configuration screen.
2. Import wizard configuration step two.

== Support ==
For free support please use the official WordPress.org support forum:
https://wordpress.org/support/plugin/pk-inexpress/

== Changelog ==

= 1.1.8 =
* Fixed MioGest property type.

= 1.1.7 =
* Fixed MioGest contract type mapping. Property status is now correctly set.

= 1.1.6 =
* Update freemius.

= 1.1.5 =
* Corrections for a better translation.

= 1.1.4 =
* New: Added manual AJAX import (Quick Import) with step-based processing.
* New: Real-time progress display in the admin interface (processed / total).
* New: Import and update now run in safe micro-batches to prevent server timeouts.
* Improved stability when handling large XML files and heavy image sets.
* Improved error reporting during asynchronous import.

= 1.1.2 =
*With realsoftware, it takes the names of agents even if they are written with an accent on the theme and without an accent in the management system.

= 1.1.1 =
* Added support for Miogest to Houzez integration

= 1.0.1 =
* Added Freemius integration

= 1.0.0 =
* First public release
* Supports import from Realsoftware to Houzez

== Upgrade Notice ==
= 1.1.1 =
New: support for Miogest to Houzez integration.

= 1.0.1 =
Added Freemius integration.

= 1.0.0 =
Initial release with Realsoftware to Houzez integration.
