Computing.Net > Forums > Programming > How to import data from a webpage

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to import data from a webpage

Reply to Message Icon

Name: Albatros
Date: December 3, 2003 at 21:54:19 Pacific
OS: Win XP
CPU/Ram: P III/500M
Comment:

I need to import data from a webpage into excel spreadsheet. Currently I cut and paste but this very tedious and formating the data to fit into spreadsheet is a hell lot of trouble. I 've heard about XML, but I'm not sure if I can use it to extract data into my spreadsheet(since this can only be done on a web server running the webpage). I need a solution that would enable me accomplish this task, be it XML or any other program.

Thank you in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: SN
Date: December 3, 2003 at 22:50:04 Pacific
Reply:

I don't think XML is what you need here...What is the website? We'll have to see it to give you any meaningful advice.
-SN


0

Response Number 2
Name: anonproxy
Date: December 4, 2003 at 11:32:30 Pacific
Reply:

XML would be ideal (i.e. best way to go). Involving a half-baked XML solution probably will not do anything for you. You really need the webpage to conform to your schema for XML to be of any real benefit. Even then, you need an intermediate process (unless MSOffice has a native import for XML - then maybe use an MS template for the webpage).

It will all boil down to some script somewhere, packaged or otherwise. Someone else would recommend Visual Basic at this point.

The second best way, is to format the webpage in xls (or at least prepare it). Even better is to do this straight from the database with a query. Like so. Conveniently, this recent tutorial is right here for you to follow. It goes into the process. A setup of PHP/MySQL/Apache is very standard and the simplest kind of overhead. The hardest part is filling the database (make a script to insert data - find this somewhere online) and playing with the output.

The data of course does not have to come from a database. It could be straight HTML from another file (example).

The ASP way.

A commerical conversion tool.



0

Response Number 3
Name: santa
Date: December 4, 2003 at 16:44:52 Pacific
Reply:

anonproxy does a great job helping out our poor souls. :-D

Albatros, you could also give sockets a shot. but seems anonproxy has very nice how-to links handy to do it the ways he mentioned. (:


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: How to import data from a webpage

Send data from a drop down to mysql www.computing.net/answers/programming/send-data-from-a-drop-down-to-mysql/17273.html

Reading data from a sound card www.computing.net/answers/programming/reading-data-from-a-sound-card/15506.html

How to write a Virtual com port www.computing.net/answers/programming/how-to-write-a-virtual-com-port/10726.html