Schema App Microdata Archives End-to-End Schema Markup and Knowledge Graph Solution for Enterprise SEO Teams. Fri, 14 Jun 2024 17:50:16 +0000 en-CA hourly 1 https://wordpress.org/?v=6.5.5 https://ezk8caoodod.exactdn.com/wp-content/uploads/2020/07/SA_Icon_Main_Orange.png?strip=all&lossy=1&resize=32%2C32&ssl=1 Schema App Microdata Archives 32 32 What is the Recommended Format for Schema Markup? https://www.schemaapp.com/schema-markup/what-is-the-recommended-format-for-schema-markup/ Fri, 14 Jun 2024 17:50:16 +0000 https://www.schemaapp.com/?p=14960 Schema Markup is a form of structured data that allows website owners to provide additional context and meaning to the content on their pages. It effectively communicates the purpose and relationships of different elements on your site to search engines. It’s crucial to express Schema Markup in a format accepted by major search engines to...

The post What is the Recommended Format for Schema Markup? appeared first on Schema App Solutions.

]]>
Schema Markup is a form of structured data that allows website owners to provide additional context and meaning to the content on their pages. It effectively communicates the purpose and relationships of different elements on your site to search engines.

It’s crucial to express Schema Markup in a format accepted by major search engines to take advantage of the Schema.org vocabulary, become eligible for rich results, and accurately describe your website content.

Popular search platforms like Google and Bing recognize three primary formats for Schema Markup:

  1. Microdata
  2. RDFa
  3. JSON-LD

Implementing the appropriate format ensures that your structured data is accurately understood, enhancing your site’s visibility, aligning your content with more relevant search queries, and supporting rich result eligibility.

Understanding the Different Schema Markup Formats

Microdata, RDFa, and JSON-LD have unique features and implementation methods. Each of the three available formats has unique features and implementation methods. Let’s examine the pros and cons of each format to help you understand which format you should utilize for your website.

What is Microdata?

Microdata is an open-community HTML specification used to nest structured data within HTML content. Similar to RDFa, it utilizes HTML tag attributes to name the properties we want to present as structured data.

Microdata is typically implemented within the <body> element but can also be used in the <head> element.

<div itemscope itemtype="https://schema.org/Organization">
 <span itemprop="name">Schema App</span>
Contact Details:
 <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
  Address:
   <span itemprop="streetAddress">412 Laird Road</span>
   <span itemprop="postalCode">N1G 3X7</span>
   <span itemprop="addressLocality">Guelph</span>
   <span itemprop="addressRegion">Ontario</span>
   <span itemprop="addressCountry">Canada</span>
 </div>
  Tel:<span itemprop="telephone">+1 855-444-8624</span>,
  E-mail: <span itemprop="email">support@schemaapp.com</span>

Pros of Using Microdata Format for Schema Markup

1. Markup is Dynamic

The microdata is added as an attribute for individual HTML elements, so your markup will be updated dynamically if any content changes are made.

For example, consider a <div> element attributed to the “Organization” type. This <div> can contain properties like “name” and “address.” If you change the content within any of these elements, the markup will automatically update to reflect the latest content.

2. Easy to Implement

Microdata can be easily inserted into HTML, making it more straightforward for those without coding skills to implement the Schema Markup. Microdata is generally easier to understand and maintain than other formats like RDFa.

Cons of Using Microdata Format for Schema Markup

1. Less Suitable for Advanced Schema Markup

While microdata works well for basic Schema Markup, it can become more complicated when dealing with advanced Schema Markup involving many nested entities.

Consider the Product schema type, which requires HTML elements for various attributes like price, ratings, reviews, and return policies to be nested. If your product page only had an image and a price, you can easily use microdata to markup your page.

However, the complexity increases with additional elements such as FAQs located lower on the page, branding information in a separate section, and ratings and reviews in a separate tab. These extra layers make the implementation messy and difficult to manage.

2. Messy Implementation

Since microdata has to be applied to each individual element on the webpage, the markup can become cluttered and messy, especially for larger websites, where your code can become “bloated” very quickly.

3. Unsuitable for Larger Websites

Due to the potential for clutter and the limitations of complex schemas, microdata is generally better suited for smaller websites with simpler structured data requirements.

What is RDFa?

RDFa (Resource Description Framework in Attributes) is an HTML5 extension that supports linked data. It does this by introducing HTML tag attributes that correspond to the user-visible content you want to describe for search engines.

RDFa is considered a W3C (World Wide Web Consortium) recommendation, meaning that it is a web standard. It can be used to chain structured data vocabularies together, which is especially useful if you want to add structured data that extends beyond the limits of Schema.org.

