Re: Validating Meta itemprop attribute

Richard,
You are right when we try to validate the schema in the Structured Data
Test it doesn't appear as a property
https://search.google.com/structured-data/testing-tool/u/0/#url=www.mlsvallarta.com

Thanks!

On Mon, Jun 29, 2020 at 11:37 AM Richard Wallis <
richard.wallis@dataliberate.com> wrote:

> Sounds like you have not described the thing that the 'url' is a property
> of.
>
> Checkout the Microdata example here
> <https://schema.org/LocalBusiness#eg-4> for an example of how it should
> be constructed.
>
> Note: In the example the url property is declared in an <a> tag, but it
> could be declared in a <meta> if required.
>
> ~Richard.
> Richard Wallis
> Founder, Data Liberate
> http://dataliberate.com
> Linkedin: http://www.linkedin.com/in/richardwallis
> Twitter: @rjw
>
>
>
> On Mon, 29 Jun 2020 at 16:15, Play us Design <hola@playusdesign.com>
> wrote:
>
>> Hi everyone,
>> We are working on improving the schema and code of a real estate website
>> www.mlsvallarta.com
>> We are trying to validate all our metas, we are including them in the
>> HTML like this:
>> <meta itemprop="url" content="
>> https://www.mlsvallarta.com/news/punta-mita-has-another-great-year/" />
>> But the w3 validator is displaying the following error.
>> Error: The itemprop attribute was specified, but the element is not a
>> property of any item..
>> Does someone knows if this is the correct way to include a non JSON
>> schema or how can we validate our current way to include schema?
>> Thanks in advance.
>>
>> --
>> Play us Design
>> +52 (322) 222 8410
>> www.playusdesign.com
>>
>

-- 
Play us Design
+52 (322) 222 8410
www.playusdesign.com

Received on Wednesday, 1 July 2020 01:39:43 UTC