Script for Schema
-
Does any one know of any script that can be written to generate schema on my product pages. I need something that would be compatible with a custom php website.
Here is an example of what I am looking for, it's for Magento so I can't use it: http://www.magentocommerce.com/magento-connect/schema-org.html.
Or, if you have any idea on how to do implement schema without doing it manually please let me know here!
Thanks!
-
Hi Ray,
Thanks for responding, I don't know my programming too well, but from the way you are saying it, it seems like this is a standard process.
I will send this to my developers, thanks for your help!
-
What do you mean exactly by 'generate schema' ?
You would want to build the schema code into your template to integrate it properly. As long as it is in your site template then it will be added to your product pages accordingly.
The best way to do that is by adding and validating it manually. However, it wouldn't adding it manually to every single product since building it into your site's template would do just that.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Homepage name in Breadcrumb for schema.org
Hi all, We have recently implemented the schema.org structure for our breadcrumbs. In our breadcrumb we include a link to the homepage. Since implementation I'm receiving the following error in Google Search Console: Either "name" or "item.name" should be specified The error is being triggered because we don't have itemprop="name" defined for the homepage on each page. Our breadcrumbs look good in search but I'm wondering if anybody else has experienced this error and what can we do to fix it. Should itemprop="name" be our Brand name? Or should we define this as our root domain? Thanks in advance
Technical SEO | | Brando160 -
Product schema GSC Error 'offers, review, or aggregateRating should be specified'
I do not have a sku, global identifier, rating or offer for my product. Nonetheless it is my product. The price is variable (as it's insurance) so it would be inappropriate to provide a high or low price. Therefore, these items were not included in my product schema. SD Testing tool showed 2 warnings, for missing sku and global identifier. Google Search Console gave me an error today that said: 'offers, review, or aggregateRating should be specified' I don't want to be dishonest in supplying any of these, but I also don't want to have my page deprecated in the search results. BUT I DO want my item to show up as a product. Should I forget the product schema? Advice/suggestions? Thanks in advance.
Technical SEO | | RoxBrock1 -
John Mueller says don't use Schema as its not working yet but I get markup conflicts using Google Mark-up
I watched recently John Mueller's Google Webmaster Hangout [DEC 5th]. In hit he mentions to a member not to use Schema.org as it's not working quite yet but to use Google's own mark-up tool 'Structured Data Markup Helper'. Fine this I have done and one of the tags I've used is 'AUTHOR'. However if you use Google's Structured Data Testing Tool in GWMT you get an error saying the following Error: Page contains property "author" which is not part of the schema. Yet this is the tag generated by their own tool. Has anyone experienced this before? and if so what action did you take to rectify it and make it work. As it stands I'm considering just removing this tag altogether. Thanks David cqbsdbunpicv8s76dlddd1e8u4g
Technical SEO | | David-E-Carey0 -
Secure and non-secure Schema.org Markup?
Is it possible to have schema.org itemtypes for both secure and insecure ports? I run a static-ish site made in Jekyll, and am implementing Schema.org on the individual pages. As a result, I'm trying to use the following: This doesn't validate with Google's Rich Snippet Tool. It doesn't register the Items as existing. Is there a good way to implement Schema.org in a static page hosted on both SSL and non-SSL ports?
Technical SEO | | RoxBrock0 -
Open Graphs and Schema Markups
Hi Moz, Do I need to duplicate a schema tag if I already have an open graphs tag pertaining to that particular property? Ex. Title of a product. Thanks,
Technical SEO | | Mike.NW0 -
Is it worth adding schema markup to articles?
I know things like location, pagination, breadcrumbs, video, products etc have value in using schema markup. What about things like articles though? Is it worth all the work involved in having the pages mark up automatically? How does this effect SEO, and is it worthwhile? Thanks, Spencer
Technical SEO | | MarloSchneider0 -
Could schema.org and GoodRelations be bad for SEO?
One of my clients is going through a redesign and I am considering implementing schema.org and GoodRelations as it is an e-commerce website. The site sells cutting edge products and competes with some of the top tech blogs for rankings on the first page. Essentially, this means that e-commerce product listings are competing with news stories. It is becoming more and more difficult to rank as Google puts more emphasis on news over products in the serps, especially prior to a product release. My concern is that in implementing schema.org and GoodRelations, detailing to seach engines that this is in-fact a product page and not news could harm rankings. What opinions do others have on this?
Technical SEO | | pugh0 -
Schema.org for restaurant menus
Hi i have looking into ways that i can apply shema.org formatting to a website that has a collection of restaurant menus. I found related schema.org formats (eg recipes, reviews, products etc) though can not seem to find a format set out for menu items. I am considering using the product format (http://schema.org/Product) for each menu item on a restaurant menu though not sure if this would add much value or not. I was hoping Google when then know more about the data collected on the website and be able to show it more accurately to the end user when they are searching for this data (restaurant menu), with rich snippets in serp results. Thanks in advance for your feedback.
Technical SEO | | blackrails0