#!/usr/bin/perl -w use CGI::Carp 'fatalsToBrowser'; use strict; use warnings; my $adv = "Advertise your script here!"; my $adminmail = "sulfericacid\@qwest.net"; use CGI qw/:standard/; print header, start_html(), start_form, "Email Address: ",textfield('usermail'),p, "Author: ",textfield('author'),p, "Distributor: ",textfield('distributor'),p, "Copyright: ",textfield('copyright'),p, "Abstract: ",textfield('abstract'),p, "Keywords: ",textfield('keywords'),p, "Description: ",textfield('description'),p, "Distribution: ",textfield('distribution'),p, "Robots: ",textfield('robots'),p, "Rating: ",textfield('rating'),p, "Language: ",textfield('language'),p, submit, end_form, hr; my $abstract = param('abstract'); my $usermail = param('usermail'); my $author = param('author'); my $distributor = param('distributor'); my $keywords = param('keywords'); my $description = param('description'); my $distribution = param('distribution'); my $robots = param('robots'); my $rating = param('rating'); my $language = param('language'); my $copyright = param('copyright'); my $tags =''; if (param('abstract') ne "") { $tags .= qq(<meta name="abstract" content="$abstract">
); } if (param('author') ne "") { $tags .= qq(<meta name="author" content="$author">
); } if (param('distributor') ne "") { $tags .= qq(<meta name="distributor" content="$distributor">
); } if (param('copyright') ne "") { $tags .= qq(<meta name="copyright" content="$copyright">
); } if (param('keywords') ne "") { $tags .= qq(<meta name="keywords" content="$keywords">
); } if (param('description') ne "") { $tags .= qq(<meta name="description" content="$description">
); } $tags .= qq(<meta name="generator" content="$adv">
); if (param('robots') ne "") { $tags .= qq(<meta name="robots" content="$robots">
); } if (param('language') ne "") { $tags .= qq(<meta name="language" content="$language">
); } if (param('distribution') ne "") { $tags .= qq(<meta name="distribution" content="$distribution">
); } if (param('rating') ne "") { $tags .= qq(<meta name="rating" content="$rating">
); } $tags =~ s//>/; $tags =~ s/
//; print $tags; print hr; print end_html();