Hi. It would be good if the node edit form had a field to enter the META description text. It's not always desirable or make sense to use the teaser on the META DESCRIPTION tag. BTW, the module could be made clever enough to use the teaser if the node has no description.

Ok, I know that module excerpt gives more control as it allows for a teaser that are different from the content, but even then the selected teaser (which would be displayed elsewhere) may not be appropriate for the META description field.

Thanks!

Comments

Robrecht Jacques’s picture

Assigned: Unassigned » Robrecht Jacques

This seems similar to http://drupal.org/node/16970.

You make a valid point that "excerpt", "teaser" and "(meta-)description" have subtile different semantics. One has to wonder how many times someone is willing to enter almost similar text though if she has "excerpt" AND "this module with meta-description-support" installed.

I think a seperate description field for nodewords should be provided by "excerpt".

druvision’s picture

In my own private CMS, I've solved this issue in the template, by automatically putting the meta description text as the first paragraph of text and the teaser. This is what search engines seek: integrity. That what you say is what you do.

Indeed, from an SEO-perspective, the teaser can be different, but the first paragrah after the first
should better be the same as the meta description, if you want integrity.

I realize that this is not the solution for every case, but I think this should be the default, since is it is perfect for SEO.

druvision’s picture

Sorry for the bold letters - it was a mistake.

Robrecht Jacques’s picture

Is it really necessary to make the first paragraph of the body the same as the description for SEO? If this is the case, maybe nodewords should prepend the description to the body? But what about HTML then, as you said, a description doesn't have HTML in it, while I think someone would like some kind of HTML in the first paragraph of the body text.

Robrecht Jacques’s picture

Version: 4.6.x-1.x-dev » master
Status: Active » Fixed

nodewords.module now has a seperate DESCRIPTION and ABSTRACT tag in CVS-HEAD.

Note that the "nodewords" table has changed! Please read "README.txt" carefully!

Note that this is a large amount of new code. Please test and see if you encounter any bugs. Please open a new issue if you do!!

shyam2053’s picture

Is this functionality going to be added to the 4.6 version?

If not, will the CVS version work on a 4.6 Drupal installation?

Robrecht Jacques’s picture

Is this functionality going to be added to the 4.6 version?

No. Because this functionality needs a database table change, I prefer not to backport this to 4.6.

If not, will the CVS version work on a 4.6 Drupal installation?

No. Although the reason for this is quite small: I think only the 'check_output' → 'check_markup' API change. I'm not sure. I'll look into it and come back to you.

druvision’s picture

No, I've tried version 1.10 (the version before check_markup) with the DB changes, and form_group_collapsible still gives an error when trying to update a node. Version 1.9 is the last HEAD version which works OK with drupal 4.6.

Amnon
-
Personal: Bring Dolphin's Simple Joy to your Work - Job - Career
Professional: Small Business Web Hosting Strategies, Drupal Consulting / Drupal Hebrew Translation

ken123’s picture

Robrecht Jacques’s picture

Version: master » 4.6.x-1.x-dev

I think nodewords CVS-HEAD will now work in 4.6, all functionality except setting an alternative description/abstract/... for a taxonomy pages because that is not possible in Drupal 4.6 (I need hook_taxonomy('form pre')). See: http://drupal.org/node/29159.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)