XS2H XML Sitemap to HTML

XS2H XML Sitemap to HTML

Details
View on WordPress

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.

Details

Plugin code:
xs2h-xml-sitemap-to-html
Plugin version:
1.2
Author:
Outdated:
No
WP version:
6.0 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.8.2
Total installations:
0
Last updated:
2025-08-24
Rating:
Times rated:
0
html
search
shortcode
sitemap
xml