This is a feature request, could you add the option to use the value of the $head_title variable in phptemplate if the node does not contain a teaser or a description.
Or even better, would it be possible to take the first 255 (or some other specified value) characters from the node content and just use that as the description for those of us who do no have the time to write a unique description or teaser for everyone node? This would be simmilar to what is done in the XML/RSS feeds.
Comments
Comment #1
mediafrenzy commentedI would support the automatic creation of description tag from first X characters of body text. (I haven't used nodewords yet, so I'm unsure whether anything similar is currently available).
Personally, I would like this to take place automatically, without interaction from the user.
Comment #2
Robrecht Jacques commentedI'm unsure what you mean.
nodewords takes the first 255 characters from $node->body (or rather from the "teaser") if you don't provide a meta description. Does this not work?
or do you want, assuming no meta description set, that nodewords first uses 255 chars of teaser, and if that is empty too, 255 chars from the title?
Comment #3
Robrecht Jacques commentedComment #4
Robrecht Jacques commentedUnless I don't understand what you're talking about, this is already implemented. Closing the issue. Reopen it with a bit more explanation if you think this is not the case.