Solved

Script for importing data from a webpage

Posted on 2004-09-10
3
226 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
FM - Mouse Scroll 3 518
audit trail 6 157
Filemaker Server 14 - Webdirect NAT access 8 79
hidden filemaker data 1 140
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…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

12 Experts available now in Live!

Get 1:1 Help Now