[rt-users] Please Review this Export Script
Mike Peachey
mike.peachey at jennic.com
Mon Jun 22 15:36:32 EDT 2009
Hi all.
I have written a little script to export an RT search as text tickets
and file attachments, but the thing is I know ridiculously little about
handling MIME objects and even less about character encoding.
I would really appreciate it if you could give this little script a
once-over and give me any pointers you think are necessary to make it
actually worth using.
eg. I'm not handling non-utf8 at all right now, perl just spits
complaints about wide characters, and my handling of mime is limited to
"if it's plain/text or multipart/mixed then append to ticket text file,
otherwise save the content with the Filename".
All feedback is more than welcome.
Feel free to steal this script for your own use. Personally I'm using it
to archive a tiny little RT install. It's not going to be hosted any
more, but the content needs to be accessible for reference.
--
Kind Regards,
__________________________________________________
Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__________________________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: export.pl
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090622/5c6cba5f/attachment.pl>
More information about the rt-users
mailing list