Learn secrets used by countless organizations to win
contracts through an RFP-based selection process.
Latest Procurement News & Bids Opportunities from Federal Agencies
FAQ about RFP and Proposals:
MADM-Based ERP Software Selection
Compare ERP NEW!
Sealed Bids NEW!
What is Competitive Procurement?
Uniform Contract Format (UCF)
What is Sole Source?
Abstract vs. Executive Summary: Discover The Main Differences NEW!
The Bid/No-Bid Analysis NEW!
Best-known Readability Scores
Bormuth Readability Score
List of Work Words NEW!
47 FREE Affidavit Form Samples NEW!
Bidder Responsibility Determination
Bid Responsiveness Determination
Food Court RFP Examples NEW!
Meta Tag Generator NEW!
More FAQ...
I've written a meta tag generator script in PERL that does the following:
In order to execute the meta tag generator script, you need to install a PERL interpreter. You can find a PERL distribution for Windows, Mac, and Unix-like platforms at the official site of the PERL programming language.
The meta tag generator script can obviously be adapted to provide for a better—i.e., richer—metatag DESCRIPTION value—the ideal length being between 50 and 150 characters.
#
# META TAG GENERATOR—GENERATING META DESCRIPTION AND TITLE TAGS AUTOMATICALLY
# How to Bulk Generate Meta Description and Title Tags for Every Page Based Solely on the Web Page Name
#
$dir = '.\pages';
my $LineTerminator = $/;
opendir(DIR, $dir) or die "Can't open directory $dir ERR: $!";
foreach $file (sort grep(/^.*\.(aspx?|html?)$/,readdir(DIR))) {
&Process($file);
}
closedir DIR;
sub Process{
local $file = shift;
print "\n$file\n";
local $title = &FormatTitle($file);
local $/ = undef;
open(FILE,"<$dir\\$file");
local $content = ;
close(FILE);
local $/ = $LineTerminator;
$content =~ s#[\n\r]##gm;
# Replace title with properly formatted filename
$titletag = &ReplaceTag($title,'title');
# Replace description with properly formatted filename
local $description = $title;
$descriptiontag = &ReplaceTag($description,'description','content');
$content =~ s##\n#igm;
open(DEST,">$dir\\$file");
print DEST $content;
close(DEST);
print "$titletag\n$descriptiontag\n";
}
sub FormatTitle{
local $title = shift;
# Get rid of file extension
$title =~ s/\.(aspx?|html?)//gi;
# Replace dash with space
$title =~ s/[\-]+/ /gi;
# Capitalize words of at least 3 characters
$title =~ s/ ([^ ]{3,})/ \u\1/gi;
return $title;
}
sub ReplaceTag{
local $replacement = shift;
local $tag = shift;
local $attribute = shift;
if ($attribute) {
# tag before attribute
$content = "${1}${replacement}${3}" if ($content =~ m#(.*]*name="${tag}"[^>]*${attribute}=")([^"]*)("[^>]*>.*)#i);
# tag after attribute
$content = "${1}${replacement}${3}" if ($content =~ m#(.*]*${attribute}=")([^"]*)("[^>]*name="${tag}"[^>]*>.*)#i);
} else {
$content = "${1}${replacement}${3}" if ($content =~ m#(.*<${tag}[^>]*>)([^<]*)(${tag}>.*)#i);
}
return $content;
}
# Meta Tag Generator Script
Searches related to Free Company Profile Template:
Meta Tag Generator |
Best Meta Tag Generator |
Free Meta Tag Generator |
Meta Tag Generators |
Seo Meta Tag Generator |
Good Meta Tag Generator |
Effective Meta Tag Generator |
Meta Tags Generator |
Meta Generator |
Meta Generator Tag |
Meta Description Generator |
Metatags Generator |
Metatag Generator |
HTML Meta Tags Generator |
HTML Meta Generator |
Meta Content Generator |
Meta Tage Generator |
Meta Tag Generator Script |
Meta Title Generator |
Tags Generator |
Generator Meta Tag |
Free Meta Tag Generator Script |
Generate Meta Tags |
Generate Meta Tag |
Free Meta Tags Generator |
Meta Tag Generator Script Example |
Meta Data Generator |
Meta Tags Generators |
Metadata Generator |
Tag Generator |
Meta Tags Creator |