Announcement

Collapse
No announcement yet.

rich snippets / image URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    rich snippets / image URL

    I'm using this as a rich snippet, all works well except the product image URL - can anyone tell me how it should be

    This:

    <!-- rich snippets BEGIN -->
    <div itemscope itemtype="http://data-vocabulary.org/Product">
    <meta itemprop="currency" content="GBP" />
    <meta itemprop="price" content=<actinic:variable name="ProductPriceRaw" /> />
    <meta itemprop="brand" content="<actinic:variable name="brand" />" />
    <meta itemprop="image" content="<actinic:variable name="CatalogURL" /><actinic:variable name="SectionImageFileName" />" />
    <meta itemprop="condition" content="new"> />
    <meta itemprop="identifier" content="<actinic:variable name="gtin" />" />
    <meta itemprop="category" content="<actinic:variable name="google_product_category" /> "/>
    </div>
    <!-- Rich snippets END -->

    Produces:

    <div itemscope itemtype="http://data-vocabulary.org/Product">
    <meta itemprop="currency" content="GBP" />
    <meta itemprop="price" content=13.18 />
    <meta itemprop="brand" content="Wells Poultry Equipment" />
    <meta itemprop="image" content="http://www.chicken-house.co.uk/acatalog/images\grey_egg_box_135.jpg" />
    <meta itemprop="condition" content="new"> />
    <meta itemprop="identifier" content="2147483647" />
    <meta itemprop="category" content="Animals > Pet Supplies "/></div>

    but the image should be:
    http://www.chicken-house.co.uk/acatalog/grey_egg_box_300.jpg

    Any idea what i'm doing wrong?

    #2
    The slash should be a forward slash before the filename. That might be the problem.

    Comment


      #3
      I think it's more than just that... the images folder isn't used on the website, only on the desktop. the slash is produced the wrong way by the actinic variable so it's not something i can see how i can change.

      Comment


        #4
        I think you may have to use some javascript to process the string and 'write' it out.

        Comment

        Working...
        X