Unable to exclude content types from contrib modules
modulist - October 12, 2009 - 20:41
| Project: | XML sitemap |
| Version: | 6.x-1.0-rc2 |
| Component: | xmlsitemap.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
If you're using the Advertisement module. XML sitemap wants to include all ad_daily_content.
The same is true of the microblog module.
There should be a way to set up which content types are included and excluded directly form the XML sitemap module, instead of trolling through each content type separately.

#1
#2
It's not likely that we will ever put a list of content types and their xml sitemap setting options in one place. Because when those changes are made there is the possibility of some large SQL updates on the existing data need to be made. You might be interested in the 6.x-2.x version which at least puts all the information in one place and directly links to the node/menu/taxonomy edit pages. See sandbox.davereid.net for a demo site with access to administer xmlsitemap.
#3
Are the module weights of these modules after xmlsitemap? Use the Utility module to adjust xmlsitemap modules after these.
#4
Thanks for addressing this issue quickly. We are concerned about having to exclude nodes of a certain content type node by node, particularly when they're ads or other content that's not managed through CCK.
Is there a patch or a function that we could run on our end?
#5
On the content type edit page you can select the default for the xmlsitemap to be "Not in sitemap" and any new nodes created automatically would not be included. You may need to adjust the module weights for programmatic node content. Is this what you are looking for?
#6
The ability to exclude or include by node type (on admin/content/my-type/edit) or individual nodes (on node/nid/edit) is already in the module.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.