[eluser]slowgary[/eluser]
You could use the _remap() method and break the URI up yourself. Something like this:
Code:
function _remap($method)
{
switch(stristr($method, '?', true)) //check everything before the '?' char
{
case 'categories.xml': xml(stristr($method, '?')); //pass everything after the '?' char
break;
case 'categories.php': php(stristr($method, '?')); //pass everything after the '?' char
break;
case 'categories.json': json(stristr($method, '?')); //pass everything after the '?' char
break;
}
}
I haven't tested that so pardon me if you try it and it blows up the whole world. Also, this could be expensive, I'm not really sure.