IPA

Filters ::: filter_ipa
Maintained by Kevin Wiliarty
The Moodle IPA Filter displays X-SAMPA as unicode IPA. The intent is to offer an easy and fast way to display the International Phonetic Alphabet in Moodle.

IPA v1.0-M25 (Build: 2014051400)

Moodle 2.5
Released: Friday, 16 May 2014, 4:17 AM
# Moodle IPA Filter #

[Source URL](https://github.com/kwiliarty/moodle-filter_ipa.git)

The Moodle IPA Filter displays [X-SAMPA](http://en.wikipedia.org/wiki/X-sampa) as unicode IPA. The intent is to
offer an easy and fast way to display the [International Phonetic Alphabet](http://www.langsci.ucl.ac.uk/ipa/) in Moodle.

## Installing the filter ##

1. Download the latest version of the Moodle IPA Filter and put the ipa folder in Moodle at /filter/ipa.
2. **OR...** From your main Moodle directory: `git clone https://github.com/kwiliarty/moodle-filter_ipa.git filter/ipa`
3. In Moodle go to *Site administration > Notifications* and install the filter
4. Next go to *Site Administration > Plugins > Filters > Manage Filters*
5. Enable the IPA filter (or set it to "Off but available")
6. Test the filter by entering a string such as the following to the content of a label:

-{D@ "fIlt@r Iz "w@rkIN}-

## Fonts ##

In order to ensure that the IPA displays correctly -- especially the combining marks (diacritics) -- you will want to be
loading at least one fully compatible web font. The Moodle IPA filter ships with two fonts that you can call, or you can
use a carefully selected Google Web Font. In each case you will need to add a link to a particular style sheet in the HEAD
area of *Site administration > Appearance > Additional HTML*.

### [Gentium](http://scripts.sil.org/cms/scripts/page.php?item_id=Gentium_download) ###

Gentium is the first font listed in the 'font-family' so it is the font that will display even if you call more than one.
Gentium is a slightly fanciful serif font that is very readable even at smaller sizes -- important when you are using
unusual glyphs. [Sample](http://scripts.sil.org/cms/scripts/page.php?item_id=Gentium_samples)

To use Gentium add something like this to your *Additional HTML*:



You will need to provide the URL to your own Moodle site as the first part of the href.

### [Doulos](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=DoulosSIL_download) ###

Doulos is a somewhat compact serif font without unnecessary flourishes. Doulos is listed second in the 'font-family'.
[Sample](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=DoulosSILfont)

To use Doulos add a line like this to your *Additional HTML*:



### [Tinos](http://www.google.com/fonts/specimen/Tinos) ###

Tinos is a stylish serif font and one of only a couple Google Web Fonts that handles the spacing for the combining marks
well. To use Tinos you would add a line like this to your *Additional HTML*:



## Usage ##

Enclose X-SAMPA in curly braces with hyphens outermost: "-{" opens a stretch of X-SAMPA, and "}-" closes the stretch.

Version information

Version build number
2014051400
Version release name
v1.0-M25 (Build: 2014051400)
Can be updated to
v1.1.2-M28 (Build: 201112700) (2014111501), v1.1.2-M29 (Build: 2015112700) (2015051402), v1.1.2-M30 (Build: 2015112700) (2015112700)
Maturity
Stable version
MD5 Sum
28bb326e3a5a5243c3a2533ad38219f3
Supported software
Moodle 2.5
  • Latest release for Moodle 2.5

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Filters

  1. Make sure you have all the required versions.
  2. Download and unpack the filter plugin.
  3. Place the folder (eg "myfilter") in the "filter" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation