more horrible spaghetti in order to properly support publishing the index; refactoring badly needed
more horrible spaghetti in order to properly support publishing the index; refactoring badly needed

webplatform/publican,webspecs/publican