Google Applicance - googleoff / googleon Tags

I came across these recently... thought I'd share

The googleoff/googleon tags disable the indexing of a part of a web page. The result is that those pages do not appear in search results when users search for the tagged word or phrase. For example, some developers use googleoff/googleon tags to comment out a navigation bar in static HTML pages.

You can use googleon/off to tell the Google Search Appliance to ignore portions of a page. Insert <!--googleoff: index--> at the point you want the Google Search Appliance to stop indexing, then insert <!--googleon: index--> where you want it to resume indexing the page.

You can also use the tags to avoid indexing anchor links leading to another web page.

You can use either of the following to prevent the words "chocolate pudding" from appearing in the snippets.

<!--googleoff: snippet--> chocolate pudding <!--googleon: snippet-->
<!--googleoff: all--> chocolate pudding <!--googleon: all-->

The googleon/googleoff tags are index, anchor snippet, all. Here's how they are used.

index tag

Words surrounded by the googleon/off tags will not be indexed as occurring on the current page.

A page containing:

fish <!--googleoff: index--> shark <!--googleon: index--> mackerel

has the terms "fish" & "mackerel" indexed for that page, but will not index "shark" for the page. It's possible, however, that the page could be a search result for the search term "shark", since "shark" may occur elsewhere on the page, or in anchortext for links to the page.

anchor tag

"Anchortext" surrounded by the googleon/off tags and occurring in links to other pages will not be indexed as words associated with the other linked-to pages. A page containing:

<!--googleoff: anchor--> <A href=linked_to_page.html> shark </A> <!--googleon: anchor-->

will not cause the word "shark" to be associated with the page "linked_to_page.html". Otherwise, this hyperlink could cause the page "linked_to_page.html" to be a search result for the search term "shark".

snippet tag

The text surrounded by googleon/off tags will not be used to create snippets for search results.

<!--googleoff: snippet--> Come to the fair! <!--googleon: snippet-->

all tag

Turns on all of the attributes: index, anchor, and snippet.

<!--googleoff: all--> Come to the fair! <!--googleon: all>

The text surrounded by googleon/off tags will not be indexed, followed to another linked-to page, or used for a snippet.

thanks to Google for this content

Author Paul Hayman

Paul is the COO of kwiboo ltd and has more than 20 years IT consultancy experience. He has consulted for a number of blue chip companies and has been exposed to the folowing sectors: Utilities, Telecommunications, Insurance, Media, Investment Banking, Leisure, Legal, CRM, Pharmaceuticals, Interactive Gaming, Mobile Communications, Online Services.

Paul is the COO and co-founder of kwiboo (http://www.kwiboo.com/) and is also the creator of GeekZilla.

Comments

franz enzenhofer said:

the sourceof this information would be nice?

as a matter off fact i serach for google off at the google meta search engine http://www.google.com/custom?cx=001532657764357279270%3Atrhuqilkybs&cof=GFNT%3A%23000000%3BGALT%3A%23008000%3BLH%3A100%3BCX%3AG2%3BVLC%3A%23663399%3BDIV%3A%23336699%3BFORID%3A1%3BT%3A%23000000%3BALC%3A%230000CC%3BLC%3A%230000CC%3BS%3Ahttp%3A%2F%2Fpresseblog%2Eat%2Fg2%2F%3BL%3Ahttp%3A%2F%2Fpresseblog%2Eat%2Fg2%2FG2_small%2Epng%3BGIMP%3A%23000000%3BLP%3A1%3BBGC%3A%23FFFFFF%3BAH%3Aleft&q=googleoff&sa=Search&hl=en&client=pub-6048023468513684

and i only found a document, that this is used for Google Search Appliance and the Google Mini crawl

both enterprise search engines, not the - in the wilrd - google search???

13/Jun/2007 08:49 AM

phayman said:

Franz,

The article does actually state that this is for Google Appliance (en enterprise search).

Paul

13/Jun/2007 09:28 AM

franz enzenhofer said:

oh yeah, sorry. somebody posted a link to this article assuming that this goes for the in the wild google bot.

13/Jun/2007 12:01 PM

miguev said:

30/Apr/2009 16:16 PM

Seotexter said:

This Code on your Website is wrong:

<!--googleoff: all--> Come to the fair! <!--googleon: all>

It must be:

<!--googleoff: all--> Come to the fair! <!--googleon: all-->

09/Jun/2011 13:40 PM

Add Comment

Name
Comment
 

Your comment has been received and will be shown once it passes moderation.