Your site is down... atal error: Call to undefined function: drupal_set_html_head() in /var/www/html/drupal-cvs-2005-03-12/modules/geshicodefilter/ GeSHicodefilter.module on line 21 Are you using an old theme?? Stefan. Op 13-mrt-05 om 13:05 heeft Mark Leicester het volgende geschreven:
Hi all,
I've just committed an emailfilter module which interprets a node as a plain text email. Depending on its configuration, it will attempt to indent and colorise threaded conversations, convert URLs into anchors and remove any extra linebreaks. It will also convert &, <, > etc. into HTML entities.
You can see an example of its use here: http://www.planetcocoon.com/
I'm using Drupal to collect email traffic to the Apache Cocoon mailing lists in an attempt to render it more attractively.
On another related topic, does anyone know how to tweak the mailhandler and listhandler to deal with the non-ASCII characters (such as ΓΈ, etc.) that come through in the usernames, subject lines and message bodies? At the moment these characters are all converted to ?. I've tried some experiments with drupal_convert_to_utf8() but I've had no luck so far.
As this is my first committed module, I'd appreciate some review; any feedback that people may have to offer would be gratefully received.
Regards, Mark