Descripción
Generate a searchable HTML list or table from one or more XML sitemaps via shortcode, with human-readable titles extracted from each URL’s final path segment.
Características
- Display multiple sitemaps together in list or table layouts
- Live search input filters entries by title or URL
- Automatic title extraction: takes only the last path segment (after the final “/”), replaces separator characters (dash or underscore) with spaces, then applies casing (Title Case, UPPERCASE, lowercase, ucfirst, or none)
- Options to show or hide the original URL and last-modified date
- Server-side shortcode generator in settings for easy copy-and-paste (all parameters always visible)
- TTL de caché configurable (en segundos) para reducir las solicitudes externas
Cómo se generan los títulos
- Take the URL path after the final slash (
/). - URL-decode that segment.
- Replace the configured “Slug Separator” (default
-) and underscores (_) with spaces. - Collapse multiple spaces to one.
- Apply the selected case rule.
Por ejemplo: https://example.com/category/sub-item-name
“sub-item-name” “sub item name” “Sub Item Name” (Capitalización de título)
Limitaciones
- Only the last URL segment is used—intermediate directories or multiple segments cannot be included.
- No per-entry custom titles beyond the global slug-separator and casing settings.
- Cannot select a specific path depth (e.g. “take the second-to-last segment”).
- No hay soporte para insertar plantillas personalizadas o HTML alrededor de cada elemento más allá de la salida de lista/tabla integrada.
Licencia
Este plugin es software libre, con licencia GNU General Public License v2 o posterior.
Instalación
- Upload the
xml-sitemap-to-htmlfolder to/wp-content/plugins/. - Activate XS2H XML Sitemap to HTML via Plugins.
- Go to Settings XS2H XML Sitemap to HTML:
- Paste each sitemap URL on its own line.
- Set your Slug Separator character.
- Set Cache TTL in seconds (0 = no caching).
- Save changes.
- In the same page, use the Shortcode Generator:
- Tick the sitemaps to include.
- Configure search, layout, casing, URL/date display, etc.
- Click Generate Shortcode and copy the result.
- Paste the generated shortcode into any post or page.
Ejemplo de shortcode: [xs2h-sitemap-html ids=“1,2” search=“true” separator=”-” layout=“list” show_url=“false” show_lastmod=“true” case=“title” cache_ttl=“3600”]
Preguntas frecuentes
-
¿Puedo incluir varios segmentos de URL en los títulos?
-
Actualmente no. Solo se utiliza el último segmento después del último
/. -
¿Cómo puedo vaciar o restablecer la caché?
-
Set Cache TTL to
0and save; existing transients will expire immediately. -
¿Puedo sobrescribir el título de una entrada individual?
-
No — los títulos personalizados por entrada no están soportados, más allá de la configuración global del separador de slug y del estilo de mayúsculas/minúsculas.
Reseñas
No hay reseñas para este plugin.
Colaboradores y desarrolladores
“XS2H XML Sitemap to HTML” es un software de código abierto. Las siguientes personas han colaborado con este plugin.
Colaboradores“XS2H XML Sitemap to HTML” ha sido traducido a 3 idiomas. Gracias a los traductores por sus contribuciones.
Traduce “XS2H XML Sitemap to HTML” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN , o suscríbete al log de desarrollo por RSS .
Registro de cambios
1.2
- Versión inicial: soporte para múltiples sitemaps, búsqueda en vivo, diseños de lista/tabla, generador en servidor, títulos basados en slug, i18n completa.