[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm

www lon-capa-cvs@mail.lon-capa.org
Sun, 20 Oct 2002 18:39:36 -0000


www		Sun Oct 20 14:39:36 2002 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  Toward bug 492 - make metadata parser results available to other modules.
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.104 loncom/publisher/lonpublisher.pm:1.105
--- loncom/publisher/lonpublisher.pm:1.104	Sat Oct 19 02:34:15 2002
+++ loncom/publisher/lonpublisher.pm	Sun Oct 20 14:39:36 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.104 2002/10/19 06:34:15 albertel Exp $
+# $Id: lonpublisher.pm,v 1.105 2002/10/20 18:39:36 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -127,13 +127,11 @@
 use Apache::lonnet();
 use Apache::loncommon();
 use Apache::lonmysql;
+use vars qw(%metadatafields %metadatakeys);
 
 my %addid;
 my %nokey;
 
-my %metadatafields;
-my %metadatakeys;
-
 my $docroot;
 
 my $cuname;
@@ -260,8 +258,6 @@
     &metaeval($metastring);
     return '<br><b>Processed file:</b> <tt>'.$fn.'</tt>';
 }
-
-#########################################
 
 #########################################
 #########################################