|
[
Permalink
| « Hide
]
Martin Dougiamas added a comment - 25/Aug/07 11:39 PM
Yes, good idea. Can you make it truncate to 50 (in code only, don't touch db)
Best would be just to ignore and not add any new tags that are over the constant value (ie 50)
del.icio.us has a length limit set to 128 chars. As tags are part of the url (which has a 255 chars limit), I guess this makes sense.
If the length is too long to get a good presentation, maybe these tags should be excluded from the tag cloud, or be abbreviated (in the way internationalization gets abbbreviated to i18n, or by just putting "..." at the end, etc.). I don't think there should be a hard-coded limit on content for a question of presentation. We keep the current limit (50). I put a comment in the code not to exceed 85 chars, which could make the tag impossible to store in a varchar(255).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||