MetaDescription Plugin - v1.00
Author: Olaf Encke
Zikula Version: PostNuke Phoenix .760
Type: pnRender
Description:
The MetaDescription Plugin lets you set the description metatag from within modules. This is useful for SEO (Search Engine Optimization) purposes since search sites often give the description metatag as a quick site overview to the searching user.
The plugin will set the first 300 characters of the assigned string variable as the description for the site.
Support Information:
Installation:
Copy the plugin function files to their respective directories on the webserver.
function.metadesc.php -> ./modules/Xanthia/plugins/
function.setmetadesc.php -> ./modules/pnRender/plugins/
Usage:
Edit the <head>-section in the master.htm and home.htm files of the theme to include this line:
<meta name="DESCRIPTION" content="<!--[metadesc]-->"/>
Now the MetaDescription Plugin automatically supports the standard PN News module and sets the description metatag to the standard "sitename :: slogan" in all other modules.
To set a custom description edit the right pnRender template of that module and include
<!--[setmetadesc description="Mydescription"]-->
or in case of usage with variables
<!--[setmetadesc description=$var]-->
Please refer to the provided readme.txt for further usage examples.
Change Log:
1.0 - Initial Release
for PN v0.76x