--- loncom/publisher/lonpublisher.pm 2001/08/17 21:25:36 1.41 +++ loncom/publisher/lonpublisher.pm 2001/08/18 16:38:37 1.42 @@ -402,7 +402,11 @@ sub publish { # -------------------------------------------------- Parse content for metadata if ($style eq 'ssi') { + my $oldenv=$ENV{'request.uri'}; + + $ENV{'request.uri'}=$target; $allmeta=Apache::lonxml::xmlparse('meta',$content); + $ENV{'request.uri'}=$oldenv; &metaeval($allmeta); }