Active
Project:
Metatag
Version:
7.x-1.0-beta5
Component:
Documentation
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2013 at 13:13 UTC
Updated:
27 Mar 2013 at 15:22 UTC
These modules are touch points and the issue may be with them and not here. Metatag could possibly clean or ignore those characters?
- taxonomy_display
- term_reference_tree
- taxonomy_menu
Comments
Comment #1
crutch commentedexample:
<meta name="keywords" content="Education, -Micropipette, -Pipetting, -Practice, -Simulate, -Technique, Organization, -Learning Solutions Team, -NCBioNetwork, Products, -Interactive eLearning Tools" />Comment #2
damienmckennaWhat token(s) are you using to get the above output? Do the actual terms in question have dashes in front of them? What happens if you have a hierarchy three levels deep, does it add two dashes?
Comment #3
crutch commentedHi Damien, I know you are working hard on this module. Thanks for your efforts.
Your response has corrected the issue :)
(bonk, smack myself in head)
I was using token [node:field-categories]
I am now using token [node:field_categories]
which corrected it. Thanks!
Comment #4
damienmckennaGlad you got it working :)
Lets turn this into a documentation task.
Comment #5
crutch commentedHow to use taxonomy for keywords in the meta tag module
Create a new vocabulary or use a the existing vocabulary "Tags". Populate the vocabulary with terms or in the case of free tagging, the vocabulary will get populated by the terms the user enters while publishing a node. In other words, terms may be populated by freetagging or in a more controlled way by an administrator depending on the desired method. [linkto: how to build and manage taxonomies]
Edit a content type and add a term reference field and select the desired widget. The vocabulary may contain multiple terms and nested terms, or in the case of freetagging, none at the start.
In the administration menu visit - Configuration/Search and metadata/Meta tags
At this point either "Override" (?unsure, have not overridden one yet?) an existing or "Add a meta tag default"
At the bottom, above the Save button, click "Browse available tokens"
Expand Nodes
Scroll down to the Vocabulary Name "Tags" or whatever the vocabulary is named, but we are assuming "tags"
There will be two options [node:field_tags] and [node:field-tags]
Add [node:field_tags] token to the Keywords field
This will insert a proper comma separated list of terms in that vocabulary into the keywords meta