Solved

Text from webpage into a text file

Posted on 2004-04-29
5
168 Views
Last Modified: 2010-04-05
How to get certain columns of text from a webpage into a text file?
Let says my webpage have a table of numeric data, I want to capture those numbers into a text file. How can i do that?
0
Comment
Question by:cybermilky
  • 3
5 Comments
 
LVL 7

Expert Comment

by:sftweng
ID: 10956609
Well, one way would be to strip out all HTML tags by deleting everything between "<" and ">". But that would destroy the formatting. How much of the structure (formatting) do you want to keep?
0
 
LVL 1

Author Comment

by:cybermilky
ID: 10956805
After getting all the data from the table, the format for the text file can be kept as below:

A0001     040430     931.0   939.0   927.0   936.0   988   3396
D0002     040430     944.5   949.8   937.0   945.0     48    362
C0003     040430     982.3   982.3   970.0   970.0       4     33

0
 
LVL 3

Accepted Solution

by:
Kunfufaresi earned 40 total points
ID: 10958669
Hello,

Take a look at

http://www.euromind.com/iedelphi/uilessparser/ieparser.htm

for parsing html pages. It has lots of functions

from site it says

MSHTML is in IEParser used as the "engine" in a HTML-parser component.
Drop the component on a form. Set URL-property and run function execute.
Enjoy!
 
Kunfu Faresi
0
 
LVL 1

Author Comment

by:cybermilky
ID: 10992772
Other than using IEParser, any other options to do this?
0
 
LVL 1

Author Comment

by:cybermilky
ID: 11011452
Hi Kunfufaresi,

after i download the ieparser component, how do i install and use it?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question