I’d like to ask you a question: there are a lot of web sites made in static HTML. Sooner or later HTML sites are to be converted in PHP/MySQL, but the operation is very expensive since it is to be done manually or with the usage of ad hoc written software.
I’ve an idea to make an universal software to convert html pages into templates and database…
It’s really easy: it’s enough to compare two HTML files and make one regular expression that matches them. Then you refine that regular expression to match a group of files.
Example.
First file
<html>1</html>
Second file
<html>2</html>
Reg exp = <html>\d</html>
Third file
<html></html>
Reg exp = <html>\d?</html>
Fourth file
<html>11</html>
Reg exp = <html>\d(0,2)</html>
Fifth file
<html>error</html>
Reg exp = <html>.*</html>
Since this program would be inique and incredibly useful I think it would have a market. What do u think about that?