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.
機能
- 複数のサイトマップをリストまたはテーブルレイアウトでまとめて表示
- Live search input filters entries by title or URL
- 自動タイトル抽出: 最後のパスセグメントのみを取得し (最後の「/」の後)、区切り文字 (ハイフンやアンダースコア) をスペースに置換し、選択した大文字小文字設定を適用します。
- Options to show or hide the original URL and last-modified date
- 設定内のサーバーサイドショートコードジェネレーターで簡単にコピー&ペースト可能 (すべてのパラメータが常に表示)
- Configurable cache TTL (in seconds) to reduce external requests
タイトルの生成方法
- Take the URL path after the final slash (
/). - URL-decode that segment.
- 設定された「スラッグ区切り」(デフォルト
-) とアンダースコア (_) をスペースに置換します。 - 複数のスペースを1つにまとめます。
- 選択された大文字小文字ルールを適用します。
例: https://example.com/category/sub-item-name → “sub-item-name” → “sub item name” → “Sub Item Name” (タイトルケース)
制限事項
- Only the last URL segment is used—intermediate directories or multiple segments cannot be included.
- 各エントリに対するカスタムタイトルは、グローバルなスラッグ区切りや大文字小文字設定を超えてはサポートされません。
- 特定のパス深度を選択することはできません (例: 「最後から2番目のセグメントを取る」)。
- No support for injecting custom templates or HTML around each item beyond the built-in list/table output.
ライセンス
This plugin is free software, licensed under the GNU General Public License v2 or later.