Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Script for importing data from a webpage

Posted on 2004-09-10
3
Medium Priority
?
244 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_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

730 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