Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Location
    Rosebud, Victoria, Australia
    Posts
    310
    Plugin Contributions
    2

    Default Product Description HTML Validation

    <p>
    G&#39;day,</p>
    <p>
    Has anyone come up with an easy way to check product descriptions for correct HTML validation? When people new to HTML add products, HTML validation errors creep in. It would be great to have a way to check for this.</p>
    <p>
    Best regards, Lloyd Borrett.</p>
    Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

  2. #2
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Product Description HTML Validation

    Quote Originally Posted by lloyd_borrett View Post
    <p>
    G'day,</p>
    <p>
    Has anyone come up with an easy way to check product descriptions for correct HTML validation? When people new to HTML add products, HTML validation errors creep in. It would be great to have a way to check for this.</p>
    <p>
    Best regards, Lloyd Borrett.</p>
    I hand code and use FireFox with Developers Tools (and others) extension to check page validity.

    btw: Time to update, 1.3.5 is ancient

  3. #3
    Join Date
    Mar 2006
    Location
    Rosebud, Victoria, Australia
    Posts
    310
    Plugin Contributions
    2

    Default Re: Product Description HTML Validation

    G&#39;day, I run a Zen Cart based ecommerce business where five different people edit the products. Most of the others aren&#39;t as aware of HTML rules and don&#39;t check HTML validation properly. So I&#39;m after a way to just automatically check on the validity of what&#39;s in the database rather than 2500+ full product pages. Obviously the same solution should also be able to be used on other appropriate table values, but that&#39;s not essential. Best regards, Lloyd Borrett.
    Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

  4. #4
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,829
    Plugin Contributions
    31

    Default Re: Product Description HTML Validation

    While you could spend a lot of time to devise a way to automatically check all these pages, you'll still have to fix them one at a time.
    So you may as well view and fix them one at a time.

    If you have products that are similar ie use the same descriptions you could use boilerplate text where the description is defined in a constant and the constant is used in the description ie WIDGETS_COMMON
    so reducing potential errors.

    Or, maybe you could export all the descriptions and create some macro to check for balanced tags. Much easier to fix the text in a spreadsheet and re-import it.

    Or, you could/should enforce responsibility on those who write the descriptions that they check their own work, it's not that difficult to understand html.

    I write all complicated html descriptions in Dreamweaver on a static page to get it valid before using it.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

 

 

Similar Threads

  1. Replies: 8
    Last Post: 21 Jul 2010, 07:25 PM
  2. Product description in product more info in html format but not in product listing?
    By this side up in forum Customization from the Admin
    Replies: 1
    Last Post: 18 Dec 2006, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg