skx has asked for the wisdom of the Perl Monks concerning the following question:
As part of a markdown sharing service, which is written in Perl using CGI::Application, I needed to support :emojis:
Looking on CPAN I couldn't find anything suitable, so I hacked together a simple module which I've called HTML::Emoji, which attempts to parse HTML, using HTML::TokeParser to do the heavy work.
It isn't unusual for me to write little toy modules like this, but mostly the are designed to solve a specific problem that I have and don't seem generally useful.
For this I'm unsure though, does it seem like a useful module or not?
- Source HTML::Emoji
As you can see most of the work here is knowing what is a valid token and what is not. Obviously if I did release it I'd need to bundle up the images too, along with test-cases, etc.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Would there be any interest in HTML::Emojis
by Anonymous Monk on Feb 19, 2014 at 21:11 UTC | |
by skx (Parson) on Feb 19, 2014 at 23:25 UTC | |
Re: Would there be any interest in HTML::Emojis
by Anonymous Monk on Feb 20, 2014 at 17:07 UTC | |
by skx (Parson) on Feb 21, 2014 at 08:18 UTC | |
by Your Mother (Archbishop) on Feb 21, 2014 at 18:36 UTC | |
by mla12 (Acolyte) on Jan 27, 2015 at 00:19 UTC |