plugin-icon

XS2H XML Sitemap to HTML

作者:fradigital·
Generate a searchable HTML list or table from one or more XML sitemaps via a simple shortcode.
版本
1.2
最后更新
Aug 24, 2025

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.

Features

  • 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)
  • Configurable cache TTL (in seconds) to reduce external requests

How Titles are Generated

  1. Take the URL path after the final slash (/).
  2. URL-decode that segment.
  3. Replace the configured “Slug Separator” (default -) and underscores (_) with spaces.
  4. Collapse multiple spaces to one.
  5. Apply the selected case rule.

For example: https://example.com/category/sub-item-name “sub-item-name” “sub item name” “Sub Item Name” (Title Case)

Limitations

  • 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 support for injecting custom templates or HTML around each item beyond the built-in list/table output.

License

This plugin is free software, licensed under the GNU General Public License v2 or later.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.8.5
这个插件是可用的下载,适用于您的站点。