フィルタ

提供:MoodleDocs
2007年10月25日 (木) 17:22時点における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に含まれるフィルタは:

  • 活動名オートリンク - This scans text for activity titles that exist in the same course and creates a link.
  • 代数表記法 - This filter will convert algebra code into GIF images. It requires the tex filter to be installed (see below). Note also that your system must also include the following Perl module: HTML::Entities.pm
  • データベースオートリンク - As the name suggests, this filter enables automatic linking of Database module entries.
  • メールプロテクション - This filter scans the text for any email addresses. Where found they are changed to reduce the chance of being added to a spammers list.
  • 用語集オートリンク - As the name suggests, this filter enables automatic linking of Glossary module entries. In addition to this filter, individual glossary entries should have the "This entry should be automatically linked" box checked.
  • 多言語コンテンツ - This filter enables resources to be created in multiple languages. 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

関連情報