Initial commit: igny8 project

This commit is contained in:
igny8
2025-11-09 10:27:02 +00:00
commit 60b8188111
27265 changed files with 4360521 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
Add-Type -AssemblyName System.IO.Compression.FileSystem
$docxPath = "e:\GitHub\igny8-ai-seo\docs\Igny8 WP Plugin to Igny8 App Migration Plan.docx"
$zip = [System.IO.Compression.ZipFile]::OpenRead($docxPath)
$entry = $zip.Entries | Where-Object { $_.FullName -eq "word/document.xml" }
if ($entry) {
$stream = $entry.Open()
$reader = New-Object System.IO.StreamReader($stream)
$xml = $reader.ReadToEnd()
$reader.Close()
$stream.Close()
# Extract text from XML (simple approach)
$xml = $xml -replace '<[^>]+>', "`n"
$xml = $xml -replace '\s+', " "
$xml = $xml -replace '\n\s*\n', "`n"
Write-Output $xml.Trim()
}
$zip.Dispose()