• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Stealthauto
#1 Posted : Tuesday, August 5, 2008 9:28:09 AM(UTC)
Stealthauto

Rank: Member

Joined: 3/6/2006(UTC)
Posts: 52

Hi everyone-

I am trying to fix a bug where there are extra " added to my HTML when I import a product. This even happens when I export the product, make NO CHANGES, and then re-import it. This is makign it very difficult to take advantage of the Import/Export tool, because I have to go into EVERY product I import and fix it in my site. Here is what is going on:

I import this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Untitled Document</title></head><body><table width="550" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="http://www.stealthauto.com/Images/products/300C/reflectorsAB.gif"></td> </tr> <tr> <td><p>&nbsp;</p> <p align="justify">NEW PRODUCT ANNOUNCEMENT!!!</p> <p align="justify">We have just received a shipment of clear side-markers for the 300C that look awesome! They eliminate the ugly orange blocks that give your car a stock look. With the addition of our Stealth Bulbs and clear side markers, your vehicle will have a crystal clear front end and no remnants of the unsightly OEM amber color to ruin the look of your front end. </p></td> </tr> <tr> <td><p>&nbsp;</p> <p><img src="http://www.stealthauto.com/Images/products/300C/300Csidesbeforeafter.gif"></p></td> </tr></table></body></html>

And BV turns it into this:

"<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.01 Transitional//EN""""http://www.w3.org/TR/html4/loose.dtd""><html><head><meta http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-1""><title>Untitled Document</title></head><body><table width=""550"" border=""0"" cellspacing=""0"" cellpadding=""0""> <tr> <td><img src=""http://www.stealthauto.com/images%5CProducts%5C300C%5CreflectorsAB.gif""></td> </tr> <tr> <td><p>&nbsp;</p> <p align=""justify"">NEW PRODUCT ANNOUNCEMENT!!!</p> <p align=""justify"">We have just received a shipment of clear side-markers for the 300C that look awesome! They eliminate the ugly orange blocks that give your car a stock look. With the addition of our Stealth Bulbs and clear side markers, your vehicle will have a crystal clear front end and no remnants of the unsightly OEM amber color to ruin the look of your front end. </p></td> </tr> <tr> <td><p>&nbsp;</p> <p><img src=""http://www.stealthauto.com/images%5CProducts%5C300C%5C300Csidesbeforeafter.gif""></p></td> </tr></table></body></html>"

I really need this fixed. ANY HELP WILL BE GREATLY APPRECIATED!!!!


If I need to pay to get this done, please send me a bid. Thanks!

-Todd
Matt@9BallDesign
#2 Posted : Tuesday, August 5, 2008 10:52:20 AM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

First thing you need to do is remove all the duplicate HTML code.

THIS:

[color=red>&lt;!DOCTYPE]&lt;table width="550" border="0" cellspacing="0" cellpadding="0"&gt; &lt;tr&gt; &lt;td&gt;&lt;img src="http://www.stealthauto.com/Images/products/300C/reflectorsAB.gif"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;p&gt; &lt;/p&gt; &lt;p align="justify"&gt;NEW PRODUCT ANNOUNCEMENT!!!&lt;/p&gt; &lt;p align="justify"&gt;We have just received a shipment of clear side-markers for the 300C that look awesome! They eliminate the ugly orange blocks that give your car a stock look. With the addition of our Stealth Bulbs and clear side markers, your vehicle will have a crystal clear front end and no remnants of the unsightly OEM amber color to ruin the look of your front end. &lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;img src="http://www.stealthauto.com/Images/products/300C/300Csidesbeforeafter.gif"&gt;&lt;/p&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;<FONT color=red>&lt;/body&gt;&lt;/html&gt;[/color]

Should be this: (Delete the red stuff)

&lt;table width="550" border="0" cellspacing="0" cellpadding="0"&gt; &lt;tr&gt; &lt;td&gt;&lt;img src="http://www.stealthauto.com/Images/products/300C/reflectorsAB.gif"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;p&gt; &lt;/p&gt; &lt;p align="justify"&gt;NEW PRODUCT ANNOUNCEMENT!!!&lt;/p&gt; &lt;p align="justify"&gt;We have just received a shipment of clear side-markers for the 300C that look awesome! They eliminate the ugly orange blocks that give your car a stock look. With the addition of our Stealth Bulbs and clear side markers, your vehicle will have a crystal clear front end and no remnants of the unsightly OEM amber color to ruin the look of your front end. &lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;img src="http://www.stealthauto.com/Images/products/300C/300Csidesbeforeafter.gif"&gt;&lt;/p&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;

Then run a SQL Find and Replace on the product's long description.

Find ""

Replace with "

I tap Resposio.com to run this F&amp;R for me as they host all of my clients.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012