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
-
Need help with list schema!
Hi all, I am trying out list schema on my site, but in Google's structured data testing tool I'm having an issue with the URL section. Whenever I have the same URL for each position is says that duplicate URLs aren't allowed, then when I have different URLs it says that they all have to be the same URL. Does anyone have any pointers that can help make my list schema error free!? Heres my schema:
Technical SEO | | Saba.Elahi.M.0 -
Size of image for article Schema
Hi, I implemented schema markup for an article and all tested fine and I can see it being fired in preview mode of Google Tag Manager. But when I run the URL which has it applied through Google Structured Testing tool it is not appearing. I have now read that the image needs to be a certain size. For AMP articles this appears to be 12oo pixels wide http://www.thesempost.com/google-changes-image-size-requirements-amp-articles/ But what about non-AMP articles? Does it need to be that big too?
Technical SEO | | AL123al0 -
Schema.org product offer with a price range, or multiple offers with single prices?
I'm implementing Schema.org, (JSON-LD), on an eCommerce site. Each product has a few different variations, and these variations can change the price, (think T-shirts, but blue & white cost $5, red is $5.50, and yellow is $6). In my Schema.org markup, (using JSON-LD), in each Product's Offer, I could either have a single Offer with a price range, (minPricd: $5, maxPrice $6), or I could add a separate Offer for each variation, each with its own, correct, price set. Is one of these better than the other? Why? I've been looking at the WooCommerce code and they seem to do the single offer with a price range, but that could be because it's more flexible for a system that's used by millions of people.
Technical SEO | | 4RS_John1 -
Will Google Data Highlighter support other schemas?
At the moment I see that the Data Highlighter supports a few schemas such as Events, Products, Articles, Restaurants etc. My client has a training division and runs regular training courses so we want to highlight those using the tool as "Training Courses," but this is not an option. Does anyone know why the tool doesn't support more categories and if there are plans to expand what it supports? I realise it would be better to use actual HTML markup onto the client site but their website is administered by their corporate parent in another country and they are not prepared to add in a Wordpress plugin to allow this. But the UK division, that we work for, wants to use it. We have restricted access to the Wordpress site so we don't have the access rights to add in plugins ourselves otherwise it would be no problem to do this.
Technical SEO | | mfrgolfgti1 -
Event Schema markup for multiple events (same location/address)?
I was wondering if its possible to markup multiple events on the same page for one location/address using the event schema.org markup? I tried doing it on a sample page below: http://www.rama.id.au/event-schema-test/ Google's schema testing tool shows that its all good (except for warning for offers). Just wanted to know if I am doing it correctly or is there a better solution. Any help would be much appreciated. Thank you 🙂
Technical SEO | | Vsood0 -
Schema markup
Hi, I'd love to use schema markup, but I don't think there is one for the type of products we sell (mortgages). Does anyone know of a way of using schema markup for a page like this: https://www.turnkeymortgages.co.uk/mortgage/mortgage-rates/ The regulator for mortgages (FCA) in the UK has rules about how products are displayed, we have to show all the information in the table (see the link), and the compliance text (your home will be repossessed....) with every product. This is why I haven't tried to 'cobble' something together from the existing markup available - I can't fall foul of the regulator (or be misleading to customers). Anyone have any thoughts on this? Or, should I just wait until Schema come up with a markup suitable for such products.
Technical SEO | | CommT0 -
Why isn't Google pushing my Schema data to the search results page
I believe we have it set up right. I'm noticing all my competitors schema data is showing up which is really giving them a leg up on us. We have a high ranking website so I'm just not sure why it's now showing up. Here is an example URL http://www.airgundepot.com/3576w.html I've used the Google webmaster tools tester and it all looks fine. Any ideas? Thanks in advance.
Technical SEO | | AirgunDepot0 -
Schema mark up
Has anyone seen any benefit from using schema in the html of their website and gaining better oganic resultsi n Google? Is tagging up pieces of content with this mark up language worth doing? Any advice much appreciated as always.
Technical SEO | | pauledwards0