Question:
How Can I Extract Data From Html Page? ?
anonymous
2008-12-22 17:45:31 UTC
"I need to extract data from a web page (a html table) and then change the colors. The table structure to copy from is simple.So basically a php script needs to do the following….

1.open external web page
2.extract data from a table
3.change colors of the cells etc
4.display table on screen."
Three answers:
anonymous
2008-12-22 18:07:17 UTC
And by "how" you mean that you want us to write a program for you? If so, the answer is - no. Learn PHP, come back here with a specific question.
Mauri
2016-04-04 11:08:30 UTC
I think the only way to do it is create a program that suit your need. If you are going to do so, I recommend that you use perl (Active perl for windows), PHP (command line) or any scripting language that supports good text processing. If the library it shipped with supports DOM library and XPath, then you can use it to parse the downloaded HTML file into DOM and use XPath to find the node that contains the data you need and extract it or else, use regular expression instead.
Lei Y
2008-12-23 19:48:29 UTC
Hi.Jack



I know the Knowlesys Data Extractor can help you!



Check out :http://www.knowlesys.com/products/ .


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...