473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

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 2117
<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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Chung Leong | last post by:
My contribution to the comp.lang.php FAQ: ------------------------------------------------------------- Q: How do I retrieve a page from a web site? A: Pass a URL to file() or...
5
by: David Rasmussen | last post by:
Some sites seem to be session driven in the sense that if I visit the homepage and do a few clicks I can navigate anywhere I want, but if I paste the current location into a new browser window...
5
by: Vanessa | last post by:
I have a question, is that any other way to retrieve data from another webpage besides using XML object? Because I am using XML object now but give me so much problems. If I used...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
13
by: kev | last post by:
Hi all, I have created a database for equipments. I have a form to register the equipment meaning filling in all the particulars (ID, serial, type, location etc). I have two buttons at the end...
3
by: Alfred | last post by:
I want to post text field data from these HTML TEXTAREA tags to a PostgreSQL database and have it reappear back on another page exactly as I had typed it. Over the years I have done this but only...
4
by: Harry | last post by:
Hi Guys I dont really know how to do this: if there are a page of others, some data are embedded inside the data array like this: <script language="JavaScript" type="text/javascript"> <!-- var...
12
lifeisgreat20009
by: lifeisgreat20009 | last post by:
I am a newbie to Struts and JSP...I have been working on the code below for 5 hours now..I googled a lot but couldn't get much help so finally I am here.. Hoping of getting my problem solved. Please...
9
by: gavy7210 | last post by:
hello friends i am new to struts. i want to add the user information in the database and then display it back to him. i am using struts 1.2,Eclipse Platform Version: 3.4.2,mySql 5.0.1,jdk...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.