CMS Made Simple Forums
https://forum.cmsmadesimple.org/

How to make a conclusion in sitemap.xml gallery contents?
https://forum.cmsmadesimple.org/viewtopic.php?f=7&t=79716
Page 1 of 1

Author:  landex [ Sun Dec 30, 2018 4:37 pm ]
Post subject:  How to make a conclusion in sitemap.xml gallery contents?

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

Author:  Rolf [ Mon Dec 31, 2018 11:28 am ]
Post subject:  Re: How to make a conclusion in sitemap.xml gallery contents

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.

Author:  landex [ Mon Dec 31, 2018 12:07 pm ]
Post subject:  Re: How to make a conclusion in sitemap.xml gallery contents

unfortunately there is only one configuration file that works. There are no other files in the kit and there was not ..

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>


Attachments:
Screenshot.png
Screenshot.png [ 54.47 KiB | Viewed 298 times ]

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/