Which part do you actually need help with ?

I would use the <meta> keyword element as you suggested if it was a site I had control over or could be certain I was going to get well targeted keywords from.
Here's an example of retrieving the keywords using javascript.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Title</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="keywords" content="one,two,three"/>
</head>
<body>
<div>
<script type="text/javascript">//<![CDATA[
var elms = document.getElementsByTagName('meta');
for(var i=0; i<elms.length; i++)
{
if(elms[i].name.toLowerCase() == 'keywords')
{
document.write(elms[i].content);
break;
}
}
//]]></script>
</div>
</body>
</html>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>Title</title>
- <meta http-equiv="content-type" content="text/html;charset=utf-8" />
- <meta http-equiv="Content-Style-Type" content="text/css" />
- <meta name="keywords" content="one,two,three"/>
- </head>
- <body>
- <div>
- <script type="text/javascript">//<![CDATA[
- var elms = document.getElementsByTagName('meta');
- for(var i=0; i<elms.length; i++)
- {
- if(elms[i].name.toLowerCase() == 'keywords')
- {
- document.write(elms[i].content);
- break;
- }
- }
- //]]></script>
- </div>
- </body>
- </html>
Strong with this one, the sudo is.