Writing XML Sitemap add-on modules
Last modified: June 15, 2008 - 06:11
XML Sitemap is designed to be extended by external modules. If you need capabilities which are not provided by existing modules, you can add them to your own module.
You can
- view a complete list of functions provided by XML Sitemap modules in the API documentation.
- add your own links to the site map with hook_xmlsitemap_links(). You can also use this hook to add site maps generated by other modules to the site map index.
- add support for other search engines with hook_xmlsitemap_engines().
If your module’s only purpose is to extend XML Sitemap, you should observe the following coding standards:
- Start the name of your module with XML Sitemap: .
- Include
package = XML Sitemapin your .info file.
