hey,
In short, im looking to build a script that will 'parse' markup languages - more specifically, wml and (x)html.
By 'parse', I mean that it will hunt through any given source code and then split it into individual tags.
This is where I've hit a roadblock in productivity, however; I'm somewhat unfamiliar with regexp and perhaps I'm missing the 'correct' search terms but google searches for similar projects over the past week have been so far unfruitful.
I do not want the script to be made for me, instead I would like help/guidance on where to begin and what pitfalls I should avoid. If someone feels like they want a challenge or has a script readymade they would like to share, I won't say no to it, but I'd rather learn how to do it myself
.
Thanks,
Kwah =]
btw..
The 'long' background is that I'm building a file-editing program so that I can (using PHP & FTP) manage and edit files in a given directory.
After the file has been selected, it should show a list of each tag very similarly to how wen.ru does it, but I'm going to take it slightly further in a way that I'm not going to release just yet
In short, im looking to build a script that will 'parse' markup languages - more specifically, wml and (x)html.
By 'parse', I mean that it will hunt through any given source code and then split it into individual tags.
This is where I've hit a roadblock in productivity, however; I'm somewhat unfamiliar with regexp and perhaps I'm missing the 'correct' search terms but google searches for similar projects over the past week have been so far unfruitful.
I do not want the script to be made for me, instead I would like help/guidance on where to begin and what pitfalls I should avoid. If someone feels like they want a challenge or has a script readymade they would like to share, I won't say no to it, but I'd rather learn how to do it myself
Thanks,
Kwah =]
btw..
The 'long' background is that I'm building a file-editing program so that I can (using PHP & FTP) manage and edit files in a given directory.
After the file has been selected, it should show a list of each tag very similarly to how wen.ru does it, but I'm going to take it slightly further in a way that I'm not going to release just yet
Comment