New Version Of meta description (event plugin)
Posted: Sun May 03, 2009 2:11 pm
hi every body ,
i am new member of s9y. i do use meta description plugin (event plugin),
that is very good skill , but i do edit one file of that plugin to be expend this plugin.
description :
if user click on the post , plugin only import keyword and description of this post and don't import weblog keyword and description , i think better is plugin import weblog keyword and description before post keyword and description.
i do change code at line (182 - 186 ) in serendipity_event_metadesc.php file , look at default code
and new code :
i hop this change helpfully to have better SEO .
Good Luck.
i am new member of s9y. i do use meta description plugin (event plugin),
that is very good skill , but i do edit one file of that plugin to be expend this plugin.
description :
if user click on the post , plugin only import keyword and description of this post and don't import weblog keyword and description , i think better is plugin import weblog keyword and description before post keyword and description.
i do change code at line (182 - 186 ) in serendipity_event_metadesc.php file , look at default code
Code: Select all
echo '<meta name="description" content="' . htmlspecialchars($meta_description) . '" />' . "\n";
if (!empty($meta_keywords))
{
echo '<meta name="keywords" content="' . htmlspecialchars($meta_keywords) . '" />' . "\n";
}
Code: Select all
echo '<meta name="description" content="' . htmlspecialchars($default_description) . ',' . htmlspecialchars($meta_description) . '" />' . "\n";
if (!empty($meta_keywords))
{
echo '<meta name="keywords" content="' . htmlspecialchars($default_keywords) . ',' . htmlspecialchars($meta_keywords) . '" />' . "\n";
}
Good Luck.