Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi Meisamhe,

Welcome!

I'm going to be presumptuous, and assume that you mean one of two things: having a form on your web site, which has contact information that you want to then get locally, or having a spider-like thing that extracts specific kinds of data (addresses, phone numbers, email) from many websites. If you are talking about the latter, I can't help too much, because I haven't done that sort of thing (although I could pretty easily figure out how - but I'm sure many monks around here would be better).

If it's the former:
What you need in that instance, is a CGI script (there are a few out there, but they aren't hard to write either - that's how I started on the perl journey) that takes data from the form, and, say, either drops it into a file (maybe delimited) or emails it to you? Is that what you have in mind? With the CGI module, it's a very easy sort of script to write, and I could certainly post mine, if you are interested.


In reply to Re: how do I extract contact data from websites? by michellem
in thread how do I extract contact data from websites? by Meisamhe

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2024-04-25 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found