You are not Logged in
Would you like to Login or Register

Today is: 04 July 2009
Check this months hot topics

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

kick it on DotNetKicks.com del.icio.us digg Mister Wong YahooMyWeb Reddit Furl Spurl blogmarks
Paul Hayman Skype
Author : Paul Hayman
Published : 27 September 2006

Paul is the COO of kwiboo ltd consultant and has more than a decade of 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???

June 13, 2007 - 8:49 AM

phayman said:

Franz,

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

Paul

June 13, 2007 - 9: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.

June 13, 2007 - 12:01 PM

miguev said:

April 30, 2009 - 4:16 PM

Add Comment

Enter your comment below and it will be submitted for moderation.

Your Name

Add Tag

Please enter tags for this article, seperated by semi-colon ;

View Tag's by : # articles | # views