FAQ/指南无法实现一键操作?

I’ve noticed when trying to share the FAQ/Guidelines link, it doesn’t onebox. Is there a reason for that? It seems to apply to all of the system-generated links in the hamburger menu.

Example here on meta:

https://meta.discourse.org/faq

It would seem to me that we should be able to link and onebox our own internal links!

Moving this to ux – pretty sure it goes there.

5 个赞

I just tried to OneBox the FAQ link in my forum to a test category we use for things such as this. It did not OneBox. From my understanding, if the site doesn’t have certain information (data) that is related to the link, there is nothing to OneBox. We have come across several external links that have not OneBoxed. There was an explanation regarding how OneBox works, what it does and looks for in a URL. Here’s the link to the discussion.

"Please note that Discourse does require the description tag to be present and contain enough text to summarize the page, or the target link will not onebox. "

Once you’ve pasted the link, behind the scenes, onebox visits the destination page and checks for Open Graph or oEmbed tags, including:

  • site address
  • title
  • feature image
  • description (mandatory)
  • product price

:warning: Please note that Discourse does require the description tag to be present and contain enough text to summarize the page, or the target link will not onebox.

Here’s the link:

4 个赞

因此,我们再次更新了我们的指南,而这一次,我再次被这个函数的怪异性质所困扰。指南仍然无法实现一键打包,也不具备主题的功能。此外,也无法更改 /faq 链接……它并不是常见问题解答,甚至在模板中该页面的名称也不是这个。

3 个赞