You can breathe a sigh of relief, however, as RDFa isn’t much different from Microdata. Similar to microdata, RDFa tags are incorporated with your webpage’s preexisting HTML code and are commonly used in both the <head> and <body> sections of an HTML page.

<div vocab="https://schema.org/" typeof="Organization">
  <span property="name">Schema App</span>
Contact Details:
  <div property="address" typeof="PostalAddress">
    Address:
     <span property="streetAddress">412 Laird Road</span>
     <span property="postalCode">N1G 3X7</span>
     <span property="addressLocality">Guelph</span>
     <span property="addressRegion">Ontario</span>
     <span property="addressCountry">Canada</span>
</div>
  Tel:<span property="telephone">+1 855-444-8624</span>,
  E-mail: <span property="email">support@schemaapp.com</span>

Pros of Using RDFa Format for Schema Markup

1. Flexibility

RDFa allows you to combine multiple vocabularies, making it more flexible than Microdata or JSON-LD for complex structured data requirements.

2. Widely Adopted Standard

Since RDFa is a standardized format recommended by the W3C, it ensures broad compatibility across various platforms, browsers, and search engines. This means that structured data marked up with RDFa will be more consistently interpreted and utilized by different web services.

3. Integrates with Existing HTML

Like Microdata, RDFa seamlessly integrates with your existing HTML code, making implementation easier.

Cons of Using RDFa Format for Schema Markup

1. Steep Learning Curve

RDFa has a steeper learning curve compared to Microdata or JSON-LD, as it requires a deeper understanding of linked data principles and vocabularies.

2. Messy implementation

Also similar to microdata, RDFa markup can become verbose and cluttered, especially for complex structured data implementations.

3. Limited Browser Support

While search engines support RDFa, some older browsers may have limited or no support for rendering RDFa markup.

Overall, RDFa offers a flexible and standards-compliant approach to structured data markup, but it may be more suitable for advanced use cases or when combining multiple vocabularies is necessary.

What is JSON-LD?

JSON-LD stands for JavaScript Object Notation for Linked Data. It is a method of encoding structured data using the JSON format, which is a lightweight data-interchange format that is easy for machines to parse and generate.

The key difference between RDFa, Microdata, and JSON-LD is their implementation method on a page. Both RDFa and Microdata are added as properties within the content itself. Conversely, JSON-LD is added independently, typically in the header or footer of the HTML.

This resolves the issue of messy and cluttered implementation associated with both RDFa and microdata.

<script type="application/ld+json">
{
   "@context": "https://schemaapp.com",
   "@type": "Organization",
   "name": "Schema App",
   "address": {
      "@type": "PostalAddress",
      "addressLocality": "Guelph",
      "addressRegion": "Ontario",
      "addressCountry": "Canada",
      "postalCode": "N1G 3X7",
      "streetAddress": "412 Laird Rd",
      },
   "email": "support@schemaapp.com",
   "telephone": "+1 855-444-8624",
}

JSON-LD is also a W3C recommendation and Google’s recommended format for structured data due to its simplicity and readability for both machines and humans. It offers several advantages.

Pros of Using JSON-LD Format for Schema Markup

1. Easiest Format for Machines to Interpret

JSON-LD is designed to be easily parsed and understood by machines, making it an efficient and accessible format for structured data.

2. Easy to Implement and Update

JSON-LD can be read even when dynamically injected into the page’s contents via JavaScript code or embedded widgets. It can be used to describe all types of media on a website—videos, audio, images, and interactive content—not just what exists in HTML documents.

JSON-LD also exists as a single block of code embedded within HTML, so you are not restricted by the structure of the content you are marking up.

3. Ability to Handle Complex Schema Markup

JSON-LD supports the management of complex, nested structured data, making it ideal for advanced use cases. Unlike Microdata, JSON-LD is not restricted by the content and structure of the HTML, offering greater flexibility. For instance, the ratings and reviews for a product can be positioned anywhere on the product page. With JSON-LD, you can easily nest the properties and values in the structured data regardless of where the content is placed in the HTML.

Cons of Using JSON-LD Format for Schema Markup

1. Learning Curve

JSON-LD can be difficult to learn and write manually, especially for those without prior experience with JSON or linked data concepts.

2. Technical Complexity

Implementing JSON-LD may require a higher level of technical expertise compared to Microdata or RDFa.

3. Update to Schema Markup Required If Done Manually

If you author the JSON-LD manually, you’ll need to update the JSON-LD code whenever you make content updates, as it’s separate from the main content.

This is why our customers love using the Schema App Highlighter, a scalable Schema Markup tool that generates and deploys JSON-LD Schema Markup to thousands of similarly templated pages on your site.

