Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Script for importing data from a webpage

Posted on 2004-09-10
3
Medium Priority
?
245 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_
1 Comment
 
LVL 28

Accepted Solution

by:
lesouef earned 460 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

877 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