angus
(Angus McLeod)
2021 年 6 月 7 日午前 6:00
1
The Mentionables plugin lets you establish a custom mention dataset. Custom mentions work the same as @users or #categories , but use data external to discourse, including linking to external urls.
Composer & Final Post view
This is just perfect for sets of Affiliate links. You can use Amazon or any other provider for that matter.
Administration View
Example Source
Currently google sheets is the only supported data source, however the plugin is designed to support any source. If you’d like to add a new source, please contact us .
Get the code
Read the documentation
Report a bug
Not sure how to install a plugin? Follow the steps here .
「いいね!」 25
Can topics be filtered by mentionables? I was thinking of creating a US state dataset, so each post can be related to a state.
angus
(Angus McLeod)
2021 年 10 月 18 日午前 7:31
3
Not currently. How are you thinking the filter would work in an abstract sense? You can estabilsh any external dataset as a mentionables set. Perhaps you can use an additional column in the data that informs how posts with custom mentionable data would be ordered. Then you’d also need to deal with situations where mutiple mentions were made in the same post. If you scoped out the feature in some detail in an abstract sense we could get a sense of how much it would take to implement it.
Originally name was optional and could be derived from og tags - this was lost during a refactor.
I’ve pushed a fix: make name optional again · paviliondev/discourse-mentionables@a7007b2 (github.com)
「いいね!」 1
OK、これを実行するためのPRをいくつか完了しました。これにより、すべてが再び稼働するようになります。
main ← api_refactor
opened 12:16PM - 01 Dec 22 UTC
* fixes the back end which broke due to dependencies.
* replacement of 3rd part… y library with official api client from Google so should be more robust going forward
* removes many redundant gems
* major simplification of code:
* higher level API allows us to get rid of token management & Plugin Store use (as per new draft Pavilion policy).
* sheets tests rewritten and take advantage of stubbing
* fixed & updated CI script to more modern core equivalent
* **NB breaking changes to settings** (necessary evil due to change of interface):
- substitutes worksheet names for gids
- substitutes spreadsheet id for spreadsheet url
- bumped to new minor version due to breaking changes (though you could argue it should be a MAJOR bump, see: https://semver.org/)
APIをGoogleの公式APIに移行し、中間gem(およびその他いくつか)を削除し、CIを追加したため、今後さらに信頼性が高まるはずです。
設定の破壊的変更に注意してください。
mentionables_google_spreadsheet_url: 「GoogleスプレッドシートのURL」
が以下に変わります。
が以下に変わります。
mentionables_google_worksheet_names: 「対象となるソースワークシート(タブ)の名前」
そして、新しい設定があります。
mentionables_google_worksheet_max_row: 「スキャンされる最大行数」
これにより、フロントエンドが修正されます(テストが追加されます)。
main ← production_fixes
opened 11:35PM - 02 Jan 23 UTC
「いいね!」 3
RGJ
(Richard - Communiteq)
2023 年 5 月 2 日午前 10:43
7
ご報告ありがとうございます。リンクを更新しました。
「いいね!」 2
frold
2023 年 5 月 2 日午前 11:55
8
なぜこんなに技術的なのですか?設定して動作させることすらできません。
スプレッドシート用のアップロードボタンがあれば、私のような平均的なユーザーでも利用できたでしょう。
または、オンラインフォームエディターがあれば。これは残念ながら、あまりにも高度すぎます。
RGJ
(Richard - Communiteq)
2023 年 5 月 2 日午後 1:11
9
一部同意します。このプラグインは確かに非常に技術的なオーディエンス向けに構築されていました。しかし、セットアップが難しいだけで、その後は逆です。
実際、Google スプレッドシートのパワーを活用して、使い慣れたエディターを使用しようとしています。
セットアップが完了すれば、ファイルをアップロードするよりもはるかに簡単な方法で、技術者でない人もプラグインを使用できます。
それは、第三者のサイトでレンダリングされた財務グラフを表示するという@froldのユースケースには適していないと思われます。Mentionablesは、そのようなユースケースを想定していません。
frold
2023 年 5 月 2 日午後 4:03
11
チャットで案内していただける方がいれば、お気軽にご連絡ください。
公開フォーラムでコードを共有するのは安全ではないと思います…
@frold ここにはサードパーティのグラフを共有するためのコードはありません。このプラグインは役に立ちません。これは、サイトがユーザーに製品のリストから検索および取得できるように設計されており、各製品ページへのリンクである灰色のバブルとして表示されます。
「いいね!」 1
frold
2023 年 5 月 2 日午後 4:40
13
Robert:
共有用のサードパーティグラフのコードはありません
わかりました。投稿にリンクが挿入されると思っていました。
このURLは画像にすることもできます。
挿入されます。
frold:
このURLは画像かもしれないと思っていました。
いいえ、ただの灰色の吹き出しに入ったつまらない説明です
ここにさらにスクリーンショットが1枚あると役立つかもしれません
これはアフィリエイトリンクのセットに最適です。
OPを更新しました。
「いいね!」 2
設定と構成に進む前に、mentionables の適切なユースケースは、法律文書の草稿であるトピックの作成であり、法律や判例への参照を含めることができ、接続されている「mentionables」スプレッドシートには関連する法律参照と判例のコレクションが含まれているということでしょうか?
「いいね!」 1
それは有力な可能性のように聞こえます。埃っぽい古い本の素敵な写真があれば、役に立ちます
「いいね!」 1
いつか、+をさらに押すことでアクセスできる同じアイテムの代替スニペットを追加したいと思っていました。
設定は以下の通りです(セットアップ手順で提供されたテストデータGoogleスプレッドシートを使用しています)。そして、現在発生しているエラーです。(どうやらプラグインが壊れているようで、開発者は料金を要求していますか?もちろん、それは問題ありません。参考までにお伝えします!)
何かお手伝いいただけることがあれば、大変助かります!
まだ動作しています。秘密鍵が -----BEGIN PRIVATE KEY----- で始まり、-----END PRIVATE KEY----- で終わることを確認してください。
「いいね!」 1
RGJ
(Richard - Communiteq)
2023 年 10 月 5 日午前 8:38
20
いいえ、動作しています。無料です。なぜそのように思われたのですか?
「いいね!」 1