Add Title and Description to Tags

Our forum is 2 years old and its doing well. Engagement increased over time and we have started to get some organic traffic from search engines.

Our tags are not blocked in robots.txt file and most of our organic traffic comes to tag pages. But here the problem arises, the titles and meta descriptions of tags are like this “Topics tagged coffee-beans” and we want it to be something like this “Coffee Beans: Latest Discussions”, it fulfills the user intention in search keyword and they are more likely to visit our forum.

So, is there is any plan of the discourse team to add functionality to edit tags titles and description.

9 个赞

It’s not planned, as that would make tags overlap with categories. Tags are meant to be rather lightweight, and adding a bunch of metadata makes them … less lightweight.

2 个赞

@Vikas_Dangi On our forum we are using the Discourse Tag Sidebars theme component to good effect. With this theme component, you can create a topic describing your tag and it will appear in the sidebar when browsing that tag in the navigation.

See also this topic for related discussion:

3 个赞

We’re revisiting this – I now think we should have a description for tags here, but I have mixed feelings if we need both a “short” and “long” description. What do you think @neil @sam @eviltrout ?

The description could be managed from the Info button on the tag page, along with the existing controls for renaming, synonyms, and deletion.

17 个赞

Two description boxes for a tag must be overkill in 99% of circumstances. I vote for starting with one.

13 个赞

This would be incredible!

I think it’s in line with the intention of tags being lightweight while acknowledging the fact that in order to keep a forum organized, people need to have the same definition of what a tag means and when to use it.

I think having a hidden long description could still be helpful to do things like explaining the criteria for how to use a tag. Who can add this tag? Does a parent tag need to be added as well to use this tag? Perhaps this would be particularly helpful for staff.

7 个赞

I use various sites from Stack Overflow and their tags have a short excerpt for display in locations where just some context is needed what the tag means, and a longer description for display on overview pages listing all topics on a tag. This works great IMHO for both usability and SEO.

5 个赞

A short description for tags would go a long way to help community organized forums stay coherent and consistent. I would love to see this!

3 个赞

A short description (max 255 chars) would be very helpful.
So you can provide a description for the tag and place a link to e. g. the tags homepage.
For Nextcloud we currently have 100 categories to apps for Nextcloud. Some of them have few entries and category list is huge. Therefor we like to use tags and use the description field to point users to the apps GitHub repo.

4 个赞

Awesome news, looking forward to having it so we won’t need to hack that functionality using theme components :beers: IMHO as a user, short description would be enough.

4 个赞

We have this slotted for this release, hopefully should be built in a couple of months.

9 个赞

期待!

1 个赞

是否可以通过 CSV 上传批量添加标签描述?

1 个赞

您需要遍历列表,为每个标签进行 API 调用。

1 个赞

描述也应显示在爬虫视图上,并且标题也应得到优化。

1 个赞

同意。它目前未显示给用户,似乎也没有被正确抓取。我期望描述显示在主题之上,就像在 StackOverflow 标签上一样。

这应该是新的功能建议吗?

是的,请提供一个视觉模型来帮助完善这个请求。

我没有看到让描述对用户可见的方法……例如,像类别在悬停时获得的工具提示那样。我错过了什么吗?

1 个赞

/tag/{slug} 定义的标签描述似乎仅在 /tags 和单个主题页面 /t/{slug}/{id} 上呈现。

但是侧边栏“标签”部分列出的标签不包含描述(未添加 title 属性)。

我们应该认为这是正在进行中的工作吗? :slight_smile:

1 个赞

描述可以通过点击标签页面右上角的“信息”按钮来查看(对于管理员来说,这看起来像一个编辑标签的扳手)……例如,在 official

我们有一个主题组件,可以在横幅中展示标签描述:Tag Banners

我不确定这是否是我们出于性能原因想要做的事情……尽管 @tgxworld@kris.kotlarek 可能对是否可行有更好的了解。

区别在于类别数量少得多且由管理员创建……我们不希望一个站点有 1000 个类别,即使有,由于每个类别序列化的数据量(描述、颜色、一堆设置等)过多,它们也会遇到性能问题。另一方面,标签可能是用户创建的,我们预计站点上可能会有数千个标签……因此,在大多数地方,我们通常只包含它们的名称和 ID。

2 个赞