Meta keywords and description tag

Greetings,
So, I have built this simple discussion board and now, what do I do about the keywords and description meta tags? Is there a way to feed content into them dynamically? How would you generate keywords (for meta keywords tag) on a page if you don’t even know the content that page is going to hold? Or should I forget about those tags and just leave them empty?
Thanks.

Hello Jake and thanks for the reply. Well, actually my application gets all the necessary data before I even output the heading of the page. So, I got all the data. I apologize for not being clear enough. Okay, I got all the data.

Ex.:
I have a discussion board. And someone opens a new thread, right? I cannot know what kind of information that thread is going to be about, so I could only guess. I just looked at sitepoint’s source code and I see that for the “meta description” they user the subject/title of the thread. And they use the same subject/title for the “meta keywords”, plus they add the name of the forum and a few other keywords at the end, which they just assume. Well, they do the right thing. If the forum name is “Web development” you can safely assume they expect their audience to search for things like “CSS, HTML, PHP, MySQL” and such.

I guess what I was interested in is some kind of a retrieval mechanism that would count density of each word that a person used in his thread (excluding the stop words, obviously), and they, those keywords with the highest density and occurrence would be selected and used in the “meta keywords”.

Well, why do I even care about meta keywords tag since it is almost not used in page ranking and such.

Anyways, thanks for the contribution, very much appreciated.

Alex.

Here’s your problem:

How would you generate keywords (for meta keywords tag) on a page if you don’t even know the content that page is going to hold?

Your current application sounds like it has the following process:

  1. Output the top of the page
  2. Do the necessary processing
  3. Output the content
  4. Output the bottom of the page

You want to change that to:

  1. Do the necessary processing
  2. Output the top of the page
  3. Output the content
  4. Output the bottom of the page

That way the top of the page can access variables set by the page processing.