Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Meta Tags
Meta Tags
0
This discussion has been closed.
Comments
while (list($Name, $Content) = each($this->Meta)) { $HeadString .= ' <meta name="'.$Name.'" content="'.$Content.'" />'; }
you can use with:
$Head->Meta['Description'] = 'My beautiful forum, lots of good advices on stuff';
Or if you want to add a Meta element from a function or a class:
global $Head; $Head->Meta['Description'] = 'My beautiful forum, lots of good advices on stuff';
Currently there is no form to edit the default meta tags, and you have to edit the default.php file to set the tags in the many scenarios that the hack cannot determine which words to use.
On this site MetaTags.
Can we get this updated please?
I have a nice message 'ok... this part hasnt bee finished yet...'
A description is easy enough as it grabs the first para or so.
How it would grab keywords though is a little more complex.
Say the first 20 words longer than 7 letters?
Posted: Friday, 27 July 2007 at 9:57AM
In source code, the foreign characters are rendered like y513;Dt115;...........
One way to to do dynamic keywords (but probably intensive keyword tool) would be to check the density of keywords. then pick the top 5. So, Count all words longer than 5 letters or more, then, the words with the top 10 density words would then be put in to a meta keywords tag for each discussion. It would be nice if the quantity of letters and the quantity of keywords were a setting. Another route is to look for pairs of words too. Like: keyword tool (how often are those two words used.) So, count all words longer than 5 letters, then do all pairs of keywords and count them and identify the top 10. Again, I don't know how much this would slow down the page, but just an idea.
Don't forget you can edit keywords and descriptions by opening up the default.php file.