schema.org

Angular with Microdata

梦想的初衷 提交于 2019-12-21 17:31:44
问题 Does Microdata work with dynamic Angular ng-repeat items? Can I use it as: <div itemscope itemtype="http://schema.org/Product" ng-repeat="item in items"> … </div> 回答1: I have found schema validator which, for my site actually shows angular expressions: ... datePublished {{lvl_project['year']}} name "{{lvl_project['title']}}" keywords {{lvl_project['tools'].join(',')}} ... Furthermore, it does NOT show all of the ng-repeat -generated elements. This seems to me like a strong indication that the

Tool for testing Schema.org markup [closed]

邮差的信 提交于 2019-12-20 07:59:04
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Does anyone know of a good tool to test Schema.org (http://schema.org/) markup? The Google Rich Snippet tool does not support it properly. Even with the correct markup given, it says "Insufficient data to generate the preview." update: Now the Google Rich Snippet tool supports some schema.org markups. 回答1: This

How to send structured email markup using Gmail API and Javascript?

邮差的信 提交于 2019-12-20 05:15:08
问题 I'm trying to build a Javascript app that uses Gmail's API to send emails (to myself) including the structured data needed for Gmail's Inbox to recognise a hotel reservation. The goal is to be able to enter details about the reservation in an HTML form and have the app send me an email than Inbox then recognises as a hotel reservation and adds a Trip bundle to my inbox. I followed a worked example, here, that uses Google Apps Scripts to send emails from my account to myself. The script pulls

Errors in Microdata for image/logo as part of a BlogPosting

こ雲淡風輕ζ 提交于 2019-12-20 05:12:30
问题 I am having an issue getting a publisher logo and blog post image to validate using Google's Structured Data Testing Tool. Some sample markup of what I currently have is: <article class="post" itemscope itemprop="blogPost" itemtype="http://schema.org/BlogPosting"> <div class="preview"> <h2 itemprop="mainEntityOfPage headline"><a href="/blog/improving-the-patient-experience-through-the-revenue-cycle-part-1">Improving the Patient Experience through the Revenue Cycle Part 1</a></h2> <div class=

Errors in Microdata for image/logo as part of a BlogPosting

北慕城南 提交于 2019-12-20 05:12:24
问题 I am having an issue getting a publisher logo and blog post image to validate using Google's Structured Data Testing Tool. Some sample markup of what I currently have is: <article class="post" itemscope itemprop="blogPost" itemtype="http://schema.org/BlogPosting"> <div class="preview"> <h2 itemprop="mainEntityOfPage headline"><a href="/blog/improving-the-patient-experience-through-the-revenue-cycle-part-1">Improving the Patient Experience through the Revenue Cycle Part 1</a></h2> <div class=

Schema.org for acronym / abbreviation (in a glossary)

牧云@^-^@ 提交于 2019-12-20 05:12:07
问题 I'd like to mark my list of acronyms/abbreviations in my glossary of my website with Schema.org (using Microdata). Which type of Schema.org is the right one for that? I can't find any related type in the full list on schema.org. 回答1: The type DefinedTerm (which is currently in Pending, so it’s subject to change) is suitable for a word, name, acronym, phrase, etc. with a formal definition In a glossary, you would use the name property for the term, and the description property for what the

Am I allowed to use properties from Thing/CreativeWork/WebPage for an AboutPage item?

自作多情 提交于 2019-12-20 04:26:29
问题 I'm trying to learn how Microdata works and I was looking at the Schema.org website and I kinda get how the basics works because you can find some outlined examples online of the Navigations, Headers, Sidebars and Footers - but I don't understand what properties you can use with more complex item types. Let's say I have an About page on my site. Nothing fancy, you just talk about your business but there is a item type http://schema.org/AboutPage you can use. So I visit that link but to be

RDFa OfferCatalog Syntax

只愿长相守 提交于 2019-12-20 04:18:41
问题 I have been trying to find the best way to link two items together using RDFa, specifically linking a Person to multiple SoftwareApplication entries. The way I currently do this on the author page is: <div class="container text-center" vocab="http://schema.org/" typeof="Person"> ... <span property="hasOfferCatalog" typeof="OfferCatalog"> <meta property="numberOfItems" content="10" /> <span property="itemListElement" typeof="CreativeWork"> <meta property="name" content="Project Name" /> <meta

Duplicate or link to WebSite JSON-LD?

谁都会走 提交于 2019-12-20 04:08:10
问题 I'm replacing the microdata ( itemscope et al) on our sites with JSON-LD. Do I need to declare the WebSite on every page, or can I place it once on the home page? If the latter, will processors (by which I mean Google) tie each page to it automatically via the domain name, or is there some way to link to it? Given that "Linked Data" is right there in the name, I've found no examples that make use of it. They all replicate or embed the data directly in the thing that's linking. For example, I

Schema.org: What to use, Microdata or JSON-LD?

吃可爱长大的小学妹 提交于 2019-12-20 02:59:05
问题 The data markup Schema.org for search sites like Google, Yahoo!, Bing and Yandex is great for snippets. However, I perceive that most of webmasters use Microdata and almost never use JSON-LD. I learned about JSON-LD recently and I have some doubts: Could I use it without compability problems with search engine? 回答1: There can’t be a general answer: Each consumer (search engine, tool, etc.) has its own conditions (what it supports for which feature). Each syntax (JSON-LD, Microdata, RDFa, etc.