1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

$2.5 script. Really fast PHP job. Needs to extract URLs

Discussion in 'Hire a Freelancer' started by xthoms, Nov 21, 2010.

  1. xthoms

    xthoms Regular Member

    Joined:
    Sep 14, 2010
    Messages:
    280
    Likes Received:
    99
    What I'm looking for is a script that extracts URLs from HTML code and then echoes them in the format

    link 1
    link 2
    link 3


    I have a big code and I want to return all values that are put in between
    href=" and ">

    The code might look something like this

    Code:
     <html>
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 2</title>
    </head>
    
    <body>
    
    <p>13
    <a target="_blank" href="http://www.techfever.net/2010/06/the-integrated-technology-coffee-table-is-so-geeky-cool/">
    http://www.techfever.net/2010/06/the-integrated-technol.....</a>
    <a target="_blank" href="http://www.digpagerank.com/?url=http://www.techfever.net/2010/06/the-integrated-technology-coffee-table-is-so-geeky-cool/">
    (...)</a> 14
    <a target="_blank" href="http://seoblog.intrapromote.com/2009/11/social_media_ur.html">
    http://seoblog.intrapromote.com/2009/11/social_media_ur.html</a>
    <a target="_blank" href="http://www.digpagerank.com/?url=http://seoblog.intrapromote.com/2009/11/social_media_ur.html">
    (...)</a> 15
    <a target="_blank" href="http://www.techfever.net/2010/08/u-drive-memory-pen-reads-and-stores-your-writing-on-air/">
    http://www.techfever.net/2010/08/u-drive-memory-pen-rea.....</a>
    <a target="_blank" href="http://www.digpagerank.com/?url=http://www.techfever.net/2010/08/u-drive-memory-pen-reads-and-stores-your-writing-on-air/">
    (...)</a> 16
    <a target="_blank" href="http://www.techfever.net/2010/08/wife-discovers-husband-married-another-woman-on-facebook/">
    http://www.techfever.net/2010/08/wife-discovers-husband.....</a></p>
    
    </body>
    
    </html> 
    
    I think it's just setting up an html page where i insert the code, and a few PHP lines. The first to complete it will get paid. Send it to xthoms@hotmail.com, ill then test it nd see that it works and if it does ill send u the money immediately. remember to include ur paypal email

    EDIT: I also put it here http: //forums.digitalpoint.com/showthread.php?t=2007969#post15327369 so just make sure to check it so u dont write the code for nothing
     
    Last edited: Nov 21, 2010
  2. risefromdeath

    risefromdeath Power Member

    Joined:
    Jul 1, 2009
    Messages:
    650
    Likes Received:
    107
    are you kidding $2.5?
     
  3. paincake

    paincake Power Member

    Joined:
    Aug 18, 2010
    Messages:
    716
    Likes Received:
    3,099
    Home Page:
    Most likely this can be done with a simple regex, but he wasn't clear in his description, so I don't know what exactly he wants.

    Do you even realize how arrogant this sounds?
     
    • Thanks Thanks x 1
    Last edited: Nov 21, 2010
  4. xthoms

    xthoms Regular Member

    Joined:
    Sep 14, 2010
    Messages:
    280
    Likes Received:
    99
    I was told it's a really easy job and that I could get it done for $2-3.. How much are u willing to do it for?
     
  5. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,227
    Occupation:
    Retired
    Location:
    Old Peoples Home
    See your other thread - posted some code in there for you.

    Will send you PayPal address if you want to donate :D
     
  6. xthoms

    xthoms Regular Member

    Joined:
    Sep 14, 2010
    Messages:
    280
    Likes Received:
    99
    Please close this thread. I'm very satisfied with what I got out of it
     
  7. tutzor

    tutzor Registered Member

    Joined:
    Aug 13, 2008
    Messages:
    76
    Likes Received:
    9
    $2-$3 LOL, send me pm of what exactly needs to be done, I'll do it for free. I created Class Parser in PHP that works with Multi Curl. It can parse out any data from a single URL or multiple URL's at once with defined content elements....