Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Hi Steve,
just installed your plugin - as much as you indicated it wasn't necessary I want to add the code below to html_header.php however my template appears not to be HTML5 - it is XHTML1 Transitional
Can I still add the part of that code as shown in bold? - if not is there a different code that I should use?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?> prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#">
cheers,
Mike
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
google webmaster is giving warnings on 'priceValidUntil' and 'sku'. can you add this to a new version of this plugin??
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
I've done some fiddling about with this plugin, including the sku and priceValidUntil.
https://github.com/torvista/zen-cart_Structured-Data
If there is anything else that needs attention, mention it now.
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Hi torvista,
I'm a bit confused, do you have any information about Super Data Markup for Zen Cart v1.1.7 available here:
https://zencart.codes/index.php?main...products_id=47
The authors give you credit for the core aggregate rating query. Is that plugin more advanced and should be used instead, or are they entirely independent uses, and merely by the good fortune of open-source collaboration share your code?
Further, is an updated version of your plugin available here or only from git?
I see this appears to be yours:
https://www.zen-cart.com/downloads.php?do=file&id=2215
But also there is from swguy a plugin of the same name, but advanced to v1.1, and only available commercially:
https://www.thatsoftwareguy.com/zenc...ured_data.html
All these versions are making my head explode...
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Yes it does look confusing.
I can't answer. If you want to know the differences you'll have to manually Beyond Compare them. The version numbers are up to whoever feels like changing them.
I update my Github only, not the Plugins version.
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Thanks torvista,
Got it. I'll compare the Super Data Markup v1.1.7 and your git repo and decide from there which to install first (whichever is simpler for a first check).
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Hi torvista,
From perusing the code, pretty much equivalent actually, in terms of functionality. Different approaches regarding finding appropriate images, and your plugin finds stock levels. v1.1.7 of Super Data Markup (the one from the zencode site) adds review capability which is not in v1.1.5, in the same way yours does (i.e., only supplying aggregate properties when reviews actually exist).
I notice your code has a now probably defunct Google+ property at the end, after Twitter.
I think I will try both of these in succession (testing their uninstalls too---I notice you kindly supply a correct uninstall for the Super Data Markup plugin, which I should test with v1.1.7 too), and see how they differ in practice. I don't (yet) use image handler, but if I did I would go for version 5 which seems to be current. And I do upload LRG and MED images into separate directories for my products.
Not to forget: I am more inclined to use a plugin that has a support thread here, compared to one that does not.
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Quote:
I don't (yet) use image handler, but if I did I would go for version 5 which seems to be current. And I do upload LRG and MED images into separate directories for my products.
You should use Image Handler. Period.
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Hi torvista,
I've decided I like your code more, more options, a better way to specify multiple options (comma separated on one field, let the code do the work), and better indication of what is optional and required.
If structured data makes it into the core of Zen Cart, and the responsive theme, your code would be ideal. Thanks a stack!
Re: Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Thanks for taking the time to comment.