1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to strip html tags?

Discussion in 'Products & Tools' started by spring, Oct 30, 2006.

  1. #1
    Hello

    I've been looking for a tool that does this:

    strips all html tags on page and everything else actually and then makes a list with all the anchor texts from the page.

    I've found a windows app which does this perfectly and it's calle Happy Harvester but it's shareware and the price is too high for me - 80 euros.

    So I'm looking for recommendations for some other app or script that has that functionality.

    thx in advance

    K.
     
    spring, Oct 30, 2006 IP
  2. 3Xguru

    3Xguru Peon

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    3Xguru, Oct 31, 2006 IP
  3. PayItForward

    PayItForward Peon

    Messages:
    752
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could program this in PHP quite easily.

    The two key functions:

    file_get_contents("http://www.test.net");
    preg_match("/alt=\"([A-Za-z9-9])\"/")

    ^ missing lots of stuff, but enough to get you started if you were going to research it.
     
    PayItForward, Oct 31, 2006 IP