# テキストの置換と動的な更新方法

**URL:** <https://meta.discourse.org/t/how-to-replace-text-and-update-dynamically/244317>\
**Category:** Support\
**Created:** [2022 年 11 月 4 日午前 6:45 UTC](https://meta.discourse.org/t/how-to-replace-text-and-update-dynamically/244317 "2022-11-04T06:45:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)\
**Post date:** [2022 年 11 月 4 日午後 6:04 UTC](https://meta.discourse.org/t/how-to-replace-text-and-update-dynamically/244317/4 "2022-11-04T18:04:19Z")

</div>

> [@Mark\_Schmucker](#):
>
> 開示内容は将来変更される可能性があるため、100件の投稿すべてに[開示内容はこちら]を追加したいと思います。手動で追加することも可能ですが、問題ありません。しかし、将来開示内容を更新する際には、1か所だけ変更したいのです。

テキストアプローチも役立ちます。開示メッセージを「常に最新の状態」にし、警告の詳細へのリンクを貼ります。代わりに…

> 重要な開示：このトピックの主張について、当社は責任を負わず、法的責任も負わず、知識もありません。

…のようなものにするのではなく：

> 重要な開示：このトピックには、開示リスト で提供される、より多くのコンテキストが必要なコンテンツが含まれている可能性があります。

その後、更新の大部分はその1ページで行うことができます。それはDiscourseのトピック（編集・更新が容易！）にもなり得ます。🙂

---

_[View the full topic](https://meta.discourse.org/t/how-to-replace-text-and-update-dynamically/244317)._
