Përshkrim
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
- 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.
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.
Instalim
- 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.
Example shortcode: [xs2h-sitemap-html ids=“1,2” search=“true” separator=”-” layout=“list” show_url=“false” show_lastmod=“true” case=“title” cache_ttl=“3600”]
PBR
-
Can I include nested folder names in titles?
-
Not currently. Only the final segment after the last
/is used. -
How do I clear or reset the cache?
-
Set Cache TTL to
0and save; existing transients will expire immediately. -
Can I override an individual entry’s title?
-
No — custom titles per entry are not supported beyond the global slug and case settings.
Shqyrtime
Për këtë shtojcë s’ka shqyrtime.
Kontribues & Zhvillues
“XS2H XML Sitemap to HTML” është software me burim të hapur. Në këtë shtojcë kanë dhënë ndihmesë personat vijues.
Kontribues“XS2H XML Sitemap to HTML” është përkthyer në 3 gjuhë. Faleminderit përkthyesve për ndihmesën e tyre.
Përkthejeni “XS2H XML Sitemap to HTML” në gjuhën tuaj.
Ju intereson zhvillimi?
Shfletoni kodin, shkarkoni depon SVN, ose pajtohuni përmes RSS-je te regjistri i zhvillimeve.
Regjistër ndryshimesh
1.2
- Initial release: multi-sitemap support, live search, list/table layouts, server-side generator, basic slug-based titles, full i18n.