plainblack.com
Username Password
search
Bookmark and Share
Optionally include hidden pages in sitemap.xml  (#11044)
Issue

The default behavior of the SiteIndex.pm content handler is to include all page layouts into the sitemap.xml output. Some users may not want non-navigable pages to be included in the index. On the other hand, it may be helpful to show all the layouts in a site whether they appear in a navigation or not.


I think a switch in the conf file would allow the user to select the setting they'd prefer. Personally, I think the default should be to hide pages that aren't available for navigation (as does Colin).

Solution Summary
Comments
JT
0
10/14/2009 2:48 pm
approved
knowmad
0
10/14/2009 4:02 pm
If the default setting is also approved then it should be listed as a Gotcha as it will change the current behavior of the sitemap.xml output.
JT
0
10/14/2009 4:15 pm
So noted.
dionak
0
1/7/2010 5:09 pm
Where would this option live in the conf file? I'm inclined to think there should be a section for SiteIndex just to keep the conf organized. There may be more options later (e.g. default priority for urls).
dionak
0
1/7/2010 5:12 pm
I
dionak
0
1/7/2010 5:13 pm
I propose the following for the conf file.

  "siteIndex" : {
       "showHiddenPages" : 0
  }
perlDreamer
0
1/27/2010 1:30 pm
Added to 7.8.11 (ca86f3d)
Added to 7.7.32 (16b57b1)
Details
Ticket Status Resolved  
Rating0.0 
Submitted By knowmad  
Date Submitted2009-09-25 
Assigned To unassigned  
Date Assigned 2019-08-25  
Assigned By  
What to improve? WebGUI 7 Stable  
URLrfe/request-for-enhancement/11044
Karma
Difficulty 1  
Karma So Far0
Karma Rank0.00
Keywords
Ticket History
1/27/2010
7:30 PM
Resolved perlDreamer
9/25/2009
8:29 PM
Ticket created knowmad
© 2019 Plain Black Corporation | All Rights Reserved