Page 1 of 1

How to make a conclusion in sitemap.xml gallery contents?

Posted: Sun Dec 30, 2018 4:37 pm
by landex
Hello!

How to make a conclusion in sitemap.xml gallery contents?
Text pages module displays in the site map without any problems, but!

News pages do not get there, a large number of photo albums with a detailed description are not included either, friends - how do you solve this problem?

Gallery module version Gallery 2.3.2
Sitemap module SiteMapMadeSimple 1.2.8

Re: How to make a conclusion in sitemap.xml gallery contents

Posted: Mon Dec 31, 2018 11:28 am
by Rolf
The SItemapMgr module lets you create custom sitemaps per module. All created are included in the sitemap index file. SitemapMgr module has several examples included.

Re: How to make a conclusion in sitemap.xml gallery contents

Posted: Mon Dec 31, 2018 12:07 pm
by landex
unfortunately there is only one configuration file that works. There are no other files in the kit and there was not ..

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>