HTML error

  • Author
    Posts
  • #4016
    John

    Hi

    I am trying to add this code in order to add Rich Snippets to videos. using CR2 HTML Module, opencart version 1.5.4

    <div itemprop=”video” itemscope itemtype=”http://schema.org/VideoObject”&gt;
    <h2>Video: <span itemprop=”name”>Porcelain Angel Decorations</span></h2>
    <meta itemprop=”duration” content=”T1M01S” />
    <meta itemprop=”thumbnailUrl” content=”www.irishqualitygifts.com/image/data/Angel_of_joy.jpg” />
    <meta itemprop=”contentURL” content=”http://youtu.be/4Diymk8NcfM&#8221; />
    <meta itemprop=”embedURL” content=”http://youtu.be/4Diymk8NcfM&#8221; />
    <meta itemprop=”uploadDate” content=”2011-07-05T08:00:00+08:00″ />
    <meta itemprop=”height” content=”315″ />
    <meta itemprop=”width” content=”420″ />
    <object …>
    [youtube http://www.youtube.com/watch?v=4Diymk8NcfM?rel=0&amp;autoplay=1&amp;loop=1&amp;playlist=4Diymk8NcfM%5D
    </object>
    <center><span itemprop=”description”><span style=”font-size:14px;”><strong><span style=”color:#808080;”>See our full Range of Angel Decorations</span> <a href=”http://www.irishqualitygifts.com/Irish-Gifts/Nostalgia-Range”><span style=”font-size:16px;”><span style=”color: rgb(255, 0, 0);”>Buy Now</span></span></a></strong></span></span></center>
    </div>

     

    But when I save it I get this

    <div itemprop=”video” itemscope=”” itemtype=”http://schema.org/VideoObject”&gt;
    <h2>
    Video: <span itemprop=”name”>Porcelain Angel Decorations</span></h2>
    </div>
    <p>
    &nbsp;</p>
    <p>
    <meta content=”T1M01S” itemprop=”duration” />
    </p>
    <p>
    &nbsp;</p>
    <p>
    <meta content=”www.irishqualitygifts.com/image/data/Angel_of_joy.jpg” itemprop=”thumbnailUrl” />
    </p>
    <p>
    &nbsp;</p>
    <p>
    <meta content=”http://youtu.be/4Diymk8NcfM&#8221; itemprop=”contentURL” />
    </p>
    <p>
    &nbsp;</p>
    <p>
    <meta content=”http://youtu.be/4Diymk8NcfM&#8221; itemprop=”embedURL” />
    </p>
    <p>
    &nbsp;</p>
    <p>
    <meta content=”2011-07-05T08:00:00+08:00″ itemprop=”uploadDate” />
    </p>
    <p>
    &nbsp;</p>
    <p>
    <meta content=”315″ itemprop=”height” />
    </p>
    <p>
    &nbsp;</p>
    <p>
    <meta content=”420″ itemprop=”width” />
    <object …=””>[youtube http://www.youtube.com/watch?v=4Diymk8NcfM?rel=0&amp;autoplay=1&amp;loop=1&amp;playlist=4Diymk8NcfM%5D</object></p&gt;
    <center>
    <span itemprop=”description”><span style=”font-size:14px;”><strong><span style=”color:#808080;”>See our full Range of Angel Decorations</span> <a href=”http://www.irishqualitygifts.com/Irish-Gifts/Nostalgia-Range”><span style=”font-size:16px;”><span style=”color: rgb(255, 0, 0);”>Buy Now</span></span></a></strong></span></span></center>

     

    Is there a fix for this issue.

     

    Kind regards

     

    John

     

    #4365
    Zed
    Cryout Creations mastermind

    This is what I see with your HTML:

    There’s some kind of shortcode in there, [youtube]… Is this for WordPress?

    Make sure you paste your code in the Source view mode of the editor.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘HTML error’ is closed to new replies.