473,327 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Retrieving information from website

Hi

I have a very basic question regd retrieving information from website using
a scripting language:

Basically I am working on the development of a database where a user enters
an address (street, city, state, zipcode). Based on the user input of the
address, I need to dynamically determine the latitude and longitude of that
address from the internet. One such website was :
http://stevemorse.org/jcal/latlon.php where we enter the street, city, state
and zipcode etc and the webpage returns the latitude and longitude.

I need to retrieve this information and update the database accordingly. My
question is: Should this retrieval be done using Perl or Php or thru any
other language ? What wd be the best way to incorporate this into my Java
application ? Any help/hints wd be appreciated ! Thanks
Jul 28 '06 #1
3 2441
"Navodit" <ka******@uiuc.eduwrote:
Hi

I have a very basic question regd retrieving information from website
using a scripting language:

Basically I am working on the development of a database where a user
enters an address (street, city, state, zipcode). Based on the user
input of the address, I need to dynamically determine the latitude and
longitude of that address from the internet. One such website was :
http://stevemorse.org/jcal/latlon.php where we enter the street, city,
state and zipcode etc and the webpage returns the latitude and
longitude.
How often is this going to happen, and does the owner of the site allow
you to do repeated automatic requests?
I need to retrieve this information and update the database
accordingly. My question is: Should this retrieval be done using Perl
or Php or thru any other language ? What wd be the best way to
incorporate this into my Java application ? Any help/hints wd be
appreciated ! Thanks
IMO, if you are using Java, use Java. Otherwise you end up calling a
Perl/PHP program from Java, and processing the result of such a program.

--
John Bokma Freelance software developer
&
Experienced Perl programmer: http://castleamber.com/
Jul 28 '06 #2
On 07/28/2006 03:47 PM, Navodit wrote:
Hi

I have a very basic question regd retrieving information
from website using a scripting language:

Basically I am working on the development of a database
where a user enters an address (street, city, state,
zipcode). Based on the user input of the address, I need to
dynamically determine the latitude and longitude of that
address from the internet. One such website was :
http://stevemorse.org/jcal/latlon.php where we enter the
street, city, state and zipcode etc and the webpage returns
the latitude and longitude.

I need to retrieve this information and update the database
accordingly. My question is: Should this retrieval be done
using Perl or Php or thru any other language ? What wd be
the best way to incorporate this into my Java application ?
Any help/hints wd be appreciated ! Thanks

Either PHP or Perl will do. With Perl you'll find the LWP::*
and WWW::Mechanize modules useful.
Jul 28 '06 #3
John Bokma wrote:
"Navodit" <ka******@uiuc.eduwrote:

>>Hi

I have a very basic question regd retrieving information from website
using a scripting language:

Basically I am working on the development of a database where a user
enters an address (street, city, state, zipcode). Based on the user
input of the address, I need to dynamically determine the latitude and
longitude of that address from the internet. One such website was :
http://stevemorse.org/jcal/latlon.php where we enter the street, city,
state and zipcode etc and the webpage returns the latitude and
longitude.


How often is this going to happen, and does the owner of the site allow
you to do repeated automatic requests?
http://geocoder.us/ is another source. They take SOAP, and are
Perl-friendly (it's a one-liner using SOAP::Lite, once you have
instantiated the SOAP::Lite object). You need to pay them some money if
you are using it for commercail purposes. Personal use is free.

But I agree with John - if you're using Java use Java, which is
advertised as being wonderful for web apps. Of course the fine print in
the book I read said that if you were doing a "POST" you were on your own.

Tom Wyant
Jul 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Eric | last post by:
I'm using Linux - Manriva LE2005, python 2.3 (or i can also use python 2.4 on my other system just as well). Anyways... I want to get a web page containing my stock grants. The initial page is an...
2
by: Sakke | last post by:
Hello! We have written a GCryptoSvr.dll COM server in C++. Inside that resides WebClient COM component. WebClient CLSID is {8DC27D48-F94C-434B-A509-C3E1A3E75B9E}. When we are using that...
1
by: Captain Dondo | last post by:
I am not really experienced in Javascript so bear with me.... I am working with an embedded platform; no mouse, no keyboard. Just up, down, left, right keys and +/- keys for...
3
by: Navodit | last post by:
Hi I have a problem in which I am not sure if Javascript can or should be used. If anyone can throw light on this it wd be great : Basically I am working on the development of a database where...
3
by: Harish | last post by:
I am buiding an application in ASP.Net 2.0 with C#. After installing corel wordperfect i am adding the reference into the application. Afetr adding reference interop.wordperfect.dll is added to the...
1
by: jimmyfo | last post by:
Hi, I recently wrote an ASP.Net web application in VS2005 and published (using VS2005 Publish feature) it to a relatively clean machine with ASP.Net 2.0 and MDAC 2.8 installed on it. However, when...
0
by: bertkuiken | last post by:
I'm new to .net and c# but have done this before at j2ee and php. All i want is to post a xml file as a string from an external website and retrieve it from the postdata at my c# programming code....
5
by: Randy Smith | last post by:
Hi ALL, I wonder if anyone has been using n-tier to bind to a GridView control by using the ObjectDataSource. This is our first OOP web application, and we have no tables. Right now we are...
4
AaronL
by: AaronL | last post by:
Hello again, First I want to say thank you to all of you that have helped me in the past with all of my questions. I have gotten far in PHP and MySQL in the past two weeks. I designed a site...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.