schema.org

What is the correct use of schema.org SiteNavigationElement?

半世苍凉 提交于 2019-11-27 03:44:01
In SEO terms... Is it best to put the scheme on the parent containing all the links? <nav itemscope="itemscope" itemtype="http://www.schema.org/SiteNavigationElement"> <a href="#">Link 1</a> <a href="#">Link 2</a> <a href="#">Link 3</a> </nav> ...or should each link be considered as it's own element? <nav> <span itemscope="itemscope" itemtype="http://www.schema.org/SiteNavigationElement"> <a itemprop="url" href="#"> <span itemprop="name">Link 1</span> </a> </span> <span itemscope="itemscope" itemtype="http://www.schema.org/SiteNavigationElement"> <a itemprop="url" href="#"> <span itemprop=

Best JSON-LD practices: using multiple <script> elements?

岁酱吖の 提交于 2019-11-27 03:27:28
I'm curious about the best practice for applying JSON-LD onto a site for schema.org. If I have a page with an Article and I also want to define WebSite on my page, I would have this: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "http://www.example.com/", "potentialAction": { "@type": "SearchAction", "target": "http://www.example.com/search?&q={query}", "query-input": "required" } } </script> <!- … --> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Article", "author": "John Doe", "interactionCount": [

How to implement Schema.org on HTTPS pages?

余生颓废 提交于 2019-11-27 02:53:14
问题 Is it correct to statically set up Microdata’s itemtype attribute with HTTP value ( http://schema.org/WebPage ) on HTTPS pages or do I need to use HTTPS value ( https://schema.org/WebPage ) on all pages? Since both HTTP and HTTPS versions of the site are available, can I set it up to //schema.org/WebPage or not? 回答1: tl;dr: Use http URIs. In this answer on Webmasters SE I explained why you should favor http over https Schema.org URIs: The http URIs seem to be canonical, as the actual

Is it possible to use the same meta tag for opengraph and schema.org

≯℡__Kan透↙ 提交于 2019-11-27 01:54:32
I dont like the amount of tags in the head of my document. here is an example of some meta tags. <!--w3c--> <title>Page Title</title> <meta name="description" content="great description"> <!--schema.org--> <meta itemprop="name" content="Page Title"> <meta itemprop="description" content="great description"> <!-- opengraph--> <meta property="og:title" content="Page Title"> <meta property="og:description" content="great description"> Is it possible to combine the tags/properties to reduce the code size without affecting SEO? for example <title itemprop="name">Page Title</title> itemprop

Can I Use Multiple ItemProps in a Span Tag for schema.org Rich Snippets?

拜拜、爱过 提交于 2019-11-27 01:48:39
Let's say I have the following sentence I want to add rich snippets to: I live and work in New York Since New York is both my residency and the city where I work in, I would theoretically want to tag the line like this using schema.org standards: <div itemscope itemtype = 'http://schema.org/Person'>I live and work in <span itemprop = 'homeLocation' itemprop = 'workLocation'>New York</span></div> Is it valid to have 2 itemprops in one span tag? If not, will the below work? <div itemscope itemtype = 'http://schema.org/Person'>I live and work in <span itemprop = 'homeLocation'><span itemprop =

Are there tags to specify the Google +1 story format in Google+ like og-meta for Facebook?

ⅰ亾dé卋堺 提交于 2019-11-27 00:43:29
问题 With Facebook we have the Open Graph tags that allow webmasters to specify how the story is displayed on Facebook. Is there something similar for the Google +1 button, that allows webmasters to specify the thumbnail image, description and title? Google+ seems to be ignoring the og-meta tags . 回答1: From Google+ help docs, we now have an official answer . Google uses schema.org microdata to generate rich snippets in search (and in Google+). There's a lot written about schema.org and how it

Microdata, RDFa or JSON-LD Appropriate or best usage?

送分小仙女□ 提交于 2019-11-27 00:03:03
问题 I have been wondering which of those formats is "best"? Schema.org, Microdata, and RDFa are bit of a pain to implement. They can break validation and require quite an effort to put into documents. JSON-LD is, at last for me, a way better to implement structured data. But does it work? What level of support is there for it (at least by Google)? 回答1: Schema.org is a vocabulary that can, like any other vocabulary, be used in many forms. The website http://schema.org/ has examples using Microdata

Multiple occurences of same itemprop in Microdata schema.org

↘锁芯ラ 提交于 2019-11-26 23:39:54
问题 I tested My microdata schema.org on google: The google tools did not return any error... **Item** type: http://schema.org/webpage property: url: http://127.0.0.1/ image: http://127.0.0.1/design/logo.jpg datemodified: 2014-03-05 20:12:56 text: Item 1 breadcrumb: Skip to content text: Item 2 **Item 1** type: http://schema.org/wpheader property: url: http://127.0.0.1 headline: website name image: http://127.0.0.1/design/logo.jpg description: some text **Item 2** type: http://schema.org

Google structured data error: “All values provided for http://www.example.com/ must have the same domain.”

懵懂的女人 提交于 2019-11-26 23:32:01
问题 I want to add Corporate Contacts in Google Search. I test the following code in Google's Structured Data Testing Tool, but it threw this error: https://coda-resume.herokuapp.com/ (All values provided for http://www.example.com/ must have the same domain.) Here is the JSON-LD: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Organization", "url": "https://coda-resume.herokuapp.com/", "logo": "http://www.example.com/logo.png", "contactPoint": [{ "@type":

Why use Schema.org microdata to mark up web page elements?

此生再无相见时 提交于 2019-11-26 23:18:46
I understand why and how to use Schema.org to add microdata to your site, this is not a question about that. The question is why Schema.org has support for certain things that can be marked up with simple HTML5 . Among these are Types WebPage and WebSite I can see why WebPage and WebSite would be needed, for example, to reference the page/site of a certain organization in a link, but there's no need to mark up your own page with this—the <html> tag does this. SiteNavigationElement Why not just use <nav> ? Table Just use <table> . properties WebPage/mainContentOfPage <main> element WebPage