Page 1 of 1

Sitemapms pages and subpages

Posted: Thu Jul 02, 2009 5:00 pm
by pepperoni
Hi there...
I was looking in the forums but didn't find the solution, if there is any.

I have installed sitemapmadesimple and it works fine.
I have pages in my cms that are not shown in menu.
Can these pages be shown in the sitemap.xml vreated by sitemapms?

I use the default template which is:

Code: Select all

{* sitemap template *}
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84
	http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">

{foreach from=$output item='page'}
<url>
  <loc>{$page->url}</loc>
  <lastmod>{$page->date|date_format:"%Y-%m-%d"}</lastmod>
  <priority>{$page->priority}</priority>
  <changefreq>{$page->frequency}</changefreq>
</url>
{/foreach}

</urlset>
is there any way to change something in the template so as the subpages are included too?

thank you