What does this hack do?
[list]SEO Keywords & Description Hack is a two-functions hack makes possible to add post-specific (X)HTML page description and keywords list. If no post-specific information is given, the default blog-specific information is used instead.[/list:u]

How to use this hack?
[list]To add a post-specific description, add the following tag into your post's (X)HTML source code:

Code

<!--description My nice post-specific description.-->

Other tags are also supported for your convenience (including meta_description, see source code for details).

To add a post-specific keywords list, add the following tag with comma-separated keywords and expressions into your post's (X)HTML source code:

Code

<!--keywords keyword1,keyword2 keyword3,keyword4,etc.-->

Other tags are also supported for your convenience (including meta_keywords, see source code for details).[/list:u]

What are this hack's limitations?
[list]This hack lacks a user-friendly GUI.[/list:u]

What b2evolution versions are supported?
[list]The following implementation supports most [url=http://b2evolution.net]b2evolution[/url] versions, including 0.9.0.x (Europe, Berlin, Oslo, Madrid, Copenhagen, Paris, Amsterdam), 0.9.1 (Dawn) and should still be compatible with the yet to be release 0.9.2 (Phoenix) release without any change.[/list:u]

Implementation
[list]If you haven't created one before, create an empty conf/hacks.php and and edit it with the following code:

Code

<?php

?>

All the additional code should be copied between the above tags.

Edit your conf/hacks.php file and add the following lines at the end of it:

A user-friendly GUI is probably the most important thing to do. That should be done as a Toolbar plugin.[*]A warning message in preview mode would be interesting when those tags are missing. That can be done as a Rendering plugin.[/list:u][/list:u]

There have always been line-wrapping issues with script blocks in the _quicktags.toolbar.php file, especially when copying a sample block from a forum post, so the best/safest option might be to just open the file and copy an existing block to maintain the line-wraps in your particular editor, then replace the content of your copied block with the info from this one... Maybe?

Anyway, this block should just dump the pre-formatted starting and ending tags into the post when you press the 'SEO' button, and then you replace the CAPITAL text with your own description and keywords.

I guess separate buttons could be made for the description 'DESC' and for keywords 'KEYW'... This example drops the opening section of the block into the post, you make your edits, then you hit the button again to close the tag block. It creates a separate button for "description" and for "keywords".

Code

b2evoButtons[b2evoButtons.length] = new b2evoButton('b2evo_desc'

,'DESC'

,'<!--description REPLACE THIS WITH YOUR POST DESCRIPTION','-->'

,'W'

,'<?php echo T_('SEO Description Includer [ALT-W]') ?>'

);

b2evoButtons[b2evoButtons.length] = new b2evoButton('b2evo_keyw'

,'KEYW'

,'<!--keywords KEYWORD1,KEYWORD2 KEYWORD3,KEYWORD4,etc.','-->'

,'k'

,'<?php echo T_('SEO Keywords Includer [ALT-K]') ?>'

);

but some of us have already cluttered their admin toolbar buttons with other custom stuff and space can become an issue after a while so the single-button option might be desirable.

[*]URL;[*]title;[*]description meta tag;[*]keyword meta tag[/list:u]to increase the weight of the associated keywords appearing in the web page in their indexing algorithms. Since each post has its own keywords, it appears to be far better to associate post-specific description and keywords as in the current hack than a global, blog-specific one as in a default [url=http://b2evolution.net]b2evolution[/url] version.

I have now added a button in the backend to call a file which generates the meta-tags "description"/"keys" and then appends them with <!--description/keywords --> automatically to the textfield.

Some word's aren't keywords, so I have a blacklist. This blacklist is called keywords_bad.txt and is currently filled with german words. So if you're english, please feel free to create your own list with words. They have to be separated by a line break.

/* -------------------------------------------------------------------- */
/* :: Important :: */
/* -------------------------------------------------------------------- */
You have to use the "SEO Keywords & Description Hack" by kwa.
Otherwise b2evo won't be able to create meta-sags, so the meta-tag
generator would be useless.
Please do install the hack - it's easy!
Get it: http://forums.b2evolution.net/viewtopic.php?t=6129

/* -------------------------------------------------------------------- */
/* :: How to work with :: */
/* -------------------------------------------------------------------- */
1. When editing or writing a post you can now find a new button beside
Save/Preview called "Generate meta-tags".
By pressing the button, the script will automatically append the meta-
tags with <!-- --> into the textfield.

2. Useless words such as "you", "and", "me", "than" have nothing to do
with keywords. So we have to kill them.
All words which sould be ignored when generating the keywords-list
can be added to the list keywords_bad.txt.
Please feel free to do so!

had evers on line 63...When I added the meta codes it took me to a blank page...please help

Remove the meta codes and follow the right instructions again. If you mistype the meta codes, you're going to have a blank page again. In fact, do not type anything, use your browser's copy feature and your HTML source code editor's paste feature.

you seem like a guy that knows a lot about this plug in.
I have a question in the thread above but here is the short version of it:

I installed/implemented the hack but I have quite a trouble with figuring out on how to add the keywords code tag into my post's (X)HTML source code.

How do I get to see or display or access the post's (X)HTML source code?
Where is it in the admin?

The guy that created this topic talks about how to instal it and what to type into the (X)HTML source code of your post. But I can't figure out how to display/alter the post's HTML code.
How do you getting displayed in the admin?

General plugin knowledge: yes, you shuold unzip any plugin. With the newer pulgin you copy the complete folder to the ../blogs/plugins/ folder. With older plugins there will not be a folder but one or two files. These go in the same ../blogs/plugins/ folder.
In the backoffice a sucessfully copied plugin will show up under tools ->plugins. Some plugins need or want additional setup or toggle on/off. There should be a manual type of file accompanying the plugin.