Community glossary?

Hi everyone, I’m interested in creating a community glossary w/in discourse. Something like this:

I understand that this functionality isn’t part of the core, but is there a plugin that already exists? Or has anyone come up with a creative way to get this done in their forum?

To clarify, I want to add a glossary to my forum – I don’t want to turn a forum into a glossary.

Thanks!

「いいね!」 2

Would making it a wiki post so what you want?

「いいね!」 1

A wiki post (for the content) with DiscoTOC (for the navigation between letters) would be a pretty good combo

I wonder if this plugin might help in some way

「いいね!」 5

It could get the job done-ish, but not exactly what I’m thinking. With a glossary page, each word would then be a link to it’s definition, or could have the definition right below the word (maybe accordian to see definition). In the former case, linkifying throughout the site could route a user to the word’s definition page, and in the latter case, to the open accordian.

The above could be done with wikis and a planned framework, but ease of community use would increase if there was a more straightforward way to add a word, rather than a topic. Also, the alphabetical sorter on the top of the page is a nice feature.

「いいね!」 2

I haven’t worked with DiscoTOC. That might be the way to make this work. Knowledge Explorer plugin is fantastic, but I have to think about how to make it work with the glossary and rest of the site.

「いいね!」 1

There is a linkify theme component. It could do what you want if it’s just a few words. If you are going to have dozens of hundreds you’ll want a plugin

「いいね!」 5

Just played around with that a little bit and added some CSS to my theme to make glossary links appear in the standard text color with a dotted underline.

a.linkify-word { 
  text-decoration-line: underline; 
  text-decoration-style: dotted; 
  color: $primary; 
  text-underline-offset: 0.1em; 
}

(Browser-compatibility for text-underline-offset is not great yet, but at least on Firefox (Desktop) and Safari it makes this look a little nicer.)

Examples:

「いいね!」 4

https://discourse.igkt.net/ フォーラムの用語集セクションに取り組んでおり、次のように作成しました。

  • 用語集エントリのカテゴリを作成します(私の場合は #glossary

  • 用語集トピックを作成します。私の場合は、用語集の各コンセプトに対して1つのトピックを作成しましたが、別の方法として、トピックを少なくしてMarkdownの見出しを使用し、アンカースタイルのリンクを使用することもできます。一意のリンクを持つものは何でも機能します。

  • 組み込みのWatched Words機能を使用して、用語集の単語(および同義語)を関連するトピックにリンクします。(残念ながら、これは手動で行う必要があります。これに関する自動化を思いつかない限り)

これはそのフォーラムの新しい機能なので、それが有用であるかどうか、用語集のカバー範囲が十分であるかどうか、そしてユーザーがこれらの単語に独自のリンクを追加する能力を妨げるかどうかについて、フィードバックが寄せられると確信しています。

用語集を実装した他の人がいれば、その方法についてぜひお聞きしたいです。

「いいね!」 3

私もこれを試みましたが、技術的および社会的な理由から、実際に機能させるのは驚くほど難しいです。

私のヒント:

  1. ウォッチワードを使用する場合は、制限的な正規表現を使用してください。そうしないと、役に立たないタイミングで適用されてしまいます。

  2. トピックテンプレートは、貢献の良い構造を奨励するのに非常に役立ちます。

  3. チャンピオンが必要です。または、自分でチャンピオンになる覚悟をしてください。大変な作業です!

「いいね!」 1

これらの2つの#theme-componentが役立つかもしれません。

サイトのドキュメントの一部としての用語集は良い考えです。その目的のために、プラグイン Doc Categories は非常に役立ちます。私は通常、ユーザーインターフェースなどに関するさまざまなドキュメントのトピックをハウツーとしてコピーします。

https://meta.discourse.org/t/auto-linkify-words/82193

https://meta.discourse.org/t/add-abbr-tags-to-words-in-posts/88394

「いいね!」 1