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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
landex
Forum Members
Forum Members
Posts: 93
Joined: Sun Feb 10, 2008 4:02 pm

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

Post 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
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7739
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands

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

Post 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.
Image
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
landex
Forum Members
Forum Members
Posts: 93
Joined: Sun Feb 10, 2008 4:02 pm

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

Post 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>
Attachments
Screenshot.png
Post Reply

Return to “Modules/Add-Ons”