Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

Converting html to text

Discussion in 'Programming' started by tb987, Mar 13, 2008.

  1. tb987

    tb987 New Member Webmaster

    I have created quite a simple php ebay affiliate script based on the ones that ebay provide. It pulls down search results and item details, but I am struggling to convert the crap that is returned in some of the the descriptions to plain text. I currently use strip_tags but it doesn't work with a lot of the embedded content that powersellers use

    Any ideas? Thanks in advance
  2. smeagain

    smeagain Distinguished Member Webmaster

    What an interesting project
    If you feel so inclined, I would like to share the result of this when you solve it.
  3. tb987

    tb987 New Member Webmaster

    I have it working already see Find on Ebay and strip_tags is fine for most descriptions it is just the powerseller ones full of javascript that mess it up. I want to work out how to pull down the images into the search results too.
    Last edited by a moderator: Mar 14, 2008

Featured Resources (View All)

Share This Page