By using the HPF algorithm,a web content adaptation PIK mechanism to replace traditional web service mechanism was designed. Then,apache web server software to implement a content adaptation PIK mechanism based on web content tree structure was updated.