I have no idea about web design. lol.
What kind of / Which Programming language can aid me sieve data of a webpage ?
I mean, suppose there is a WebPage X , if I want to select certain lines of it containing certain terms... how do I go about that ?
I have knowledge of C/C++.
Did I make my self clear enuff ?
Thanks for your help.

11 Years
Discussion Span
Last Post by alienlinux

Perl is a good language for isolating and extracting data from formatted text (i.e. (X)HTML). Some parts of Perl are like C++, most of it isn't; but it's easy to grasp.

XSLT can be used to extract and present data from well-formed XML (i.e. XHTML), but it is very 'strict' with regard to input, and somewhat constrained with regard to output.

Sieving data, as you put it, isn't really webdesign; but both of those languages can be used to generate pages and manage websites aswell.. It depends to a great extent on what you're trying to do overall.


i would agree with pearl, i believe it should be in every admins toolkit.
as a side note, as you allready know C/C++, you might want to try using system(); (man 2 system) to call external programs such as sed and awk, the text manipulation programs :)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.