469,275 Members | 1,718 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

retrieve data from HTML page and process it in C

Hi,

Happy new Year...

i need to retrieve the data from the web server which is developed
using HTML and i need to process those data in c but i should not use
any CGIs.

Can anybody help me in this.

regards,
karthiga

Jan 6 '07 #1
3 1940
<ka*******@gmail.comwrote in message
news:11**********************@s80g2000cwa.googlegr oups.com...
>
i need to retrieve the data from the web server which is developed
using HTML
A web server developed in HTML. That may be computing history.
and i need to process those data in c but i should not use
any CGIs.
I also need to water my lawn, but I may not use water.
Can anybody help me in this.
Based on what I've read so far, you need more help than I can give.
Jan 7 '07 #2
>A web server developed in HTML. That may be computing history.
:D

It depends really on what you want to do. "Parse" is a dangerously
unspecific word, and its applications can range from the trivial to the
obscure.
How to get the data from the server: well, you might like to play with
sockets, open a connection to the server, then download the html page,
then parse it. These things tend to be slightly more os-specific, but I
can help you along if you need to. I believe, however, that in your
application it may be simpler to use the output of wget.

"Parse": okay, do what you wish. But if you need to do too complicated
things, then maybe C is not the most suited...
no cgi's: by definition, cgi is simply a program. I am guessing that
what you mean is that the program cannot be hosted on that server (?).

F.

Jan 7 '07 #3
thanx for ur reply..

I am not doing any parsing here...
i need to retrieve data from web server, developed in HTML and process
that in c...

Is it possible to retrieve the data using snmp ie OID and MIS...
rgd,
karthiga

Franchie wrote:
A web server developed in HTML. That may be computing history.
:D

It depends really on what you want to do. "Parse" is a dangerously
unspecific word, and its applications can range from the trivial to the
obscure.
How to get the data from the server: well, you might like to play with
sockets, open a connection to the server, then download the html page,
then parse it. These things tend to be slightly more os-specific, but I
can help you along if you need to. I believe, however, that in your
application it may be simpler to use the output of wget.

"Parse": okay, do what you wish. But if you need to do too complicated
things, then maybe C is not the most suited...
no cgi's: by definition, cgi is simply a program. I am guessing that
what you mean is that the program cannot be hosted on that server (?).

F.
Jan 8 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Chung Leong | last post: by
5 posts views Thread by David Rasmussen | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.