Buying Simple URL Extraction PHP Script

Discussion in 'Programming' started by BandonFlyer, Dec 11, 2010.

  1. #1
    Hi,

    This must be a single page PHP script - nothing complex, no other languages or platforms accepted.

    I need 24 hour turnaround on this. So please send me PM for your price to complete it within 24 hours.

    You write it and test it locally and show me that it is 100% functional, then payment will be may via PayPal (only) and you can send me the PHP script.

    I need a simple link extraction webpage that will do the following:

    Input: A big multi-line input box that I can paste a large amount of text into.
    Output: The output should be a second multiline text box on the same page with a single list of URLs - one per line, no leading or trailing spaces. There should not be duplicates in the output list.

    What it needs to do:

    1. Strip out *everything* except links.

    Specific requirements:

    1. The program must support scrapping URLS from regular text or from the "href=" attribute of an embedded <a> tag. It only needs to look for fully qualified links (meaning that they must start with http://, not just www.domain.com "references")
    2. The program must support spinning syntax. The sample content *may* have spun URLs and if that is the case, the program must
    a. Recognize the spun URLS
    b. Expand them to a list of all potential URLS
    3. The program must support two different spinning syntaxes - {a|b|c} or {a~b~c}

    Sample of what an embedded spun URL would look like:

    <a href="http://www.domain.com/cities/{eureka|redding|sacramento}.html">

    The program would have to recognize the {a|b|c} spinning embedded within the URL and output all three potential versions of these URLs in the scraped output list of URLS.

    PLEASE PM ME YOUR BID TO COMPLETE THIS PROJECT FOR ME WITHIN 24 HOURS.

    Here is a sample of text to be used to test your code:

    <p></p>This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. An example link is {<a href="http://www.xyz.com/albuquerque.html">Albuquerque</a>|<a href="http://www.xyz.com/las-cruces.html">Las Cruces</a>|<a href="http://www.xyz.com/rio-rancho.html">Rio Rancho</a>|<a href="http://www.xyz.com/santa-fe.html">Santa Fe</a>|<a href="http://www.xyz.com/roswell.html">Roswell</a>|<a href="http://www.xyz.com/farmington.html">Farmington</a>|<a href="http://www.xyz.com/south-valley.html">South Valley</a>|<a href="http://www.xyz.com/clovis.html">Clovis</a>}. This is just some sample text to be used to test if the linking works. </p>
    
    <p>This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. An example link is {<a href="http://www.xyz.com/{hobbs|las-cruces|gallup|raton|carlsbad}.html">city name</a>. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works.</p>
    
    <p>This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works. An example link is {<a href="http://www.xyz.com/{alamogordo~carlsbad~rio-rancho~santa-fe}.html">city name</a>. This is just some sample text to be used to test if the linking works. This is just some sample text to be used to test if the linking works.</p>
    
    Code (markup):
    This is the expected output from the above test code...

    http://www.xyz.com/albuquerque.html
    http://www.xyz.com/las-cruces.html
    http://www.xyz.com/rio-rancho.html
    http://www.xyz.com/santa-fe.html
    http://www.xyz.com/roswell.html
    http://www.xyz.com/farmington.html
    http://www.xyz.com/south-valley.html
    http://www.xyz.com/clovis.html
    http://www.xyz.com/hobbs.html
    http://www.xyz.com/gallup.html
    http://www.xyz.com/raton.html
    http://www.xyz.com/carlsbad.html
    http://www.xyz.com/alamogordo.html
    
    Code (markup):
     
    BandonFlyer, Dec 11, 2010 IP
  2. BandonFlyer

    BandonFlyer Member

    Messages:
    194
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #2
    This project has been awarded to: ankit_frenz

    Currently not accepting offers...

    Thanks
     
    BandonFlyer, Dec 11, 2010 IP
  3. mrphp

    mrphp Well-Known Member

    Messages:
    682
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    pm me if ever he cant finish.
     
    mrphp, Dec 12, 2010 IP