Using http://drupal.org/project/special_menu_items, you can have special dummy menu items that link nowhere, just to use as parents for submenus, and also separator menu items.
It would be nice to be able to filter out those menus to not be included in the xml sitemap.

Comments

hedac’s picture

Title: filter out Special menu items from sitemap » filter out Special menu items from xml sitemap
Project: XML sitemap » Special menu items
Version: 6.x-2.x-dev » 6.x-1.x-dev
Component: xmlsitemap_menu.module » Code

oh sorry... I've seen you can override for each menu manually in XML sitemap for each menu. nice.
so moving this to special menu items...

the idea would be then that automatically detect if XML sitemkpa is installed and set the menu to be Excluded if the menu you create is a nolink or separator.

gagarine’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Nice idea. I will love to see a patch.

juampynr’s picture

Related case from Sitemap module that could be applied here too: #1349202: Allow other modules to modify the menu structure.