Thanks for the PR. Now it is merged. Sorry for the delay!
Looking good!
No errors in Google console: https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fmeta.discourse.org%2Ft%2Fdiscourse-2-2-0-beta8-pwa-error%2F106581
Preview (no idea how long this link will be good for): https://www.google.com/search?prvw=AHHjJUO7WRbGaPHHtHMRJbfhShyOyUOOHQ&q=previewid%3A4f63e9e8-25f5-420e-8ff3-0e8d720221cc&useragent=Mozilla%2F5.0+(Linux%3B+Android+7.1.1%3B+Nexus+6+Build%2FN6F27M)+AppleWebKit%2F537.36+(KHTML%2C+like+Gecko)+Chrome%2F66.0.3359.106+Mobile+Safari%2F537.36&filter=0&gws_rd=cr&newwindow=1&igu=1
No this usually means the answer is an image with no text.
As Jeff said, that is usually the reason we see this error. We’ve been fixing them as they’re reported. Can you link to the topic(s) flagged?
是的,“最佳答案”部分在 meta 页面上未显示。但我无法在“QAPage”架构代码中发现任何近期更改。此外,Google 的搜索预览工具也未报告任何问题。在预览中,该部分甚至能正确渲染。
我在 Stack Overflow、Quora 和其他网站上也无法看到“最佳答案”部分。因此,我认为我们在己方能做的很有限。
编辑:实际上,“最佳答案”部分在我的 Android 设备上显示正常。所以问题仅出现在桌面端。
我可以确认,Discourse 的“已解决”插件在 Google 富媒体摘要中确实仅显示最佳答案。
我也尝试过 QnA 插件,但似乎找不到一种方法既能显示多个答案(包含 1 个带投票的最佳答案),又能实现其他答案的水平滚动展示(同样带有向上投票功能)。Quora、Reddit、Stack Overflow 等许多热门论坛网站都在采用这种方式。
请参考 Quora 的截图作为示例:
我该如何在我的 Discourse 站点上实现同样的效果,让 Google 在富媒体摘要中直接显示最佳答案,以及按向上投票排序的多个答案,并且其他答案支持水平滚动?此外,Quora 在主话题下方还会显示其他相关问题,我也希望在 QnA 站点上实现同样的行为。
我真的需要让我的 Discourse 站点 的答案像上述截图那样直接显示在 Google 搜索结果页面上,其他答案支持水平滚动并带有向上投票,同时在 Google 富媒体摘要中显示相关话题及其答案数量。
有人能帮忙解决这个问题吗?
同样的问题。有人找到解决方案了吗?



