Email::MIME::CreateHTML::Resolver::Filesystem - finds resources via the filesystem


Email-MIME-CreateHTML documentation  | view source Contained in the Email-MIME-CreateHTML distribution.

Index


NAME

Top

Email::MIME::CreateHTML::Resolver::Filesystem - finds resources via the filesystem

SYNOPSIS

Top

	my $o = new Email::MIME::CreateHTML::Resolver::Filesystem(\%args)
	my ($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)

DESCRIPTION

Top

This is used by Email::MIME::CreateHTML to load resources.

METHODS

Top

$o = new Email::MIME::CreateHTML::Resolver::Filesystem(\%args)

%args can contain:

base

Base directory used to resolve relative filepaths passed to get_resource.

($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)

TODO

Top

 - Currently the MIME type is deduced from the file extension via MIME::Types; given we have the content available, more sophisticated strategies are probably possible

VERSION

Top

$Revision: 1.6 $ on $Date: 2006/08/24 21:41:38 $ by $Author: johna $

AUTHOR

Top

Tony Hennessy, Simon Flack and John Alden

COPYRIGHT

Top


Email-MIME-CreateHTML documentation  | view source Contained in the Email-MIME-CreateHTML distribution.