The Schema App Highlighter dynamically updates the Schema Markup on your page when content changes are made. This ensures that all content changes are automatically reflected in your JSON-LD markup in real time. This prevents Schema Drift and reduces the risk of manual coding errors.

What Format Should I Use for Schema Markup?

While Microdata, RDFa, and JSON-LD are all accepted formats for Schema Markup, JSON-LD emerges as our recommended choice. This is due to its flexibility and scalability for complex structured data implementations.

Despite its steeper learning curve and technical expertise requirements, JSON-LD is the format also endorsed by Google and other major search engines for its ease of readability for both machines and humans.

At Schema App, we understand the challenges of implementing JSON-LD at scale. This is why we created tools like the Schema App Highlighter to enable SEO teams to generate and deploy dynamic JSON-LD markup at scale.

With our end-to-end Schema Markup solution, we can help your team deploy robust Schema Markup to your site seamlessly, ensuring optimal search engine understanding and accurate representation of your brand in search results.

Get started with us today and unlock the full potential of JSON-LD Schema Markup for your organization.

The post What is the Recommended Format for Schema Markup? appeared first on Schema App Solutions.

]]>
Microdata Filter Questions and Answers https://www.schemaapp.com/schema-markup/micro-data-filter-questions-and-answers/ Wed, 02 Jan 2019 14:44:04 +0000 https://www.schemaapp.com/?p=7240 Have questions about microdata vs json-ld? Wondering how to create connected and semantically correct Schema Markup without conflicts? Look no further. This Microdata Filter Questions and Answers page aims to clear the air. Frequently Asked Questions What is microdata and what’s the difference between microdata and json-ld? Microdata is an older format of schema markup....

The post Microdata Filter Questions and Answers appeared first on Schema App Solutions.

]]>
Have questions about microdata vs json-ld? Wondering how to create connected and semantically correct Schema Markup without conflicts? Look no further. This Microdata Filter Questions and Answers page aims to clear the air.

Frequently Asked Questions

What is microdata and what’s the difference between microdata and json-ld?

Microdata is an older format of schema markup. Schema App uses json-ld, as this is preferred by Google and other search engines.

Are there large platforms that support only microdata for their features?

For awhile, Facebook ads used exclusively microdata for its targeting functionality. After a recent review of Facebook’s documentation, this support has now expanded to json-ld.

I have microdata on my site. Will it conflict with the markup generated by Schema App?

This would depend on what markup is in the microdata and what markup is being included by Schema App. There is potential for a conflict that impacts site performance, so we recommend removing the microdata and ensuring that the markup being created or deployed to these pages.

There are errors within the microdata. Can I resolve these and how?

The Schema App Team has created a Schema Filter which will remove the microdata from the page so that these errors are not published and seen by Google’s crawler. We include the microdata filter in our WordPress, Shopify, and BigCommerce plugins. The filter can be toggled on from within the respective platforms’ plugin settings.

If you are not using the platforms mentioned above, you can still use the microdata filter by including the JavaScript tag, which we’ve shared via our Microdata Filter GitHub page. Additionally, the filter can be configured to remove certain markup by following the Microdata filter documentation. For more information on the Microdata filter, please see our how-to article, Schema Markup Filtering Javascript Library.

I have enabled the microdata filter, but when I test the page in Google’s Structured Data Testing Tool, I still see the microdata and any errors associated with them. Is the microdata filter working on my page?

microdata filter

Unfortunately, the Structured Data Testing Tool, which has officially been replaced with the Schema Markup Validator (SMV), did not trigger the JavaScript and showed the result after the microdata has been filtered, so the microdata still showed when testing the live page as seen above. Google’s crawler, however, will see the pages with the microdata filtered and therefore no associated microdata errors.

If the Structured Data Testing Tool does not accurately display the microdata filtered results, how can I tell what Google’s Crawler is seeing?

If you are in the Google Chrome Browser, you will need to right click on the page you are looking to test and then click on the inspect option.

 

LA Kings

From here you will see the html for the site. At the very top if you right click on the tag that begins with “ <html ” and go to Copy then click on Copy element this will copy the page’s code.

Copy the page's code

Next you will need to navigate to the Schema Markup Validator (SMV) to run a new test and test the validity of your schema markup syntax. You should supplement the SMV with Google’s Rich Result Testing Tool to analyze your rich result eligibility.

 

From the new test pop-over window you will need to select the code snippet option and paste the page code you had copied previously, then run the testing tool. This page code will show the results after the microdata has been filtered.

Additionally, you may notice that this shows the preview button when there are duplicate products. Please see our previous blog post, Strange Behaviors in Google’s Structured Data Testing Tool, on this and other odd behaviors seen with Google’s Structured Data Testing Tool.

