Solved

Text from webpage into a text file

Posted on 2004-04-29
5
165 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FMX StringGrid1->Canvas->FillRect Problem 3 128
Delphi selector screen 2 69
can't find the executable in Simulator 1 80
How to build JSON File in Delphi 6 3 13
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now