Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
5.x-1.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2007 at 19:20 UTC
Updated:
19 Aug 2008 at 20:05 UTC
A meta description should be allow us to go longer than 255 characters.
I propose the following change to nodewords.install:
/* Removing 255-char maximum limitation for meta tags */
function nodewords_update_6() {
$items = array();
$items[] = update_sql("ALTER TABLE {nodewords} MODIFY content TEXT;");
return $items;
}
This was necessary during a Movable Type import, which utilizes an 'Excerpt' (NOT Drupal's Teaser) as the meta description as well as in the RDF feed.
Comments
Comment #1
Robrecht Jacques commentedWill be fixed in nodewords-5.x-1.6. Thanks!
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
eshbaugh commentedHere is a method I used to circumvent this issue on 6.x.
1.) In the database within the nodewords table, increase the content field size from 255 to 1023
Note: that the content field is used for both description and keywords
2.) Edit nodewords.module and change the max_size in function _nodewords_get_settngs() from 255 to 1023.
3.) Make sure to logout and restart your browser session, had a little trouble seeing this change at first.
...Now you can enter a very long description and keywords.
Keep in mind that you will need to revisit this whenever you upgrade the nodewords (Meta Tags) module.
Comment #4
eshbaugh commentedMistakenly changed the issues settings. Just changing them back... sorry.