Hi this is a wonderful feature for discourse but can we limit the number of times it appears overall in a single thread topic? If we have a discussion post asking shopify vs woocommerce then the entire thread will be occupied by the hyperlinks whenever someone mentions any of these. ![]()
We can definitely add a theme setting for this, PR welcome. I think a default limit of 3 auto links per word makes sense as a good initial default.
This feature has already been discussed couple posts above…tl;dr probably not so easy to implement.
Is there any way to disable linkify in a specific category? In my case I have a blog category which contains content from a wordpress installation. Hence I don’t want linkify to be active there.
Sure, that shouldn’t be hard I think. I can have a look. If there’s more people intereted in this feature, I’ll submit a PR with a new theme settings. If not, I can just post a code snippet that you can include into your theme manually. I’ll try to have a look next week.
Hey @sam
are there any news on this? I tried to search if there are any plans to improve the management of “lists” in theme settings but could not find anything
This is already implemented. What you see in linkify settings IS the new list management. ![]()
Thx for the note, that clarifies it ![]()
That “new” list already a great improvement!
Yet for large lists it’s still a bit of a hassle
I think an import/export feature for a simple CSV would make make a huge improvement there
Or simply pointing to a CSV URL which is pulled let’s say every 24h. or by manually by clicking a button
トピックや返信でキーワードを一度だけ挿入するオプションを追加することはできますか?
現在、トピック内のすべてのキーワードが表示されています。
投稿ごとに 1 回だけ表示させたい場合は、リンクする単語を正規表現として入力してください。例:
/WORD/,URL
トピック全体で 1 回だけ表示させることは複雑です。上記のディスカッションをご覧ください。
ありがとうございます。現在、正常に動作しています。
FA4 を削除したいのですが、現状 linkify はそれに依存しています。
リンクの先に SVG アイコンを追加する方法はありますか?
Discourse では、ある単語を自動リンク化していましたが、Discourse と書かれるたびにリンクが生成され、トピック内でリンクが過剰になるため、それを削除することにしました。時には、無関係なリンクがある方が、リンクがないよりも悪いこともあります。
ただし、このコンポーネントには素晴らしいユースケースもあります。例えば、ISBN 番号を inventaire.io の書籍説明ページに自動リンク化する場合です:
/isbn:([0-9]{13})/,https://inventaire.io/entity/isbn:$1
どういう意味ですか?Linkify テーマは FA アイコンに依存していません。
わかります。ただし、リンク化されたリンクにアイコンを追加するには FA4 を使用しています。FA5 では、その方法がわかりません。
リンクにツールチップを追加するのは簡単な改善策でしょうか?
そうすれば、以下を入力として扱えるようになります:
キーワード、リンク、ツールチップ
おそらく必要なのは abbrify プラグインでしょうか?
これらがどのように連携するかは確信が持てませんが、動作させるために少しのカスタマイズが必要かもしれません。必要であればお手伝いできます。
現在は、スクリプトに1行追加して修正しました。これでターゲットURLがリンクタイトルとして表示されるようになり、非常にスムーズに動作しています。
リンク化設定に非常に多くのエントリが含まれています。全体をエクスポートする方法はありますか?エクスポートボタンを押しても、デフォルトのリストのみがエクスポートされます。
こんにちは、@jrgong さん
Data Explorer プラグインのクエリですべて取得できます ![]()