Hi Guys,
I have a "need" which I would like you to consider integrating into the nodewords module.
I installed the nodewords module and added all the default meta tags (specifically focus on the description). When I create a new taxonomy term; the default meta tag description is being displayed when viewing the term page.
Won't you, please create a feature where one can use tokens to auto generate a taxonomy term description for specific vocabularies?
Here is what I think is required:
A text area where you can enter the taxonomy term's description "structure" with the token.
A list where you can select the vocabulary to which you would like to apply the "generated description".
How it should work (example scenario)
I have a vocabulary containing "locations" (state / province)
I have another vocabulary containing "vehicle types" (BMW, Audi, etc.)
I would like to select the "locations" vocabulary and enter a description in the text area; something like this: "Used cars for sale in [term-raw]".
This should then automatically add the meta description to the term page which will look like: "Used cars for sale in (selected state/province)" - eg. " "Used cars for sale in New York"
The same would go for the vehicle type vocabulary.
I would like to select the "vehicle type" vocabulary and enter a description in the text area; something like this: "Used [term-raw] for sale".
This should then automatically add the meta description to the term page which will look like: "Used (selected vehicle type) for sale" - eg. " "Used BMW for sale"
Please let me know if you might be interested in adding this type of functionality.
Also please point me in the right direction ifthis not be the correct place / module to request this.Hi Guys,
I have a "need" which I would like you to consider integrating into the nodewords module.
I installed the nodewords module and added all the default meta tags (specifically focus on the description). When I create a new taxonomy term; the default meta tag description is being displayed when viewing the term page.
Won't you, please create a feature where one can use tokens to auto generate a taxonomy term description for specific vocabularies?
Here is what I think is required:
A text area where you can enter the taxonomy term's description "structure" with the token.
A list where you can select the vocabulary to which you would like to apply the "generated description".
How it should work (example scenario)
I have a vocabulary containing "locations" (state / province)
I have another vocabulary containing "vehicle types" (BMW, Audi, etc.)
I would like to select the "locations" vocabulary and enter a description in the text area; something like this: "Used cars for sale in [term-raw]".
This should then automatically add the meta description to the term page which will look like: "Used cars for sale in (selected state/province)" - eg. " "Used cars for sale in New York"
The same would go for the vehicle type vocabulary.
I would like to select the "vehicle type" vocabulary and enter a description in the text area; something like this: "Used [term-raw] for sale".
This should then automatically add the meta description to the term page which will look like: "Used (selected vehicle type) for sale" - eg. " "Used BMW for sale"
Please let me know if you might be interested in adding this type of functionality.
Also please point me in the right direction ifthis not be the correct place / module to request this.
Comments
Comment #1
JCB CreditAttribution: JCB commentedComment #2
JCB CreditAttribution: JCB commentedComment #3
DamienMcKennaThe v6.x-1.x branch is the only one that is supported.
Comment #4
JCB CreditAttribution: JCB commentedExcellent. Thanks Damien.
Comment #6
lobo235 CreditAttribution: lobo235 commentedI would love to see this added to Nodewords as well. If anyone has any ideas on how to implement this in the meantime I would love to hear them.
Comment #7
tran_tien CreditAttribution: tran_tien commentedI'm using 6.x-1.11 , but can't use this function. Please help.
Comment #8
DamienMcKennaSounds like you should review nodewords.api.php and implement a few hooks to do the customizations you need, e.g. hook_nodewords_tags_alter() and hook_nodewords_tags_output_alter().
Comment #9
DamienMcKennaComment #10
DamienMcKennaFYI the tokens functionality is in 6.x-2.x (what used to be 6.x-1.12), while 6.x-1.x does not use Tokens.
Comment #12
sgabe CreditAttribution: sgabe commentedHow is this fixed if the needed functionality only available in an unsupported release of this module? Is it safe to use the 2.0-alpha1 version?
Comment #13
DamienMcKennaThis functionality will not be added to v6.x-1.x, as mentioned above you can use the API if you wish to have it now.
Comment #16
dunkin007 CreditAttribution: dunkin007 commentedi want to do the exact same thing. I want to use something like:
[term:vocabulary:name] [term:name], sold by [site:name] ([site:url])
in the term description and have it appear in the description by default.
i'm a newbie. i'd appreciate if you can tell me or point to instructions on how to do this (like copy-paste code). instructions like "use hook_nodewords_tags_output_alter()" are not much sense to me yet :). thank you in advance.
Comment #17
JCB CreditAttribution: JCB commentedApologies for replying on an old issue.
Please find below instructions to my current working setup for drupal 6.
I used the tokens that can be found on page title (assuming you have this module installed)
/admin/settings/page-title
I edit the vocabulary which I want to automate meta tag creation
admin/content/taxonomy/edit/vocabulary/6
I enter values to the keywords, description, etc. using tokens as indicated below
Example: [catpath-raw] for sale. [cat-raw] for sale. [cat-raw].
Modules Installed
Nodewords - node type meta tags 6.x-1.8
Nodewords basic meta tags 6.x-1.15-beta1+0-dev
Nodewords extra meta tags 6.x-1.15-beta1+0-dev
Comment #18
DamienMcKennaThis will be possible once #1380362: Re-implement Token integration lands.