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 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 commentedSorry, uploaded the old patch again. Here's the correct one for rel="tag".
Comment #3
robertdouglass commentedtoo many buttons to push *blush*
Comment #4
sethcohn commented+1
Simple, adds user friendliness and search engine juice.
Comment #5
breyten commentedPatch applies cleanly, big +1 on relTag support.
Comment #6
pfaocle+!
Good ideas, patch works fine.
Comment #7
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 commentedwithout check_plain.
Comment #9
lennart commented+1 clean, functional and transparent
Comment #10
sethcohn commented+1, deals with Steven's above validation concern.
Any other reason not to commit?
Comment #11
dries commentedCommitted to HEAD. Thanks.
Comment #12
(not verified) commented