Support » Plugin: Project Honey Pot Spam Trap » [Plugin: Project Honey Pot Spam Trap] invalid XHTML

Viewing 1 replies (of 1 total)
  • Plugin Author Andrew Ensley


    I’m sorry to hear you’re having trouble with validation. The idea of the plugin is to vary the way the links are hidden as much as possible in order to prevent spammers from catching on.

    I tried to make the code completely XHTML valid except for one case: an invisible div (block-level element) inside the anchor (inline element).

    I figured variance was more important than validation. In the next version, I’ll add an option for whether or not to use XHTML invalid links.

    If you don’t mind, could you point out which link formats were invalid and how they should be fixed (since you mentioned most of them were invalid)?

    1. <a href="link" rel="nofollow"><img border="0" width="0" height="0" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/></a>
    2. <a href="link" rel="nofollow"><!-- randomWord --></a>
    3. <a href="link" rel="nofollow"><img src="invisibleImageLink" height="0" width="0" border="0"/></a>
    4. <a href="link" rel="nofollow" style="display:none;">randomWord</a>
    5. <div style="display:none;"><a href="link" rel="nofollow">randomWord</a></div>
    6. <span style="display:none;"><a href="link" rel="nofollow">randomWord</a></span>
    7. <span style="position:absolute;top:-250px;left:-250px;"><a href="link" rel="nofollow">randomWord</a></span>
    8. <a href="link" rel="nofollow"></a>
    9. <!-- <a href="link" rel="nofollow">randomWord</a> -->
    10. <div style="position:absolute;top:-250px;left:-250px;"><a href="link" rel="nofollow">randomWord</a></div>
    11. <a href="link" rel="nofollow"><span style="display:none;">randomWord</span></a>
    12. <a href="link" rel="nofollow"><div style="display:none;">randomWord</div></a>
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Project Honey Pot Spam Trap] invalid XHTML’ is closed to new replies.