schema.org

Testing Gmail Schemas Fails

≯℡__Kan透↙ 提交于 2019-12-05 01:59:40
问题 I'm trying to test Gmail Schemas where the sender and the recipient are the same(mine) account following the Self Testing Notes You can easily test if your markup is working correctly end-to-end by sending emails with schemas to your Gmail account. All emails where the sender and the recipient are the same account ignore the registration requirements and can be used for self-testing. but without the expected result, the "Action" button is not displayed. I have tried using both the JSON-LD and

Schema.org for closed on a holiday / given date

天大地大妈咪最大 提交于 2019-12-04 19:34:09
How do I properly markup holiday hours when a business is closed on the holiday? Normal holiday hours markup example: <li itemprop="openingHoursSpecification" itemscope="" itemtype="http://schema.org/OpeningHoursSpecification" class="holidayHours"> <span itemprop="validFrom" content="2014-05-26">Memorial Day Hours, Monday, May 26th: </span> <span itemprop="validThrough" content="2014-05-26"></span> <span itemprop="opens" content="09:00">9 am</span> - <span itemprop="closes" content="15:00">3 pm</span> </li> What is the schema.org or Google preferred way to show closed on a holiday? Would this

Using Schema.org itemprop on Facebook OG meta tags

回眸只為那壹抹淺笑 提交于 2019-12-04 16:41:06
Right now I'm using itemprop COMBINED with Facebook Open Graph <meta> tags like the following: <html class="no-js" itemscope="itemscope" itemtype="http://schema.org/WebPage"> // ... <meta property="og:type" content="website" /> <meta itemprop="name" property="og:title" content="My Title" /> <meta itemprop="image" property="og:image" content="http://example.com/socialimage.jpg" /> <meta itemprop="url" property="og:url" content="http://example.com" /> <meta itemprop="description" property="og:description" content="My description" /> <meta property="og:site_name" content="My Site"/> Is this

SPARQL to find count of grandchildren

半城伤御伤魂 提交于 2019-12-04 14:47:11
I am using the schema.org ontology. I want to return the subclasses of <http://schema.org/Event> with the number of children for each returned subclass. My query is currently returning one subclass. PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri (count(?children) as ?childrenCount) WHERE { ?uri rdfs:subClassOf <http://schema.org/Event>. ?children rdfs:subClassOf ?uri } GROUP BY ?uri I want every subclass of <http://schema.org/Event> with the number of children it has. You don't mention what “the incorrect count of its children“ is. When I run your query on the schema.org OWL

Schema.org setup for related products?

╄→尐↘猪︶ㄣ 提交于 2019-12-04 14:37:19
I would like to setup Schema.org markup for related products. I have tried this code but I have doubt in my mind: itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product" My product page is https://www.amigotrekking.com/everest-base-camp-trek.html If it’s a "functionally similar" product, use the isSimilarTo property. If it’s a "consumable" for another product, use the isConsumableFor property. If it’s an "accessory or spare part" for another product, use the isAccessoryOrSparePartFor property. If it’s a "somehow related" product, use the isRelatedTo property. So for a related

Schema.org <head> HTML markup: can I just use the meta tags?

﹥>﹥吖頭↗ 提交于 2019-12-04 12:51:52
So I was looking at Schema.org. Do I need to change my <html> tag to this <html itemscope itemtype="http://schema.org/Article"> or can I just use only the meta tags within my <head></head> block? <meta itemprop="name" content="The Name or Title Here"> <meta itemprop="description" content="This is the page description"> <meta itemprop="image" content="http://www.example.com/image.jpg"> Properties need to belong to an item. You create an item with the itemscope attribute (and the itemtype attribute can give this item a type). Without itemscope , your markup example is invalid. It is possible to

Is there a Schema.org type for SaaS or subscriptions?

给你一囗甜甜゛ 提交于 2019-12-04 11:52:13
问题 We sell a Software as a Service with a monthly subscription, I’m trying to figure out if we can provide metadata through Schema.org’s specifications. I have been considering products, but it doesn’t seem to support subscription costs. For products, Google seems to have e-commerce physical object-type stuff in mind. There is also Software applications, but that seems to be made for downloadable software rather than web-apps. What should I use? 回答1: There are different possible perspectives: It

Does Google Schema support quoted-printable encoding?

主宰稳场 提交于 2019-12-04 11:49:38
I'm trying to self-test my email schemas. My mail is sent with: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The original script tag <script type="application/ld+json"> is rendered as <script type=3D"application/ld+json"> , when I View Original the marked up email. This fails the markup tester , but when I manually remove the 3D , it passes the test. Q1 - Does Google support quoted-printable encoding? Q2 - Why does the test fail? Note: On a Rails application I use the Mandrill API to send the email. 1.) Yes, quoted-printable is supported. 2.) You're

Validation error: “The itemprop attribute was specified, but the element is not a property of any item”

南楼画角 提交于 2019-12-04 08:56:08
问题 For better SEO I need put some meta on my page like this: <!-- Schema.org markup for Google+ --> <meta itemprop="name" content="The Name or Title Here"> <meta itemprop="description" content="This is the page description"> <meta itemprop="image" content="http://www.example.com/image.jpg"> Here is the source. Then I check this code on Markup Validation Service: <!DOCTYPE html> <html> <head lang="en"> <meta itemprop="name" content="The Name or Title Here"> <meta itemprop="description" content=

Using Microdata with schema.org/OpeningHoursSpecification

被刻印的时光 ゝ 提交于 2019-12-04 06:49:34
I'm looking at http://schema.org/OpeningHoursSpecification Microdata schema for places (and more). I'm a little bit confused on the value to be used for DayOfWeek . Both classes ( OpeningHoursSpecification and DayOfWeek ) are derived from the GoodRelations Vocabulary for E-Commerce and I'm not confident with this vocabulary. Please, can you post a full example? Martin Hepp The enumerations (list of predefined values) of the GoodRelations model remain in the GoodRelations namespace, i.e. for Mondays, use http://purl.org/goodrelations/v1#Monday Here is a full example: <div itemscope itemtype=