Writing professional RFP letters:

Learn secrets used by countless organizations to win
contracts through an RFP-based selection process.

Get your FREE RFP Letters Toolkit, 2014 EditionGet your FREE RFP Letters Toolkit, 2014 Edition

FREE Request for Proposal (RFP) Letters, including FREE samples of Letter of Intent, Disqualification Letter, Rejection Letter, Protest Letter, and Cover Letter
Saturday April 19, 2014
RFP Evaluation CentersHome | How to write an RFP LetterHow to write an RFP Letter | FREE RFP Letters Templates and SamplesFREE RFP Letters Templates and Samples
Writing professional RFP letters, Get your RFP Letters Toolkit 2014 Edition
              Free of charge            Immediate delivery to your email            Call 1-800-496-1303 ext. 273
Get a FREE RFP Template Sample

FREE RFP Documents including:
Successfull RFPs in Construction NEW!
RFP Template
Acquisition Plan Template NEW!
RFP Cover Letter
Proposal Cover Letter
Executive Summary Template NEW!
FREE Company Profile Template
Disqualification Letter
Rejection Letter
Non-Binding Letter of Intent
Decision Matrix
No-Bid Letter
Protest Letter
Sole Source Protest Letter
Sole Source Justification & Approval (J&A)
Letter to Decline a Proposal
Contract Award Letter
 
FREE Requests for Proposals
(RFP) Template Samples:

Software RFP Template
Process ERP RFP Template
Discrete ERP RFP Template
CRM RFP Template
Accounting RFP Template

The Best
Proposal-related Book

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...Expand RFP FAQ

The Best
RFP-related Book

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

I've written a meta tag generator script in PERL that does the following:

  1. Performs the inventory of web pages located on a given folder
  2. For each web page, grabs the file name and formats it properly by:
    1. removing dashes,
    2. removing file extension, and
    3. applying proper capitalization.
  3. Replaces TITLE tag with properly formatted value generated from the file name
  4. Replaces meta DESCRIPTION with properly formatted value generated from the file name

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}[^>]*>)([^<]*)(.*)#i);
	}
	return $content;
}

# Meta Tag Generator Script


 

Read the Report that software vendors don't want you to know about
Compare

Close the window

Add our news feed to your favorites:

Add the RFP RSS feed to MyYahoo Add the RFP RSS feed to MyMSN Add the RFP RSS feed to BlogLines Add the RFP RSS feed to NewsGator



Recent Searches:

A: 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

B: 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

C: 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

D: 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

E: 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

F: 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

G: 5 | 4 | 3 | 2 | 1
 

H: 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

I: 7 | 6 | 5 | 4 | 3 | 2 | 1
 

J: 2 | 1
 

K: 1
 

L: 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

M: 5 | 4 | 3 | 2 | 1
 

N: 2 | 1
 

O: 3 | 2 | 1
 

P: 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

Q: 1
 

R: 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

S: 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
 

T: 6 | 5 | 4 | 3 | 2 | 1
 

U: 1
 

V: 2 | 1
 

W: 7 | 6 | 5 | 4 | 3 | 2 | 1
 

X: 1
 

Y: 1
 

Z: 1
 

OTHERS: 3 | 2 | 1
 
Copyright © April 2014 by RFP Evaluation Centers. All rights reserved (Saturday April 19, 2014)

RFP Evaluation Centers
740 Saint-Maurice Street, 4th floor
Montréal (Québec) H3C 1L5, Canada
1-800-496-1303 ext. 273 (toll free)
1-514-954-3665 ext. 273 (office)
1-514-954-9739 (fax)
Disclaimer:
We maintain this web site as a service we gracefully offer you, decision makers working at organizations whether requesting or providing external services and products, and who are interested in finding online free templates and samples of documents related to solicitation and selection processes. You are hereby cautioned not to consider the content provided on this web site and all its ancillary documents as a legal or contracting policy advice whatsoever. Indeed, this information should not be relied upon as a substitution for consulting a lawyer. We provide you, only as a convenience, with external references (books, links, etc.) that are not under our control. We are not responsible for their content and, therefore, assume no liability.

We are eager to help you out in your information quest, call us at our toll-free number 1-800-496-1303 ext. 273.