=== Ethersys Importer For Modelo Netty ===
Contributors: Ethersys
Tags: import, real estate, houzez, xml, property
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.3
Stable tag: 1.2.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Syncs Modelo/Netty XML feed to Houzez property listings in WordPress. Handles create, update, delete, gallery, logs and DPE/GES.

== Description ==

This plugin reads the XML feed generated by Modelo (formerly Netty), published by Septeo, and imports rental and sale properties into WordPress as `property` posts compatible with the **Houzez** theme.

Independent community project — not affiliated with, endorsed by, or approved by Septeo.

Key features:

* Recurring import (WP-Cron) or manual trigger (admin dashboard / WP-CLI `wp eimn import`).
* Create, update and delete properties in sync with the feed (stable identity via `eimn_reference_technique`).
* Gallery sync with SSRF protection, disabled redirects and per-image size limit.
* Field mapping from Netty to Houzez metadata (`fave_*`) and to DPE/GES fields expected by `[immowp_dpe_ges]`.
* Run history and detailed logs in the admin dashboard.

**No secrets stored in code** — the feed URL and schedule are configured in the admin settings after activation.

Source code and contributions: https://github.com/ethersys/ethersys-importer-for-modelo-netty

== Installation ==

1. Copy the `ethersys-importer-for-modelo-netty` folder into `wp-content/plugins/`.
2. Activate the plugin in **Plugins**.
3. Configure **Import Netty** in the admin menu (feed URL, schedule, agent).

== Frequently Asked Questions ==

= Is the Houzez theme required? =

The plugin is designed for the Houzez data model (post type `property`, meta keys `fave_*`). Without Houzez (or a compatible post type and meta structure), imports will not target the correct data model.

= Does advanced DPE/GES display work without a third-party plugin? =

The detailed DPE/GES block requires a plugin providing the `[immowp_dpe_ges]` shortcode (e.g. ImmoWP Diagnostic DPE GES). Without it, Houzez energy fields are still synced but the advanced block is disabled.

== Changelog ==

= 1.2.7 =
Le déploiement SVN WordPress.org ne purge plus les anciens tags (rollback cassé) ; le champ Stable tag est désormais synchronisé automatiquement avec la version déployée.

= 1.2.6 =
Correction des warnings PHP (et "headers already sent") lors de la sync des features quand le thème Houzez est absent.

= 1.2.5 =
Mise en conformité WordPress.org : préfixage `eimn_` pour les meta keys, slugs, handles et variables d'environnement (anciennement `nh_`/`nti`/`mnti`).

= 1.2.1 =
Correction du Plugin URI et de la version WordPress épinglée pour les tests d'intégration.

= 1.2.0 =
Renommage complet du projet (`Modelo-Netty-Importer` → `ethersys-importer-for-modelo-netty`) et correction de sécurité.

= 1.1.0 =
Preparation for WordPress Plugin Directory: rename plugin folder to `modelo-netty-importer`, add `readme.txt`, fix Plugin URI, update CI release workflow and all tooling references.

= 1.0.0 =
Initial open-source release. XML Modelo/Netty import to Houzez properties (create, update, delete), media sync, logs, cron scheduling, WP-CLI, DPE/GES integration, image security hardening.
