添加新模板
This commit is contained in:
18
code/app/home/view/videoGpt1/sitemap/sitemap-chapters.xml
Normal file
18
code/app/home/view/videoGpt1/sitemap/sitemap-chapters.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
{novel:pagerexp page="$Request.route.intPage" limit="40000"
|
||||
sort_type="news"
|
||||
d_key="key"
|
||||
d_val="Novel"
|
||||
cache_life="3600" func="generateCategoryPager" export_name="resData" /}
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{foreach $resData.data as $key=>$Novel}
|
||||
<url>
|
||||
<loc>https://www.{$DomainModel->d_domain}{site:lcpurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}</loc>
|
||||
<lastmod>{:date('Y-m-d')}</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
{/foreach}
|
||||
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user