Importing from another script
I am trying to import listings from another script, but the formatting the other script uses is very weird (example below). What can I do to clean this up to plain text?
Beautiful+Stainless+Steel+Red+Dial+Rolex+Oysterdate+Precision+-+1972.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+watch+casing+has+no+dents%2C+dings+or+damage+at+all+and+is+generally+in+superb+condition.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+dial+is+also+superb+condition+with+no+blemishes%2C+marks+or+paint+issues+at+all.+The+acrylic+glass+again+is+in+perfect+condition+with+no+scratches+or+any+other+marks+at+all.%3Cbr+%2F%3E%3Cbr+%2F%3EThis+Superb+watch+has+a+very+striking+red+and+white+explorer+dial+which+has+been+set+with+luminous+hour+markers+and+hands.+This+watch+is+very+eye+catching+and+perfect+for+everyday+wear+or+just+for+special+occasions.+The+date+feature+is+situated+at+the+3+o%E2%80%99clock+position+and+is+turning+well+and+easy+to+read.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+Movement+on+this+watch+is+very+clean+and+is+triple+Rolex+signed+and+has+only+very+recently+%28at+the+start+of+febrary+2012%29+been+fully+serviced+oiled+and+greased.+The+crown+is+original+to+the+watch+and+signed+with+the+Rolex+coronet.%3Cbr+%2F%3E%3Cbr+%2F%3EIf+you+wish+to+discuss+this+watch+%28or+any+of+our+other+items%29+over+the+phone+please+feel+free+to+call+Jamie+on+either+0203+4631+557+or+07824+566+575%3Cbr+%2F%3E
<?php echo '<textarea rows=10 cols=50>'.urldecode("Beautiful+Stainless+Steel+Red+Dial+Rolex+Oysterdate+Precision+-+1972.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+watch+casing+has+no+dents%2C+dings+or+damage+at+all+and+is+generally+in+superb+condition.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+dial+is+also+superb+condition+with+no+blemishes%2C+marks+or+paint+issues+at+all.+The+acrylic+glass+again+is+in+perfect+condition+with+no+scratches+or+any+other+marks+at+all.%3Cbr+%2F%3E%3Cbr+%2F%3EThis+Superb+watch+has+a+very+striking+red+and+white+explorer+dial+which+has+been+set+with+luminous+hour+markers+and+hands.+This+watch+is+very+eye+catching+and+perfect+for+everyday+wear+or+just+for+special+occasions.+The+date+feature+is+situated+at+the+3+o%E2%80%99clock+position+and+is+turning+well+and+easy+to+read.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+Movement+on+this+watch+is+very+clean+and+is+triple+Rolex+signed+and+has+only+very+recently+%28at+the+start+of+febrary+2012%29+been+fully+serviced+oiled+and+greased.+The+crown+is+original+to+the+watch+and+signed+with+the+Rolex+coronet.%3Cbr+%2F%3E%3Cbr+%2F%3EIf+you+wish+to+discuss+this+watch+%28or+any+of+our+other+items%29+over+the+phone+please+feel+free+to+call+Jamie+on+either+0203+4631+557+or+07824+566+575%3Cbr+%2F%3E").'</textarea>'; ?>
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on Importing from another script
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
Posted Oct 28, 2012 - 1:44 PM:
I am trying to import listings from another script, but the formatting the other script uses is very weird (example below). What can I do to clean this up to plain text?
Beautiful+Stainless+Steel+Red+Dial+Rolex+Oysterdate+Precision+-+1972.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+watch+casing+has+no+dents%2C+dings+or+damage+at+all+and+is+generally+in+superb+condition.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+dial+is+also+superb+condition+with+no+blemishes%2C+marks+or+paint+issues+at+all.+The+acrylic+glass+again+is+in+perfect+condition+with+no+scratches+or+any+other+marks+at+all.%3Cbr+%2F%3E%3Cbr+%2F%3EThis+Superb+watch+has+a+very+striking+red+and+white+explorer+dial+which+has+been+set+with+luminous+hour+markers+and+hands.+This+watch+is+very+eye+catching+and+perfect+for+everyday+wear+or+just+for+special+occasions.+The+date+feature+is+situated+at+the+3+o%E2%80%99clock+position+and+is+turning+well+and+easy+to+read.%3Cbr+%2F%3E%3Cbr+%2F%3EThe+Movement+on+this+watch+is+very+clean+and+is+triple+Rolex+signed+and+has+only+very+recently+%28at+the+start+of+febrary+2012%29+been+fully+serviced+oiled+and+greased.+The+crown+is+original+to+the+watch+and+signed+with+the+Rolex+coronet.%3Cbr+%2F%3E%3Cbr+%2F%3EIf+you+wish+to+discuss+this+watch+%28or+any+of+our+other+items%29+over+the+phone+please+feel+free+to+call+Jamie+on+either+0203+4631+557+or+07824+566+575%3Cbr+%2F%3E
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Loosk like it's urlencode()ed. See what you get running this simple script: