Anyone know Schema?
-
Does anyone know anything about schema? I'm trying to add structured data to my website and wondering how to enclose php results in schema tags.
@unknownuser said:
This site provides a collection of schemas, i.e., html tags, that webmasters can use to markup their pages in ways recognized by major search providers. Search engines including Bing, Google, Yahoo! and Yandex rely on this markup to improve the display of search results, making it easier for people to find the right web pages.
Basically it allows Search Engines to look past all your pretty crap and know what is what everytime. this is a product, there are it's attributes. if you're running a website and selling products it would behoove of you to add these tags. My application is a bit of a pain in the @$$ because it's a php website. If you have static you can just use their codes and bang, you're done.
This tool from Google webmasters will allow you to highlight portions of your page and "tag" them with the corresponding and available option. Name, price, image etc... Then you can save generated HTML right out of the browser.
https://www.google.com/webmasters/markup-helper/
Now if you have one of the many popular website CMS systems like Magento or Prestoshop this website has the codes you need.
http://help.addshoppers.com/customer/portal/articles/688036-how-to-add-product-schema-codes-
If you have a Wordpress blog you can find plugins that convert your pages for you. Like this...
http://wordpress.org/plugins/schema-creator/
Personally I had to dig into my system and paste and patch lines in a few places and still it's not 100% (story of my life) but it's good enough for government work.
Here is a code set for a standard product.
<div itemscope itemtype="http://schema.org/IndividualProduct" itemid="#product"> <link itemprop="additionalType" href="http://www.URL-OF-PRODUCT.com" /> <img itemprop="image" src="IMAGE-NAME.jpg" /> <span itemprop="name">NAME OF PRODUCT</span> <span itemprop="price">PRICE OF PRODUCT</span> <span itemprop="description">DESCRIPTION OF PRODUCT</span> </div>
This is a tool to test your page to see what google reads of snippets.
-
Figured it out... For the most part. still can't get a couple of them nailed down.
Only now every image on my site is tagged as a product image.
Advertisement