PassMark Logo
Home » Forum

Prevent indexing of a single word in a particular context

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jack1014
    Member
    • Dec 2011
    • 27

    #1

    Prevent indexing of a single word in a particular context

    Is it possible to prevent the indexing of a single word or phrase (for example, the text that might be enclosed in <span></span>? I understand ZOOMSTOP only works for entire sections, not inside tags.
  • Ray
    Administrator
    • Dec 2004
    • 4357

    #2
    You can use ZOOMSTOP inside tags, such as following.

    Code:
    <span id='test'>Index these words but <!--ZOOMSTOP-->not these words<!--ZOOMRESTART--></span>
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    • Jack1014
      Member
      • Dec 2011
      • 27

      #3
      Fantastic! So <p>Please do not index this <!--ZOOMSTOP-->word<!-- ZOOMRESTART--></p> works? Should mention this in the manual.

      Comment

      • Ray
        Administrator
        • Dec 2004
        • 4357

        #4
        Yes, that works.

        We'll take a look at the documentation to see if it could do with clarification.
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment

        Working...