Landi

Site Import (ext-01)

Bring your existing HTML into the Landi Editor. Our import pipeline automatically analyzes structure, sanitizes scripts, and injects data-editable semantics.

01

Analyze

landi_analyze_site_compatibility

Checks doctype, validates html/head/body structure, measures data-editable coverage, and flags missing data-section-type labels. Detects Tailwind CDN usage and unsafe eval scripts.

02

Guidance

landi_site_conversion_guidance

Returns specific mutation strategies based on the identified sourceType (e.g., plain-html vs react-export).

03

Import & Auto-Fix

landi_import_site

Executes a two-phase HITL (Human-in-the-loop) process. Automatically repairs DOM issues via the prepare-html-for-editor sanitizer before committing to VFS.

78 Score

Compatibility Analysis Report

Valid HTML5 Structure

html/head/body tags present and properly nested.

Tailwind Framework Detected

Tailwind classes found. CDN script injected via autoFix.

Low Semantic Coverage (Warning)

Missing data-section-type attributes on 4 container divs. Will attempt auto-classification.

Unsafe Script Detected

Inline eval() found in <script> block line 142. Script stripped for editor safety.