--- /Library/WebServer/twiki/bin/oops.org Sun Jan 5 03:08:17 2003 +++ /Library/WebServer/twiki/bin/oops Sun Sep 7 22:30:09 2003 @@ -39,6 +39,15 @@ my( $topic ) = &TWiki::initialize( $thePathInfo, $theRemoteUser, $theTopic, $theUrl, $query ); + # added to get metatags rendered: + my( $topic, $webName ) = &TWiki::initialize( $thePathInfo, $theRemoteUser, $theTopic, $theUrl, $query ); + my $meta = ""; + my $text = ""; + if( &TWiki::Store::topicExists( $webName, $topic ) ) { + ( $meta ) = &TWiki::Store::readTopic( $webName, $topic ); + } + #\\ + my $tmplName = $query->param( 'template' ) || "oops"; my $skin = $query->param( "skin" ) || TWiki::Prefs::getPreferencesValue( "SKIN" ); my $tmplData = TWiki::Store::readTemplate( $tmplName, $skin ); @@ -64,6 +73,11 @@ $tmplData = &TWiki::handleCommonTags( $tmplData, $topic ); $tmplData = &TWiki::getRenderedVersion( $tmplData ); + + # added to get metatags rendered: + $tmplData = &TWiki::handleMetaTags( $webName, $topic, $tmplData, $meta ); + #\\ + $tmplData =~ s|( ?) *\n?|$1|gois; # remove tags (PTh 06 Nov 2000) TWiki::writeHeader( $query );