Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We're missing a great opportunity to make our taxonomy links richer and more useful. Currently, the taxonomy links only have the href attribute (required), and nothing else. The patch changes that so that taxonomy links now look like this:
<a href="/path/to/term" title="description of term">term name</a>
The added benefit for the "semantic" web is clear; so is the added search engine optimization potential.
Comment | File | Size | Author |
---|---|---|---|
#8 | taxonomy_description_2.patch | 991 bytes | robertDouglass |
#3 | taxonomy_description_1.patch | 1017 bytes | robertDouglass |
#1 | taxonomy_description_0.patch | 985 bytes | robertDouglass |
taxonomy_description.patch | 985 bytes | robertDouglass | |
Comments
Comment #1
robertDouglass CreditAttribution: robertDouglass commentedWhile we're at it, I think we should add
rel="tag"
as well. I think this will make us friendlier to sites like technorati, but still have to research whether it alone is enough to make Drupal taxonomy links technorati tags.Comment #2
robertDouglass CreditAttribution: robertDouglass commentedSorry, uploaded the old patch again. Here's the correct one for rel="tag".
Comment #3
robertDouglass CreditAttribution: robertDouglass commentedtoo many buttons to push *blush*
Comment #4
sethcohn CreditAttribution: sethcohn commented+1
Simple, adds user friendliness and search engine juice.
Comment #5
breyten CreditAttribution: breyten commentedPatch applies cleanly, big +1 on relTag support.
Comment #6
pfaocle+!
Good ideas, patch works fine.
Comment #7
Steven CreditAttribution: Steven commentedInput validation thingie: the values for HTML attributes are plain-text and are already escaped in drupal_attributes() in l(). So the check_plain() here is unnecessary.
Other than that, looks fine.
Comment #8
robertDouglass CreditAttribution: robertDouglass commentedwithout check_plain.
Comment #9
lennart CreditAttribution: lennart commented+1 clean, functional and transparent
Comment #10
sethcohn CreditAttribution: sethcohn commented+1, deals with Steven's above validation concern.
Any other reason not to commit?
Comment #11
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #12
(not verified) CreditAttribution: commented