Hi Karedokx,
It works great.
Actually I had a look at the code and it is not so difficult to modify.
I am using another module "booklists", which is based on mylinks, so I adapted that one to sitemap as well:
Create a file booklists.php
<?php
// $Id: booklists.php,v 1.2 2005/01/14 18:54:37 Ryuji Exp $
// FILE :: booklists.php
// AUTHOR :: Ryuji AMANO <info@ryus.biz>
// WEB :: Ryu's Planning <http://ryus.biz/>
//
function b_sitemap_booklists(){
$xoopsDB =& Database::getInstance();
$block = sitemap_get_categoires_map($xoopsDB->prefix("mybooks_cat"), "cid", "pid", "title", "viewcat.php?cid=", "title");
//$block["path"] = "viewcat.php?cid=";
return $block;
}
?>