Usage

Extending a module (nothing to do if the module is already "isicsSitemapXMLPlugin compatible")

Each module who has to add urls to sitemap.xml must implements the sitemapGenerator interface.
The interface contains a generate() method to implement in a file named MODULENAME/lib/MODULENAMESitemapGenerator.class.php.

For instance, we take a news module.
In news module lib dir, we create the file newsSitemapGenerator.class.php: