SMS dit: Graph-theoretic techniques for web content mining