Solved

Script for importing data from a webpage

Posted on 2004-09-10
3
228 Views
Last Modified: 2010-04-27
Would like to import data from this webpage http://www.elia-artschools.org/links/members.htm ... into a fileMaker Pro 7 Database. The fields required are Name, Address, Country and website.

One example is as follows;

Name: Queensland University of Technology, Creative Industries Faculty
Address: Victoria Park Road, Kelvin Grove
Brisbane 3006
Country: Australia
Website: www.creativeindustries.qut.edu.au

a universal script for this kind of stuff, as it is done regularly for address retrieval.
0
Comment
Question by:_VAZ_
3 Comments
 
LVL 28

Accepted Solution

by:
lesouef earned 115 total points
ID: 12027615
The structure of the html file being regular, you can copy/paste the chart in an ascii file, import it in FM, and make a loop to flatten 4 lines of data into 1 to recuperate a record.

Create 4 global fields, name_tmp, address_tmp, toww_tmp, member_tmp

flattening script:

Goto first line,
loop
copy the name to name_tmp,
copy member to member_tmp,
delete this line,
copy the address to adress_tmp
delete again,
copy town to town_tmp
delete again
paste name_tmp to name, address_tmp to address, town_tmp to town, member_tmp to member
goto next (end of script at last)
end of loop

Before you do this, it might be worth trying to get the data from the back office of this site as this is probably kept in a database?
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

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

25 Experts available now in Live!

Get 1:1 Help Now