new site
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
$repo = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)
|
||||
$excludePattern = '\\(\.git|node_modules|seo-audit-2026-05-27|website|directory)\\'
|
||||
$files = Get-ChildItem $repo -Recurse -Filter index.html -File -ErrorAction SilentlyContinue |
|
||||
Where-Object { $_.FullName -notmatch $excludePattern }
|
||||
$matched = @()
|
||||
foreach ($file in $files) {
|
||||
$c = [System.IO.File]::ReadAllText($file.FullName)
|
||||
if (-not $c) { continue }
|
||||
# CASE-SENSITIVE - same as REVIEW.ps1
|
||||
if ([regex]::IsMatch($c, '"(?:url|item|@id|logo)":\s*"https://odoo-expertos\.com')) {
|
||||
$matched += $file.FullName
|
||||
}
|
||||
}
|
||||
Write-Host "Case-sensitive matched: $($matched.Count)"
|
||||
if ($matched.Count -gt 0) {
|
||||
$c = [System.IO.File]::ReadAllText($matched[0])
|
||||
$m = [regex]::Match($c, '"(?:url|item|@id|logo)":\s*"https://odoo-expertos\.com[^"\r\n]*')
|
||||
Write-Host "Sample: $($m.Value)"
|
||||
}
|
||||
Reference in New Issue
Block a user