I use a cck text field as the body and a separate cck text field as teaser the teaser of nodes. So "Generation source:" = "node body" or "node teaser" won’t work for me (and I guess, for many other drupal users).
Wouldn’t it be great if one could select any cck field (that is applicable) as source for automatic meta tags content generation?
Comments
Comment #1
melon commentedI managed to accomplish this by implementing hook_nodewords_tags_alter():
where
$node->field_teaseris the CCK field used for teaser content. This tiny implementation assumes that only one value is set to this teaser field and it only sets the meta description. Please note that this is quite untested yet, and there might be more elegant and less resource extensive solutions as well.Comment #2
Guo commentedany update? I still don't know how to generate meta tags from cck text field...
Comment #3
damienmckennaThis won't be in the next release, so you should try using the hook described in #2 above.
Comment #4
damienmckennaComment #5
damienmckennaI'm going to draw a line in the sand and say that this won't be done, instead I'm going to work on re-adding tokens support: #1380362: Re-implement Token integration