Which Programming Language is suitbale for....

Reply

Join Date: May 2007
Posts: 62
Reputation: minigweek is on a distinguished road 
Solved Threads: 4
minigweek's Avatar
minigweek minigweek is offline Offline
Junior Poster in Training

Which Programming Language is suitbale for....

 
0
  #1
May 17th, 2007
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.
Regards
MiniGWeek.
I was born Genius, but some loser Leeched it.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Re: Which Programming Language is suitbale for....

 
0
  #2
May 17th, 2007
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.
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 91
Reputation: alienlinux is an unknown quantity at this point 
Solved Threads: 0
alienlinux's Avatar
alienlinux alienlinux is offline Offline
Junior Poster in Training

Re: Which Programming Language is suitbale for....

 
0
  #3
May 25th, 2007
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC