# תמיכה ב-schema.org QAPage ותוצאות עשירות של Google

**URL:** https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813
**Category:** Feature
**Tags:** solved
**Created:** [28 בספטמבר,‏ 2015,‏ 1:38am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813 "2015-09-28T01:38:47Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [28 בספטמבר,‏ 2015,‏ 1:38am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/1 "2015-09-28T01:38:47Z")

</div>

If someone lands on the top post of a topic from a web search…

 ![](https://global.discourse-cdn.com/meta/original/3X/6/3/635c2ecc18ed9da531b7f17ef17807348429daa4.png)

…they might not easily realize that the topic is solved. Replicating in the topic title the checkmark from the category list would help.

 ![](https://global.discourse-cdn.com/meta/original/3X/8/7/87d08ae2685baf0cdd4e80d3c964c4bf8bf6ac20.gif)

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [28 בספטמבר,‏ 2015,‏ 2:52am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/2 "2015-09-28T02:52:18Z")

</div>

I think this is a solid idea. I’m wondering if there’s a non-sucky way of indicating in the Google search results that the topic includes an answer, too. Sticking `[SOLVED]` on the topic title isn’t great, IMO, but I must say I do notice it in search results and tend to prefer them because

 ![this sucks](https://global.discourse-cdn.com/meta/original/3X/0/f/0f8988a83271cc6ae762ab8131ccf9973c1051c7.png)

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [28 בספטמבר,‏ 2015,‏ 3:46am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/3 "2015-09-28T03:46:02Z")

</div>

> [@mpalmer](#):
>
> I’m wondering if there’s a non-sucky way of indicating in the Google search results that the thread includes an answer, too.

I doubt it. Not even with StackExchange do you see this type of thing. I’m pretty sure if it was possible, they’d be doing it. I’d love it if someone proved me wrong though, as this would indeed be a very handy feature. Google’s [Rich Snippets](https://developers.google.com/structured-data/) seems like the place to start digging.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [28 בספטמבר,‏ 2015,‏ 5:18am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/4 "2015-09-28T05:18:03Z")

</div>

Google probably honors the accepted answer for SO results.

I agree we can include the glyph in the title and header @sam on the page itself, we do that for lock, unlisted, etc don’t we?

---

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [28 בספטמבר,‏ 2015,‏ 5:21am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/5 "2015-09-28T05:21:15Z")

</div>

Right, the closed lock glyph is present in the topic title - [example](https://meta.discourse.org/t/change-private-message-to-message-individual/26795).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [28 בספטמבר,‏ 2015,‏ 5:27am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/6 "2015-09-28T05:27:49Z")

</div>

Might get rather noisy if a topic is closed and solved, though. Maybe in that case just show closed.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [28 בספטמבר,‏ 2015,‏ 5:32am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/7 "2015-09-28T05:32:34Z")

</div>

> [@codinghorror](#):
>
> Might get rather noisy if a topic is closed and solved, though

It would be similar to the current Closed and Pinned

 ![](https://global.discourse-cdn.com/meta/original/3X/0/5/05614bbd7b407c1da1054f9fb2ffed08aa498bb1.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [18 באוגוסט,‏ 2016,‏ 8:35am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/8 "2016-08-18T08:35:57Z")

</div>

We should consider this as well to enhance Solved.

---

<div class="post-metadata">

### Author: ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### Post date: [9 בדצמבר,‏ 2017,‏ 12:00am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/9 "2017-12-09T00:00:37Z")

</div>

[https://github.com/discourse/discourse-solved/pull/69](https://github.com/discourse/discourse-solved/pull/69)

Opened a pull request to solve this issue. Right now, it adds `[✔]` to the HTML title as shown on Google and in the browser tabs. It does not modify the top bar, or the topic list, since the goal here is SEO. Which should it add, though?

_Poll ([view on site](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/9))_

Note that HTML title tags are restricted to text (which includes emoji). So we can’t use the same fontawesome glyph for this as on the page, though it’s pretty well approximated.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [21 בספטמבר,‏ 2018,‏ 6:16am UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/10 "2018-09-21T06:16:02Z")

</div>

I think the correct approach here is:

1. Introduce [QAPage - Schema.org Type](https://schema.org/QAPage) which is the best anyway. If it fits nicely for solved.

2. Any mucking with title should be optional default off

Stack Overflow do not do “title” munging, Quora do not do title munging, it makes little sense for us to add such a radically different default.

---

<div class="post-metadata">

### Author: ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### Post date: [5 בנובמבר,‏ 2018,‏ 6:13pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/11 "2018-11-05T18:13:25Z")

</div>

[It’s been shipped.](https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fforum.bors.tech%2Ft%2Fbuildbot-bors-github-still-expecting-a-status-check-after-successful-bors-try%2F242)

[@staff](https://meta.discourse.org/groups/staff) please removed #planned tag?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [10 בנובמבר,‏ 2018,‏ 11:00pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/12 "2018-11-10T23:00:04Z")

</div>

This topic was automatically closed after 5 days. New replies are no longer allowed.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [3 בדצמבר,‏ 2018,‏ 9:29pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/13 "2018-12-03T21:29:27Z")

</div>



---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [3 בדצמבר,‏ 2018,‏ 9:30pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/14 "2018-12-03T21:30:40Z")

</div>

Hey @notriddle, this doesn’t seem to be working right now. Your example, as well as [a random solved topic from Meta](https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fmeta.discourse.org%2Ft%2Fupgrade-changed-category-image-sizes%2F103157) is getting an error in Google’s test.

---

<div class="post-metadata">

### Author: ![Jay91](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jay91/32/135181_2.png) [@Jay91](https://meta.discourse.org/u/Jay91)
#### Post date: [4 בדצמבר,‏ 2018,‏ 5:34pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/16 "2018-12-04T17:34:21Z")

</div>

Checking the search console of my website and found this issue. i know i have to fix it by some way but how ?

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/1/3178737897013dc15508d55d493689ad4350ca86.png)

---

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [4 בדצמבר,‏ 2018,‏ 12:43pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/17 "2018-12-04T12:43:15Z")

</div>

Yesterday (Dec, 3) Google Webmaster’s announce that they developed a new rich result type for question and answer sites. Search results for eligible Q&A pages display a preview of the top answers. This new presentation helps site owners reach the right users for their content and helps users get the relevant information about their questions faster.

When I read “expert forums” I think on all discourse sites 🥰 …

> Frequently, the information they’re looking for is on sites where users ask and answer each other’s questions. Popular social news sites, **expert forums** , and help and support message boards are all examples of this pattern.
> 
> [![\ 640x572](https://global.discourse-cdn.com/meta/original/3X/f/2/f27a7ccd83a3043d4717a302003675114cf36ebc.png)](https://4.bp.blogspot.com/-pcpfxUUjWVM/XAVqYtwL3EI/AAAAAAAADGU/WeZWE_cOqgM7IqspMFAFrhmV1yAnlw1CACLcBGAs/s1600/Screen%2BShot%2B2018-10-23%2Bat%2B3.31.54%2BPM.png)  
> A screenshot of an example search result for a page titled “Why do touchscreens sometimes register a touch when …” with a preview of the top answers from the page.

Well… maybe we can develop something for this:

```javascript
<script type="application/ld+json">
  {
    "@context": "http://schema.org",
    "@type": "QAPage",
    "mainEntity": {
      "@type": "Question",
      "name": "How many ounces are there in a pound?",
      "text": "I have taken up a new interest in baking and keep running across directions in ounces and pounds. I have to translate between them and was wondering how many ounces are in a pound?",
      "answerCount": 3,
      "upvoteCount": 26,
      "dateCreated": "2016-07-23T21:11Z",
      "author": {
        "@type": "Person",
        "name": "New Baking User"
      },
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "1 pound (lb) is equal to 16 ounces (oz).",
        "dateCreated": "2016-11-02T21:11Z",
        "upvoteCount": 1337,
        "url": "https://example.com/question1#acceptedAnswer",
        "author": {
          "@type": "Person",
          "name": "SomeUser"
        }
      },
      "suggestedAnswer": [
        {
          "@type": "Answer",
          "text": "Are you looking for ounces or fluid ounces? If you are looking for fluid ounces there are 15.34 fluid ounces in a pound of water.",
          "dateCreated": "2016-11-02T21:11Z",
          "upvoteCount": 42,
          "url": "https://example.com/question1#suggestedAnswer1",
          "author": {
            "@type": "Person",
            "name": "AnotherUser"
          }
        }, {
          "@type": "Answer",
          "text": " I can't remember exactly, but I think 18 ounces in a lb. You might want to double check that.",
          "dateCreated": "2016-11-06T21:11Z",
          "upvoteCount": 0,
          "url": "https://example.com/question1#suggestedAnswer2",
          "author": {
            "@type": "Person",
            "name": "ConfusedUser"
          }
        }
      ]
    }
  }
</script>

```

What do you think?

> **References**
>
> - [https://webmasters.googleblog.com/2018/12/rich-results-expands-for-question.html](https://webmasters.googleblog.com/2018/12/rich-results-expands-for-question.html)
> - [https://developers.google.com/search/docs/data-types/qapage](https://developers.google.com/search/docs/data-types/qapage)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [4 בדצמבר,‏ 2018,‏ 2:55pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/18 "2018-12-04T14:55:09Z")

</div>

This was already implemented in the discourse-solved plugin ([PR](https://github.com/discourse/discourse-solved/pull/69) by @notriddle). If you view [this topic](https://meta.discourse.org/t/limit-consecutive-replies-for-topic-owner/103405/4) as googlebot, you will find this in the head:

```plaintext
<script type="application/ld+json">
{
  "@context": "http:\/\/schema.org",
  "@graph": [
    {
      "@type": "QAPage",
      "name": "Limit consecutive replies for topic owner?"
    },
    {
      "@type": "Question",
      "name": "Limit consecutive replies for topic owner?",
      "text": "Hi, \nI can see that the Limit Consecutive Replies is set to 3 and it does make sense in general but in our community, some users have started small personal \u201cBlogs\u201d in our Book o Remembrance. the creator is generally speaking the only one posting. These users are now limited to 3 posts \nIs this &hellip;",
      "upvoteCount": 2,
      "answerCount": 3,
      "dateCreated": "2018-12-03T22:44:18.304Z",
      "author": {
        "@type": "Person",
        "name": ""
      },
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes! Agreed, we ran into this situation early on and added a new rule that \n\nif you created the topic\nyou can reply as many times as you like to it\n\n<a class=\"mention\" href=\"\/u\/nbianca\">@nbianca<\/a> made this change today or yesterday it is already in, so pull latest to get it.",
        "upvoteCount": 9,
        "dateCreated": "2018-12-04T02:36:30.988Z",
        "url": "https:\/\/meta.discourse.org\/t\/limit-consecutive-replies-for-topic-owner\/103405\/2",
        "author": {
          "@type": "Person",
          "name": "codinghorror"
        }
      }
    }
  ]
}
</script>

```

And in google’s results tester:

 ![51](https://global.discourse-cdn.com/meta/original/3X/7/b/7baa7c01e7892110a994e60f5490cb883703a0c2.png)

It looks like we have some errors in the implementation though… google’s testing tool [reports issues](https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fmeta.discourse.org%2Ft%2Flimit-consecutive-replies-for-topic-owner%2F103405%2F4), and the escaping of backslashes looks all wrong.

---

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [4 בדצמבר,‏ 2018,‏ 7:07pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/21 "2018-12-04T19:07:06Z")

</div>

Thanks @jomaxro. Wow Sept 2015 ! I though that QAPage was new 😄

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [4 בדצמבר,‏ 2018,‏ 7:37pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/22 "2018-12-04T19:37:25Z")

</div>

Not quite (check out edits to the OP). This subject of this topic has changed a bit since it was created back in 2015. The original request was to display a checkmark in the tile of the search result. The topic only pivoted to QAPage this September (2018).

---

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [15 בינואר,‏ 2019,‏ 12:28pm UTC](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813/26 "2019-01-15T12:28:41Z")

</div>

We have some problems with `mainEntity` and I think this _[PR](https://github.com/discourse/discourse-solved/pull/74)_ may help us.

@vinothkannans please can you check it out? 🙏

[Next page](https://meta.discourse.org/t/support-schema-org-qapage-and-google-rich-results/33813.md?page=2)
