Sorry to re-open this old thread, but my question is along similar lines.
What is this keys div for? Is it necessary for some functionality of the list view? I really don’t want it in my page as I don’t expose the primary key of the model for security reasons. I can extend CListView to override run() and not insert the keys, but I’m concerned I will break something.
Of course I don’t know your application but generally, if you are hiding IDs “for security reasons”, you have a problem with your security.
If a user shouldn’t see some content with a certain ID, they should not be authorized to view it in the first place.
Where this information is displayed in Google search results, simply add a proper page description using the metatag in the head section. When the page description is missing, Google will use some content from the page instead.