Sitemap Module
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6
Back to this add-on's main page
View Other Add-ons From Brian Litzinger
Large sitemap support
General (Resolved)
spyro187
|
Posted: 06 November 2012 04:27 PM |
|
|
|
Does this module have a way to break sitemaps into sets when you have a very large sitemap?
For example: I have a channel with 200K entries and want each “sub” sitemap to be numbered and contain only 5K records each.
|
|
|
PutYourLightsOn
|
Posted: 07 November 2012 09:34 AM |
# 1
|
|
|
yes, it is described in the docs
|
|
|
spyro187
|
Posted: 07 November 2012 01:18 PM |
# 2
|
|
|
I did read through the document, I just couldn’t get a good feel for how it split up one channel into groups and how the template naming would come out.
It looks like if I had 200K records and I wanted to show them in 10K increments then I would have to manually create 20 sitemap templates. Which is what I am trying to prevent because for every 10K records I would have to remember to do it again.
|
|
|
PutYourLightsOn
|
Posted: 07 November 2012 02:34 PM |
# 3
|
|
|
you could try hooking it up to the segment variables but that is beyond the scope of this support fourm. this should give you the idea though:
{exp:sitemap:get start=”{segment_2}” limit=”{segment_3}”}
http://www.domain.com/sitemap/0/10000
http://www.domain.com/sitemap/10000/10000
http://www.domain.com/sitemap/20000/10000
...
|
|
|