Html parsing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nicolaux

    Html parsing

    Hi i need a script to parse an html page.
    Example:
    index.php

    I've got to read all the lines and when i find a href="" or a mail
    address like asdfdasfadsf@as dfadsfdas.com i need to store this in a
    database.


    Thanks
    Nicola

  • ZeldorBlat

    #2
    Re: Html parsing


    nicolaux wrote:
    Hi i need a script to parse an html page.
    Example:
    index.php
    >
    I've got to read all the lines and when i find a href="" or a mail
    address like asdfdasfadsf@as dfadsfdas.com i need to store this in a
    database.
    >
    >
    Thanks
    Nicola
    <http://www.google.com/search?q=html+e xtract+urls>

    Comment

    • Michael Austin

      #3
      Re: Html parsing

      ZeldorBlat wrote:
      nicolaux wrote:
      >
      >>Hi i need a script to parse an html page.
      >>Example:
      >>index.php
      >>
      >>I've got to read all the lines and when i find a href="" or a mail
      >>address like asdfdasfadsf@as dfadsfdas.com i need to store this in a
      >>database.
      >>
      >>
      >>Thanks
      >>Nicola
      >
      >
      <http://www.google.com/search?q=html+e xtract+urls>
      >

      hmmmm.. sounds like yas.

      --

      Comment

      Working...