Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BOT, retreiving data from public records on internet
Message
De
08/03/2006 10:06:08
 
 
À
08/03/2006 09:43:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01102273
Message ID:
01102424
Vues:
15
>Thanks for responding from halfway around the world. It is a governmental website and you provide a permit number for checking construction inspection status. It then provides information into a separate frame regarding the inspection process.
>
>It is that information I need to capture and provide reports to the developer. We build 1000 homes a year and there is a lot to keep track of.
>
>A typical building permit number is provided here for you to use: b05034954
>
>http://www.co.palm-beach.fl.us/pzb_inspections/pzb_inspection.htm
>
>Thanks very much in advance for your time.

John, the script on their website that gets called when you enter a building permit number and click submit is:

http://www.co.palm-beach.fl.us/pzb_inspections/PZB_Inspection_Main.asp

This script does not appear to accept parameters on the URL i.e. after the "..._Main.asp" as in "..._Main.asp?varName=Value". However you may want to check this with them. If you can pass a building permit number to this URL on the URL line then you can easily automate IE to get the return page and parse it.

If this cannot be done then you will have to POST to this url a dummy page with the fields that it wants which in the case of the building permit is avariable called "permit". You again would do this through IE automation and get back the results page and parse it.

If I remember correctly I did this POST thing once using the West Wind IP Stuff libary but cannot remember the details of how as it was a few years ago. You can check the West Wind website for the IP Stuff library and read the help file and download a trial. If was not very difficult iirc.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform