diff --git a/scripts/validate_site.py b/scripts/validate_site.py index 59812f5..bca7254 100644 --- a/scripts/validate_site.py +++ b/scripts/validate_site.py @@ -36,6 +36,7 @@ f"{CANONICAL_BASE}/2026/patrocinadores.html", f"{CANONICAL_BASE}/2026/privacidad.html", f"{CANONICAL_BASE}/2026/registro.html", + f"{CANONICAL_BASE}/2026/convence-a-tu-jefe.html", f"{CANONICAL_BASE}/2026/ponentes.html", f"{CANONICAL_BASE}/2026/voluntariado/", } @@ -89,6 +90,11 @@ def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]) -> None if tag == "link" and "canonical" in (values.get("rel") or "").split(): if values.get("href"): self.canonicals.append(values["href"]) + # preconnect y dns-prefetch nombran un origen, no un recurso: la raĆ­z + # de fonts.googleapis.com responde 404 aunque el servicio funcione. + link_rels = set((values.get("rel") or "").lower().split()) + if tag == "link" and link_rels & {"preconnect", "dns-prefetch"}: + return if tag in {"a", "img", "iframe", "link", "script", "source"}: reference = values.get("href") or values.get("src") if reference: diff --git a/sitemap.xml b/sitemap.xml index 7824949..5e849e0 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -48,6 +48,12 @@ monthly 0.8 + + https://pycon.pa/2026/convence-a-tu-jefe.html + 2026-09-18 + monthly + 0.7 + https://pycon.pa/2026/ponentes.html 2026-08-24