Discussion on googleon-googleoff

49 views
Skip to first unread message

gigot

unread,
Jun 30, 2008, 9:23:48 AM6/30/08
to Google Search Appliance/Google Mini
greetings... I just *inherited* an intranet which is indexed by a
GSA. The intranet is on a portal platform, with a content management
system producing most of the HTML pages. googleon / googleoff tags
have been added to some of the .jsps to try to enhance search
results. Given the way the portlets are put together on a page, the
result is "nested" googleon / googleoff tags. I am trying to find out
how the GSA indexes these, but can't find anything about "nested"
googleon / googleoff tags. We have a number of pages generated
something like this....

=========================================
<!--googleoff: snippet-->

.....some code

<!--googleoff: all-->

.....some code

<!--googleon: all-->

.....some code - Do we now return to the "googleoff: snippet" status?

<!--googleon: snippet-->

.....some code - Are we now at googleon: snippet, or complete
indexing?

==========================================

Can someone clarify the behavior of these nested googleon / googleoff
tags (see questions within the example above).

Thanks! Gigot

Mike

unread,
Jul 3, 2008, 1:00:49 PM7/3/08
to Google Search Appliance/Google Mini
Hi Gigot,

a good place to start reading about the googleon/googleoff tags is
http://code.google.com/apis/searchappliance/documentation/50/admin_crawl/Preparing.html#pagepart

However your question is not mentioned in that document. Nesting tags
in the way you are using them in your code example does not work. <!--
googleon: all--> voids all so far opened googleoff tags. So ".....some
code - Do we now return to the "googleoff: snippet" status? " will
probably appear in your search query snippets.

Best Regards
Mike
Reply all
Reply to author
Forward
0 new messages