Retrieving information from website

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default 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 :
    [url]http://stevemorse.org/jcal/latlon.php[/url] 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


    Navodit Guest

  2. Similar Questions and Discussions

    1. Free Website Templates, Website Tools & Softwares
      Hi... You are desgining a website and finding it difficult. Dont worry.,Just login to http://www.monstertemplate.co.in, it is a website which gives...
    2. Cannot verifiy website information
      I enconter this error message when I have chosen the remote path of my web server and click next. What should I do?
    3. retrieving data from website
      hi there all, me again... is it possible if you know the layout of a web site, to retrieve data from it? i mean things like a weather site that...
    4. [PHP-DEV] retrieving information about state of a function
      Hi, I recognized there isn't any built-in function which tells the disabled/enabled state of some function. I think of something like: if...
    5. retrieving of numbers
      hello sir i have a text file which i have linked to access ,by using external data option in file menu and the text file is made as a table. ...
  3. #2

    Default Re: Retrieving information from website

    "Navodit" <kaushik2@uiuc.edu> 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 :
    > [url]http://stevemorse.org/jcal/latlon.php[/url] 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: [url]http://castleamber.com/[/url]
    John Bokma Guest

  4. #3

    Default Re: Retrieving information from website

    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 :
    > [url]http://stevemorse.org/jcal/latlon.php[/url] 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.
    Mumia W. Guest

  5. #4

    Default Re: Retrieving information from website

    John Bokma wrote:
    > "Navodit" <kaushik2@uiuc.edu> 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 :
    >>[url]http://stevemorse.org/jcal/latlon.php[/url] 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?
    >
    [url]http://geocoder.us/[/url] 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
    harryfmudd [AT] comcast [DOT] net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139