フィルタ

提供:MoodleDocs
2007年10月28日 (日) 17:20時点におけるMitsuhiro Yoshida (トーク | 投稿記録)による版 (→‎標準フィルタ)
移動先:案内検索

作成中です - Mitsuhiro Yoshida 2007年10月20日 (土) 10:44 (CDT)

ロケーション: 管理 > モジュール > フィルタ

フィルタは、入力されたテキストを、多くの場合複雑で異なる形に自動変換します。例えば、リソースのタイトルを関係するリソースにハイパーリンクできます。また、mp3ファイルを指したURIを、オーディオの停止や巻き戻しのできるフラッシュコントロール埋め込みのウェブページに変換できます。可能性は無限大で、Moodleに含まれた数多くの標準フィルタおよびMoodle.org Modules and plugins databaseで利用できる多くの特別フィルタがあります。

フィルタを有効にする

Moodle 2.0のフィルタ管理

フィルタを有効にするには:

  1. 管理 > モジュール > フィルタにアクセスしてください。
  2. フィルタ管理ページで、あなたが有効にしたいフィルタの反対側にある「閉じた目のアイコン」をクリックして「開いた目のアイコン」にしてください。
  3. 上/下矢印を使用して、フィルタが適用される順番を並び替えてください。

いくつかのフィルタには、設定カラムのリンクでアクセス可能な付加的な設定があります。

メモ: 「管理 > アピアランス > フィルタ設定」で1つ以上のフィルタに適用される設定を変更することができます。

標準フィルタ

標準的なMoodleに含まれるフィルタは:

  • 活動名オートリンク - テキストをスキャンして、同一コースにある活動タイトルへのリンクを作成します。
  • 代数表記法 - このフィルタでは、代数表記をGIFイメージに変換します。Texフィルタがインストールされている必要があります ([[#Tex表記法|下記をご覧ください])。あなたのシステムに次のPerlモジュールがインストールされている必要もありますので注意してください: HTML::Entities.pm
  • データベースオートリンク - フィルタ名が示すように、このフィルタではデータベースモジュールエントリのオートリンクを有効にします。
  • メールプロテクション - このフィルタでは、テキスト内のすべてのメールアドレスをスキャンします。メールアドレスが発見された場合、そのメールアドレスが変更され、スパムリストに追加される可能性を減らします。
  • 用語集オートリンク - フィルタ名が示すように、このフィルタでは用語集モジュールエントリのオートリンクを有効にします。加えてこのフィルタでは、個々の用語集エントリで「エントリを自動的にリンクさせる」ボックスをチェックしてください。
  • 多言語コンテンツ - このフィルタでは、リソースを多言語で作成できるようにします。It looks for <span lang="xx" class="multilang">...</span> tags which indicate that a text contains multiple languages. Then it selects and outputs the best language for the current user. The language of the resource will change when the user changes their selected Moodle language. Please note: going to the past, the multilang filter supported the <lang> tag. Then, officially, we changed it to the standard HTML <span> tag and the <lang> solution is now deprecated.
  • マルチメディアプラグイン
  • リソース名オートリンク - The titles of Resources can automatically become hyperlinks that take you to the relevant resource within the same course.
  • Tex表記法
  • Tidy - This filter checks whether HTML code is XHTML compliant, tidying where necessary. To make this filter work you need to have PHP compiled with the libtidy option; see http://www.php.net/tidy. The Using Moodle discussion Tidy Filter for Moodle 1.5 contains more details.
  • Wikiページオートリンク
  • ワードセンサーシップ - This filter "blacks out" words found on a list.

非標準フィルタ

Filters are one of Moodle's pluggable resources and may be added or removed simply by using a file manager to add or remove them from the /filters directory. Moodle detects those that are present and makes them available to use.

  • Jmol - for interactive 3D viewing of molecular structures
  • Code Syntax Highlighting - for more readable excerpts of programming languages including PHP, HTML, CSS, and XML amongst many others

関連情報