From: eldy <>
Date: Sat, 8 Mar 2003 20:17:16 +0000 (+0000)
Subject: Added mime lib in exportable lib in awstats_exportlib.pl tool.
X-Git-Tag: AWSTATS_5_5_BETA~67
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b7843d76d5f06d923ba6493f9173c8a659e006f;p=thirdparty%2FAWStats.git
Added mime lib in exportable lib in awstats_exportlib.pl tool.
---
diff --git a/docs/awstats_compare.html b/docs/awstats_compare.html
index 619f5da9..00ec09bd 100644
--- a/docs/awstats_compare.html
+++ b/docs/awstats_compare.html
@@ -86,7 +86,7 @@
| Report OS (nb detected) | Yes (32) | Yes (29) | No (0) | ? |
| Report browsers (nb detected) | Yes (84*) | Yes (9*) | Yes (4*) | Yes (<20*) |
| Report details of browsers versions | Major and minor versions | Major versions only | Major an minor versions | Major and minor versions |
-| Report screen sizes | Yes | No | No | Yes |
+| Report screen sizes | Yes | No | No | Yes |
| Report search engines used (nb detected) | Yes (96***) | Yes (24) | No (0) | Yes (<20 ***) |
diff --git a/tools/awstats_exportlib.pl b/tools/awstats_exportlib.pl
index dc3623e8..cb4fc150 100644
--- a/tools/awstats_exportlib.pl
+++ b/tools/awstats_exportlib.pl
@@ -233,6 +233,11 @@ if ($LibToExport =~ /browsers/) {
}
if ($LibToExport =~ /mime/) {
+ if ($ExportFormat eq 'analog') {
+ foreach my $key (sort keys %MimeHashFamily) {
+ if ($MimeHashFamily{$key} =~ /(text|page|script|document)/) { print "PAGEINCLUDE *.$key\n"; }
+ }
+ }
foreach my $key (sort keys %MimeHashFamily) {
if ($ExportFormat eq 'text') {
print "$key\t$MimeHashLib{$MimeHashFamily{$key}}\n";