This commit is contained in:
make
2025-04-22 14:39:01 +08:00
parent 3280e769ba
commit 4b04b06353
3 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!-- // TODO 根据分页查询,按顺序 每页 50000个小说 -->
{novel:pagerexp page="$Request.get.page" limit="50000" {novel:pagerexp page="$Request.get.page" limit="50000"
d_key="key" d_key="key"
d_val="Novel" d_val="Novel"

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!-- // TODO 根据分页查询,按顺序 每页 50000个小说 -->
{novel:pagerexp page="$Request.get.page" limit="50000" {novel:pagerexp page="$Request.get.page" limit="50000"
d_key="key" d_key="key"
d_val="Novel" d_val="Novel"

View File

@@ -5,7 +5,7 @@
<lastmod>{:date('Y-m-d')}</lastmod> <lastmod>{:date('Y-m-d')}</lastmod>
</sitemap> </sitemap>
<!-- ...小说总数量/50000 得出 sitemap-books一共有多少个 --> <!-- TODO 小说总数量/50000 得出 sitemap-books一共有多少个 -->
<sitemap> <sitemap>
<loc>https://www.{$DomainModel->d_domain}/sitemap-books-1.xml</loc> <loc>https://www.{$DomainModel->d_domain}/sitemap-books-1.xml</loc>
<lastmod>{:date('Y-m-d')}</lastmod> <lastmod>{:date('Y-m-d')}</lastmod>
@@ -15,7 +15,7 @@
<lastmod>{:date('Y-m-d')}</lastmod> <lastmod>{:date('Y-m-d')}</lastmod>
</sitemap> </sitemap>
<!-- ...小说总数量/50000 得出 sitemap-books-catalog一共有多少个,每个小说只取一个目录链接,分页不需要加入去 --> <!-- TODO 小说总数量/50000 得出 sitemap-books-catalog一共有多少个,每个小说只取一个目录链接,分页不需要加入去 -->
<sitemap> <sitemap>
<loc>https://www.{$DomainModel->d_domain}/sitemap-books-catalog-1.xml</loc> <loc>https://www.{$DomainModel->d_domain}/sitemap-books-catalog-1.xml</loc>
<lastmod>{:date('Y-m-d')}</lastmod> <lastmod>{:date('Y-m-d')}</lastmod>