omz13 / kirby3-xmlsitemap

kirby3 plugin to generate an xml-based sitemap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not getting unlisted pages via template

abroess opened this issue · comments

I try to get the xmlsitemap running to cover 100 unlisted pages (News Items), but the only way to get them into the sitemap is, when I list them in 'includeUnlistedWhenSlugIs'. My attempt to get them via the template name does not work:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/sitemap.xsl"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!--                 disableImages = "1" -->
<!--     includeUnlistedWhenSlugIs = null -->
<!-- includeUnlistedWhenTemplateIs = ["news"] -->
<!-- excludeChildrenWhenTemplateIs = null -->
<!--     excludePageWhenTemplateIs = null -->
<!--         excludePageWhenSlugIs = null -->
<!--                x-shimHomepage = "" -->
<!-- Processing as SL -->
<!-- crunching aktuelles/neuigkeiten [it=neuigkeiten] [s=listed] [d=2] -->
<!-- (  ) "Neuigkeiten" -->
<url>
  <loc>http://ggs/aktuelles/neuigkeiten</loc>
  <lastmod>2019-01-28T18:38:07+01:00</lastmod>
</url>
<!-- crunching aktuelles/neuigkeiten/20090911 [it=news] [s=unlisted] [d=3] -->
<!-- (  ) "Neuer Anstrich für die Schule" -->
<!-- excluding because unlisted -->
<!-- crunching aktuelles/neuigkeiten/20091006 [it=news] [s=unlisted] [d=3] -->
<!-- (  ) "Umzug in die Container" -->
<!-- excluding because unlisted -->
<!-- crunching aktuelles/neuigkeiten/20091008 [it=news] [s=unlisted] [d=3] -->
<!-- (  ) "2. Platz bei der Waldrallye des WPZ" -->
<!-- excluding because unlisted -->

Sorry about that; it is a bug. Fix coming soon.