Google Structured Data Testing Tool Updated - | Digital Marketing Cebu
16487
post-template-default,single,single-post,postid-16487,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-10.1.1,wpb-js-composer js-comp-ver-5.0.1,vc_responsive
 

Google Structured Data Testing Tool Updated

Google Structured Data Testing Tool Updated

The Google Structured Data Testing Tool has been given a makeover, as famous yesterday by Kenichi Suzuki on Google+.

In addition to updating the Testing Tool, Google has additionally printed a assist web page on Google Developers describing the options of the Testing Tool and easy methods to use it.

Structured Data Testing Tool options

The up to date Testing Tool has a lot of capabilities, most of which had been accessible within the prior model of the device, however a few of that are new.

Support for URLs or code

The Testing Tool will try and validate both a URL or a code snippet that is entered immediately.

Syntax highlighting and validation code matching

Users can click on on a validated class, property or worth (or a reported error for any certainly one of these) and see it highlighted within the supply code.

Syntax and error highlighting in the Google Structured Data Testing Tool

Syntax and error highlighting within the Google Structured Data Testing Tool. Click to enlarge.

Entity-specific inspection

When multiple entity is current, now you can drill down to have a look at particulars only for that merchandise.

Entity-specific details in the Google Structured Data Testing Tool

You can now additionally select to examine all entities, solely these with errors, or solely these with warnings.

Entity classification by validation errors and warnings in the Google Structured Data Testing Tool

Search and change keyboard shortcuts

The up to date device now helps search and search and change capabilities through keyboard shortcuts, together with the usage of common expressions. This is very helpful while you wish to edit code for a fetched URL.

  • Control-F / Command-F — Search Search
  • Control-G / Command-G — Find subsequent
  • Shift-Control-G / Shift-Command-G — Find earlier
  • Shift-Control-F / Command-Option-F — Replace
  • Shift-Control-R / Shift-Command-Option-F — Replace all

The find and replace function of the Google Structured Data Testing Tool

JSON-LD and schema.org auto-completion

This new Testing Tool characteristic brings up auto-complete ideas for JSON-LD reserved key phrases, triggered by the Ctrl-Space keyboard shortcut.

Google Structured Data Testing Tool automatic completion for JSON-LD reserved keywords

For schema.org markup supplied in JSON-LD, Ctrl-Space triggers auto-complete for any markup aspect. These schema.org auto-complete ideas are context-aware, so solely properties which might be legitimate for the declared kind are supplied. In the Product code beneath, for instance, the auto-complete ideas don’t embody the style property, which isn’t legitimate for Product.

Google Structured Data Testing Tool automatic completion for schema.org properties

Validation errors for Google examples

UPDATE (Added 19 May 2016) – Since this put up was written the data on Google’s Structured Data specs pages has modified, together with examples. These all now largely cross Testing Tool validation. See this put up for additional particulars, in addition to a dialogue of the brand new preview performance of the Tool which was not lined right here. The details about errors beneath is retained only for the report, however is not legitimate.

Numerous the examples supplied by Google on the structured knowledge part of the Google Developers website return errors after they’re run via the Testing Run. So you would possibly wish to train warning when using these examples as a template on your personal markup.

Note that I’ve enumerated solely errors generated by the instance code, not warnings.

  • Event Markup: Official Performer Sites
    • The instance code for the delegation markup choice (“a way to specify that your events should be sourced from another web page of your choice”) throws two errors: a required and lacking worth for the location property; a required and lacking worth for the startDate property.
  • Provide Actions
    • The instance for “an action to stream a Movie” throws one error: a required and lacking worth for the inLanguage property.
  • Music Actions
    • The instance for MusicGroup (erroneously labelled “MusicArtist”) throws three errors: two errors for a required and lacking worth for the inLanguage property; one error for a required and lacking worth for the actionPlatform property.
    • The instance for MusicAlbum throws the identical three errors because the MusicGroup instance.
  • TV and Music Watch Actions
    • The instance for Movie throws two errors: each errors are for a required and lacking worth for the inLanguage property.
    • The instance for TVEpisode throws six errors: 4 errors for a required and lacking worth for the inLanguage property; two errors for a required and lacking worth for the actionPlatform property.
    • The instance for TVSeason throws two errors: one error for a required and lacking worth for the inLanguage property; one error for a required and lacking worth for the expectsAcceptanceOf property.
    • The instance for TVSeries throws the identical three errors because the TVSeason instance.
  • Live Blogs
    • The instance for LiveBlogPosting throws six errors: one error for an invalid worth for the @kind declaration for articleBody; two errors for a required and lacking worth for the description property; one error every for a lacking and required worth for the title, uploadDate and description properties.
  • Place Actions
    • The instance for “Reserve fitness class” (kind HealthClub) throws two errors associated to the invalid and unknown-to-Google kind HealthClubReservation.

Missing: context-specific Google errors

Sometimes Google has totally different necessities and proposals for a similar schema.org kind, relying on the use case for the markup. The prior model of the Testing Tool would enable customers to pick out validation particulars for these totally different use instances.

The use case selector from the previous version of the Structured Data Testing Tool

This not seems to be the case: whether or not or not this can be a deliberate deprecation of this characteristic or a bug stays to be seen.

Still lacking: multi-type entity assist

Jarno van Driel has famous that the Testing Tool nonetheless doesn’t assist legitimate code for multi-type entities (the place two totally different schema.org lessons are supplied in the identical kind declaration, as a way to present entry to the properties of each sorts).

This microdata ought to validate:

<div itemscope itemtype="http://schema.org/Service http://schema.org/MedicalTherapy">
  <h1 itemprop="name">Tummy Tuck</h1>
<div>

Alas, no.

Structured Data Testing Tool result for a multi-type entity in microdata

Google’s Dan Brickley has famous that this problem remains to be beneath investigation.

Still working: the Testing Tool bookmarklet

This replace leaves the performance of the Google Structured Data Testing Tool Bookmarklet supplied by Kevin Polley intact. So you’ll be able to nonetheless use this bookmarklet for one-click entry to Testing Tool validation of an online web page you are at the moment viewing.

A brand new URL

UPDATE (Added 17 May 2016)

Something I initially missed is that the URL for the Structured Data Testing Tool has modified. The outdated URL was:

https://developers.google.com/structured-data/testing-tool/

The new URL is:

https://search.google.com/structured-data/testing-tool

As the outdated URL 301 redirects to the brand new URL, customers should not discover a distinction, and as famous above the bookmarklet nonetheless works. However, to keep away from any future points I’ve up to date the bookmarklet to mirror the URL change.

Source link

No Comments

Sorry, the comment form is closed at this time.