473,396 Members | 2,039 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,396 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 2116
<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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.