SEOs still prefer Google’s Structured Data Testing Tool to the Schema Markup Validator, as the SMV currently only shows schema.org syntax errors and not eligibility for rich results. Google’s Rich Results Test, however, does show rich result eligibility! At Schema App, we see schema markup as an iterative process. We use errors in structured data markup as content opportunities to make your markup more robust and comprehensive. Maximize your results from structured data by getting started with our technical experts today!

Start reaching your online business goals with structured data.

 

The post Microdata Filter Questions and Answers appeared first on Schema App Solutions.

]]>
Schema Markup Filtering Javascript Library https://www.schemaapp.com/schema-markup/schema-markup-filtering-javascript-library/ Wed, 10 Oct 2018 01:47:47 +0000 https://www.schemaapp.com/?p=6949 There are lots of times websites have schema markup added by the CMS or Theme that add disappointing markup. In order to disambiguate the data items on the page, or to control the main entity or change between rich snippets, or just clean up erroneous markup we have a couple of options. First, try to...

The post Schema Markup Filtering Javascript Library appeared first on Schema App Solutions.

]]>
There are lots of times websites have schema markup added by the CMS or Theme that add disappointing markup. In order to disambiguate the data items on the page, or to control the main entity or change between rich snippets, or just clean up erroneous markup we have a couple of options. First, try to alter the theme or CMS that’s producing, but failing that you can use JavaScript to inspect the page and remove the schema markup.

For JavaScript, we’ve published a JavaScript library https://github.com/SchemaApp/schema-filter that can help to handle different scenarios.

Among the options, the JS library can be setup to filter combinations of:
1. Schema Class List (defaults to All)
2. Schema Syntax RDFa, Microdata or JSON-LD (defaults to microdata)

If you have ideas for improvements we can use the GitHub repository features to make suggestions.  Below we’ve included some of the read.me file to give you an idea on how it works and options.

SchemaFilter

JavaScript Filter tool to remove Schema markup in JSON-LD, Microdata, or RDFa formats from webpages.

Usage

To the use the script import it using a script tag. We recommend using the CDN version of the script where possible.

// Using the CDN Version (Recommended)
<script src="https://cdn.schemaapp.com/javascript/schemaFilter.min.js"></script>

// Loading asyncronously 
<script async src="https://cdn.schemaapp.com/javascript/schemaFilter.min.js"></script>

// Or load it locally
<script src="schemaFilter.js"></script>

Modes of removal

Schema Filter supports the removal of JSON-LD, Microdata, and RDFa. This is done by calling the specific functions or through specifying them by name. Multiple calls to the function can be used to remove more than one format. Each command must be within a <script>…</script>.

  • JSON-LD SchemaFilter.remove([],'json-ld'); or SchemaFilter.removeJSONLD();
  • Microdata SchemaFilter.remove(); or SchemaFilter.removeMicroData();
  • RDFa SchemaFilter.remove([],'rdfa'); or SchemaFilter.removeRDFa();

Specifying specific Types

Specifying particular schema classes is done through passing an array to the remove function. If all classes are to be removed then the array may be left empty ([]), or passed in as null.

// This will remove all Event and Organization types on Microdata
<script>SchemaFilter.remove(['Event', 'Organization']);</script>

// This will remove LocalBusiness, Organization, and WebSite classes in a JSON-LD format. 
<script>SchemaFilter.remove(['LocalBusiness', 'Organization', 'WebSite'], 'json-ld');</script>

// Remove all classes of rdfa (notice the empty array).
<script>SchemaFilter.remove([],'rdfa');</script>

// Remove all Organizations of RDFa
<script>SchemaFilter.remove(['Organization'], 'rdfa');</script>

// Remove all classes of JSON-LD (notice we can also use null for the array).
<script>SchemaFilter.remove(null,'json-ld');</script>

Running the script on your page

Once the script is imported you may the run script in another block of JavaScript. The script should be run when the document is ready or after another event that injects Schema Markup into the page. If the markup is embedded in the source you may run when the document is loaded as shown below.

<script>SchemaFilter.remove(null, 'json-ld');</script>

If you want to alter the event in which the code is loaded you can specify the string event value into the onLoad property of the SchemaFilter.

<script>
SchemaFilter.onLoad = 'SomeEventHere'; // the default value
SchemaFilter.remove();
</script>

At Schema App, we look at schema markup as an iterative process. Through enhanced analytics and content recommendations, we help our customers maximize their results through structured data. If you need help getting started, get in touch today!

Start reaching your online business goals with structured data.

 

The post Schema Markup Filtering Javascript Library appeared first on Schema App Solutions.

]]>