[LON-CAPA-cvs] cvs: modules /gerd/usagestats domain_kinds.tab eval_domains.pl

www www@source.lon-capa.org
Wed, 20 Oct 2010 15:41:58 -0000


www		Wed Oct 20 15:41:58 2010 EDT

  Modified files:              
    /modules/gerd/usagestats	domain_kinds.tab eval_domains.pl 
  Log:
  Updating Usage Stats
  
  
Index: modules/gerd/usagestats/domain_kinds.tab
diff -u modules/gerd/usagestats/domain_kinds.tab:1.6 modules/gerd/usagestats/domain_kinds.tab:1.7
--- modules/gerd/usagestats/domain_kinds.tab:1.6	Tue Nov 11 23:54:08 2008
+++ modules/gerd/usagestats/domain_kinds.tab	Wed Oct 20 15:41:58 2010
@@ -1,3 +1,19 @@
+otterbein:Otterbein:U
+clemson:Clemson:U
+pearson:Pearson:PU
+tuc:Clausthal:U
+elliott:Elliott:HS
+logan:Logan:HS
+denison:Denison:U
+aislagos:AIS Lagos:HS
+troy:Troy:U
+valpo:Valpo:U
+smuhsd:San Mateo:HS
+lssu:Lake Superior:U
+lfea:Lake Fenton:PR
+mamkschools:Mamaroneck:HS
+uchicago:Chicago:U
+d211:Township:HS
 birmingham:Birmingham Public Schools:HS
 ufm:Johann Wolfgang Goethe Universitaet Frankfurt am Main:U
 vinton:Vinton County Public Schools:HS
Index: modules/gerd/usagestats/eval_domains.pl
diff -u modules/gerd/usagestats/eval_domains.pl:1.3 modules/gerd/usagestats/eval_domains.pl:1.4
--- modules/gerd/usagestats/eval_domains.pl:1.3	Tue Nov 11 23:54:08 2008
+++ modules/gerd/usagestats/eval_domains.pl	Wed Oct 20 15:41:58 2010
@@ -2,6 +2,7 @@
 while ($line=<IN>) {
     chomp($line);
     my ($domain,$name,$type)=split(/\:/,$line);
+    if ($domaintype{$domain}) { print "\n --> Already have $domain\n"; next; }
     if ($type) { $domaintype{$domain}=$type; }
     if ($type=~/^U/) {
 	push @u,$name;