When the teaser length is set to "Unlimited" the option list value is set to 0 (zero). However this makes the teaser the same content and length as the body. This doubles the size of the node_revisions table with no obvious value to the site. I think "Unlimited" should set the length to 0 (zero) and always truncate the teaser.
Thanks
Emery Gordon
Comments
Comment #1
Jamie Holly commentedI don't agree on the teaser should always be truncated. There are sites/people out there that want to manually set their teaser lengths via the break slug, and no automatic teaser values.
As far as doubling node_revisions, I can see that being a problem - especially on sites using shared hosting with more limitations on data size. Perhaps a good alternative would be to not set teaser if it is the same as body. Then on node_load, if no teaser is found it automatically assigns node->body to node->teaser. This is something some of the more seasoned Drupal people should weigh in on though.
Comment #2
dragonwize commentedThis is defiantly not a normal way to handle the teaser. Unlimited is a valid option. If the space is not appropriate for you than that is an issue with your server not everyone's. It might make sense to just use the body out of the node table instead of storing it again, but that would probably cause some major reworking of the system to pull info correctly in all cases.
Comment #3
profjk commentedDoes it affect SEO in any way?
This question is only for the Big daddies of Drupal!
I am also surprised that, under Project, you don't have Search Engine Optimization Section!!!!
Which forced me to post it here :(
Comment #4
dragonwize commentedThis has nothing to do with SEO. It is a question of database usage only. The system is working as designed. Please do not put issues in random project queues. That project has nothing to do with SEO other than it shares the words search engine in common.
Comment #5
mdupontWorks as designed in D6, and I don't think it would be changed at this stage. However, it seems that it's better in D7 (teaser only stored separately if it's different from full content).