testhtmlparser.php - example of using
rebuildgrammar.php - grammar compiler
htmlgrammar.dat - grammar
htmlgrammar.cmp - compiled grammar
test.html - html file for test the html parser
common.inc - additional functions
imgsrcchange.inc - this example shows how to change src parameter for all img tags.
Setup is very simple. You need copy all files into someone catalog on
your web server and after this call http://..../testhtmlparser.php
As result you will have start page of Russian PHPClub site which placed into the test.html file.
This page was formed by tag's tree after parse process. Bellow you can see
printed tag's tree.
All questions you can send to
anton@concord.ru
or by ICQ
3180528