Hi all,
I want to drop some keywords meta tags into a page depending on the article being showed.
Let's say you load the page blabla.com/article.aspx?id=2 The article which id equals 2 is titled "The Wisdom of Deliberate Mistakes in Business Management"
So I would like to include the meta tags like this:
<META name="keywords" content="wisdom, deliberate, mistakes, business, management" />
So I need a way to exclude the noisy words (just like SQL Server FullText does). How would you do it?
1) Save the noise words list in webconfig? 2) Save the noise words in database? 3) Save the noise words in a text file? 4) Hardcode the noise words in code (NOT =P)
Then, how would you load those noise words to minimize the page load? And finally, how would you parse the string removing the noise words?
Thanks!
EDIT: The noise (or stop) words would be the same as SQL Server 2005 FTS uses (check noiseENU.txt in MSSQL\FTDATA) Here is the content of that file:
about
1
after
2
all
also
3
an
4
and
5
another
6
any
7
are
8
as
9
at
0
be
$
because
been
before
being
between
both
but
by
came
can
come
could
did
do
does
each
else
for
from
get
got
has
had
he
have
her
here
him
himself
his
how
if
in
into
is
it
its
just
like
make
many
me
might
more
most
much
must
my
never
no
now
of
on
only
or
other
our
out
over
re
said
same
see
should
since
so
some
still
such
take
than
that
the
their
them
then
there
these
they
this
those
through
to
too
under
up
use
very
want
was
way
we
well
were
what
when
where
which
while
who
will
with
would
you
your
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z