Releases: krannich/divi-csv-events
Releases · krannich/divi-csv-events
Release list
v1.2.0 — Schema.org structured data
Features
- Schema.org JSON-LD: Events are now emitted as structured data so Google Rich Results and AI tools (ChatGPT, Claude, Gemini) can consume them.
- Optional 6th CSV column
Adresse/Address: Full postal address per event (e.g.,Hauptstr. 1, 29640 Schneverdingen). Auto-parsed into structuredPostalAddressfor Google Rich Results. - Time ranges: The
Uhrzeit/Timecolumn now accepts17:00-22:00and overnight17:00-03:00— end time automatically rolls to the next day. - Organizer settings: New module settings
Organizer Name+Organizer URLemit Schema.orgOrganization. - Schema toggle (default on): Turn off if the page already outputs event schema elsewhere.
Security
JSON_HEX_TAGin JSON-LD output prevents</script>breakout from malicious CSV content.- SchemaBuilder guards against semantically invalid calendar dates (e.g., Feb 30th) falling back to date-only output instead of silently rolling to the wrong day.
Compatibility
- Existing 5-column CSVs continue to work — the 6th column is optional.
- Existing single-time entries (
08:00) produce a 3h default duration in Schema. - No breaking changes.
Install / Upgrade
Auto-update via WordPress (the plugin-update-checker will offer 1.2.0 at the next check), or download divi-csv-events-v1.2.0.zip below and upload manually.
Requirements
- WordPress 6.4+
- PHP 8.0+
- Divi 5.0+
v1.1.0 — CSV Paste Mode
Features
- CSV Paste Mode: Paste CSV data directly into the module in addition to uploading a file. Choose between "CSV File" and "Paste CSV Data" via the new source selector.
- Mode-gated field visibility: only the relevant input is shown per mode.
- Frontend render and Builder preview both dispatch by source mode.
Technical
- REST POST endpoint for pasted content (authenticated, 100 KB limit, UTF-8 validated).
- Parser refactor:
parseCsvText(pure),parseUrl(file, mtime cache),parseString(text, content-hash cache). - PHPUnit set up with 9 unit tests.
- Self-hosted update checker wired to GitHub Releases — WordPress auto-updates work out of the box.
Install / Upgrade
Download divi-csv-events-v1.1.0.zip below and upload via WordPress → Plugins → Add New → Upload Plugin. Existing installs can enable auto-updates from the Plugins screen.
Requirements
- WordPress 6.4+
- PHP 8.0+
- Divi 5.0+