EmojiFilter


See ContributedFilters

Overview#

This plugin uses: http://www.emoji-cheat-sheet.com to create Emoticon icons on the page, using postTranslate

Written by David Vittor
Date 07-Feb-2015
Plugin Version 0.1
Wiki Versions 2.10.1+
Demo N/A
Details http://digitalspider.com.au/JSPWiki/Wiki.jsp?page=EmojiFilter
Issues https://github.com/digitalspider/jspwiki-plugins/issues
Plugin EmojiFilter-0.1.jar(info)
Dependencies None

Setup#

<?xml version="1.0"?>
<pagefilters>
  ... Any other filters ...
  <filter>
    <class>com.digitalspider.jspwiki.filter.EmojiFilter</class>
    <param>
      <name>iconsize</name>
      <value>20</value>
    </param>
    <param>
      <name>cssclass</name>
      <value>emoji</value>
    </param>
  </filter>
</pagefilters>

Usage#

:::smiley::: - :::train::: - :::heart::: - :::musical_note::: - :::bowtie:::
<span class="emoji">
<img height="20" weigth="20" src="[http://www.emoji-cheat-sheet.com/graphics/emojis/smiley.png]">
</span>
-
<span class="emoji">
<img height="20" weigth="20" src="[http://www.emoji-cheat-sheet.com/graphics/emojis/train.png]">
</span>
...
You can also use the Image Plugin as such:
[{Image src='http://www.emoji-cheat-sheet.com/graphics/emojis/bowtie.png' height=32 weigth=32}]

Notes#

Some other links:

Properties#

Property Description Default
baseurl The base url from which the jpegs should be linked from http://www.emoji-cheat-sheet.com/graphics/emojis/
prefix The prefix for the images
suffix The suffix for the images .png
iconsize set the width and height of the icons 20
cssclass set the css class of the icons emoji

Release History#

v0.1