You should use a span or div set to invisible instead of text and background the same color. Text and background the same color will get you in trouble with the search engines
You should use a span or div set to invisible instead of text and background the same color. Text and background the same color will get you in trouble with the search engines
Comments
Comment #1
vm commentedtext and backgorund is also easily figured out by highlighting the blank area.
Comment #2
Zen commented@vsr:
a) I don't particularly care.
b) Please feel free to submit a patch that does not involve JS and retains usability.
c) This is legitimate use (like tons of other cases) and not keyword stuffing. These things are taken into account by search engines and in Google, from what I hear, false positives are checked for manually.
d) Lots of sites use similar implementations without repercussions. This is nothing new and is something users are also accustomed to (highlighting to read spoilers).
@verymisunderstood: huh?
Cheers :)
-K
Comment #3
Zen commentedComment #4
murzSpoiler is used for not hide text from reading, but for save page space via hiding text info hidden block. So hiding text with color text=background is not solve spoiler problem, instead of hide text for users, users see large empty gray rectangle!! And not each user know that for read text he must select it by mouse.
So, for js-disabled pages spoiler must not waste free space in page. Showing spoiler contents without js we can do via css, here is example:
This way is working as designed in spoiler way without js, it much better that hiding text via colors.
Placing text with color=background on site is direct way to ban on google and other search engines!
Comment #5
Zen commentedThe primary use of this module is to hide spoilers. In the rare event that the browser does not support JS or if JS has been disabled, the default is the only workable solution that I can think of to retain the functionality of this module. display:none is not acceptable as a default. You can, however, override this behaviour for your own site.
If you'd like to improve the default text displayed to users when JS is disabled, please create a separate issue for that request.
Thanks,
-K
Comment #6
murzBecause this issue was closed as (works as designed), I do this feature in my sandbox: http://drupal.org/sandbox/murz/1492250 for Drupal 6.x and 7.x because I don't want to got ban my site in search engines.
Other users can download my version of this module from here ("snapshot" link):
For Drupal 6.x: http://drupalcode.org/sandbox/murz/1492250.git/tree/refs/heads/6.x-1.x
For Drupal 7.x: http://drupalcode.org/sandbox/murz/1492250.git/tree/refs/heads/7.x-1.x
Comment #7
jmdorian commentedIt works, thanks.