Welcome, Guest. Please login or register.
Did you miss your activation email?
17 Mar 2010, 21:17

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: Sitemapms pages and subpages  (Read 206 times)
0 Members and 1 Guest are viewing this topic.
pepperoni
Peanut Gallery


Karma: 0
Offline Offline

Posts: 3


« on: 02 Jul 2009, 13:00 »

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:
{* 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
Logged
Pages: [1]
Print
Jump to: