SEO-Software von Suchmaschinenoptimierung.de

Access Stats 1.12 - Erweitern

(hier klicken, um zum Original Thread zu gelangen)
Falcon109
Hallo,

ich nutze für die Statistik meiner Webseite das Script "Access Stats 1.12" von http://www.proxy2.de

Leider wurde es nicht mehr weiterentwickelt und somit sind diverse Ausgaben von dem Script aus dem Log-File nicht mehr ganz aktuell.
Ich wollte es daher umschreiben bzw. erweitern, bin jedoch etwas gescheitert. Die Betriebssysteme konnte ich schon selbst erweitern, aber die Browser machen es mir schwer. Wer kann mir da helfen das zu erweitern?

Also hier mal den Teil vom Script wie er jetzt ist:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
if ($top_browsers eq "yes") {
 foreach $agent (@USER_AGENT) {
   if ($agent =~ /Opera/i) {
   	$browser{'Opera'}++;
	next;
   }
   elsif ($agent =~ /MSIE/i) {
   	if ($agent =~ /AltaVista/i) {
   		$browser{'AltaVista'}++;
		next;
	}
	elsif ($agent =~ /Lycos/i) {
   		$browser{'Lycos'}++;
		next;
	}
	elsif ($agent =~ /MSIE (\d)/i) {
		$browser{"Internet Explorer $1"}++;
		next;
	}
	else {
		$browser{$agent}++;
		next;
	}
    }
    elsif ($agent =~ /Mozilla/i) {
	if ($agent =~ /Mozilla\/5/i || $agent =~ /Mozilla 5/i) {
		$browser{'Netscape Navigator 6'}++;
		next;
	}
	elsif ($agent =~ /Mozilla\/(\d)/i || $agent =~ /Mozilla (\d)/i) {
		$browser{"Netscape Navigator $1"}++;
		next;
	}
	else {
		$browser{$agent}++;
		next;
	}
     }
     elsif ($agent ne "") {
     	$browser{$agent}++;
     	next;
     }
     else {
     	$browser{'NO USER AGENT'}++;
     }
 }
}



Hier mal ein Ausschnitt aus der Log-Datei:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
Wed 13-July-2005 13:10 - p54BE3FB5.dip.t-dialin.net - "Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4" - "http://www.messerschmitt-bf109.de/"
Wed 13-July-2005 13:16 - 134.247.251.199 - "Mozilla/4.0 (compatible;)" - "noscript"
Wed 13-July-2005 13:21 - callisto.alcanet.it - "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; FunWebProducts)" - "-"
Wed 13-July-2005 13:28 - blueice2n1.de.ibm.com - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)" - "http://www.messerschmitt-bf109.de/"
Wed 13-July-2005 13:33 - 194.78.189.37 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" - "-"
Wed 13-July-2005 13:34 - p1025-dng27tenjmi.fukuoka.ocn.ne.jp - "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)" - "-"
Wed 13-July-2005 13:35 - proxy-nat.bwl.de - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" - "-"
Wed 13-July-2005 13:35 - wwwproxy3.belwue.de - "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)" - "-"
Wed 13-July-2005 13:42 - ACaen-251-1-74-11.w86-195.abo.wanadoo.fr - "Mozilla/4.0 (compatible; MSIE 5.0b1; Mac_PowerPC)" - "-"
Wed 13-July-2005 13:54 - 213.140.236.102 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; ru) Opera 8.0" - "http://www.bf109.ru/links.htm"
Wed 13-July-2005 13:54 - sorompo.mavinformatika.hu - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" - "-"
Wed 13-July-2005 13:55 - eu212-87-104-61.adsl.euphonynet.be - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" - "-"
Wed 13-July-2005 14:00 - adsl-68-252-249-130.dsl.chcgil.ameritech.net - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; yplus 4.1.00b)" - "-"
Wed 13-July-2005 14:01 - p85.212.36.36.tisdip.tiscali.de - "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3" - "http://bf-109.de/"
Wed 13-July-2005 14:02 - spinner.charite.de - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" - "-"


Jetzt wäre es natürlich toll, wenn bei der Ausgabe (Beispiel: http://www.proxy2.de/demo/stat-demo.php') die neuen Browsertypen mit aufgelistet werden. Also der Firefox mit seinen Versionen und der Opera mit seinen Versionen.

Bin gespannt auf eure Vorschläge. Achja, das Script ist glaub ich Freeware oder OpenSource?! Jedenfalls steht da was von "GNU General Public License".
Na ist eh nur fürn Privatgebrauch.

Danke für Eure Hilfe!

Grüsse
Falcon
(hier klicken, um zum Original Thread zu gelangen)



Tipp: Ranking-Konzept.de - Das SEO-Forum (Forum rund um die Suchmaschinenoptimierung) der artaxo AG.
Das große Versicherungs ABC von Versicherung.de - mit allen Aspekten der Computerversicherungen!
Fan-Foren.de, die große Community mit Musikforum ist ab sofort online.