Solved

Script for importing data from a webpage

Posted on 2004-09-10
3
236 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 Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Title # Comments Views Activity
FM 13 Get Field Name Comments 1 282
FM - Sorting Titles 5 71
Filemaker Go 14 - Database Sync 4 344
filemaker server 3 44
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…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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