Apache2-ApacheMobileFilter

 view release on metacpan or  search on metacpan

CHANGE  view on Meta::CPAN

for example:

j2me_midp_2_0 is AMF_J2ME_MIDP_2_0


if Parameter CapabilityList is setted with value all show all capabilies of wurfl.
Fixed some BUG

WURFLFilter 1.70
In this version you can specify on the query string of the URI of an image the 	
the percentage of width of the  device that the filter must resize 

WURFLFilter 1.61
Change algorithm to identify the UserAgent
Added Parameter DetectAccuracy to set the accuracy of device detection (default is false)


WURFLFilter 1.60
Added parameter for setting "Apache Mobile Filter" into httpd.conf
Added Parameter LoadWebPatch to set if you want to load a patch file (default is false)
Added Parameter DirWebPatch to set where you set your patch file

lib/Apache2/AMFImageRendering.pm  view on Meta::CPAN

	      	if ($ENV{ImageParamWidth}) {
				$par_width=$ENV{ImageParamWidth};
				$CommonLib->printLog("ImageParamWidth is: $par_width. To force the width of image the url must be <url image>?$par_width=<width>");
		} 
	      	if ($ENV{ImageParamHeight}) {
				$par_height=$ENV{ImageParamHeight};
				$CommonLib->printLog("ImageParamHeight is: $par_height. To force the height of image the url must be <url image>?$par_width=<height>");
		} 
	      	if ($ENV{ImageParamPerc}) {
				$par_perc=$ENV{ImageParamPerc};
				$CommonLib->printLog("ImageParamPerc is: $par_perc. To force the percentage of image the url must be <url image>?$par_perc=<percentage>");
		} 

	    $CommonLib->printLog("Finish loading  parameter");
}
sub handler    {
      my $f = shift;
      my $capability2;
      my $s = $f->r->server;
      my $query_string=$f->r->args;
      my $uri = $f->r->uri();



( run in 0.826 second using v1.01-cache-2.11-cpan-39bf76dae61 )