Thread:Extension talk:CategoryTree/How can I get CategoryTree to work for html pages?

I use dumpHTML to convert my wiki to html pages and I would like to have this extension work after I convert. I love this feature, so is there a way to alter the code of CategoryTree or dumpHTML so that it will work in an html page? If not, can this be approached by just simply altering the html source so it will have a similar feature?