• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3628: Prevent Google from indexing irrelevant page parts

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Enhancement No Action Required   minor  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Google indexes the complete page. This contains a lot of 'junk': left bar, tagme tags, "this topic has been moved", etc. We can change the behaviour of indexing by adding Google specific tags: googleoff and googleon.

See: Google Applicance - googleoff / googleon Tags.

The only thing that needs to be indexed is the html header (title, meta) and the topic text. So:

html start <!--googleoff: all--> start of body <!--googleon: all> start of TEXT <!--googleoff: all--> rest of body <!--googleon: all> rest of html

The same method should be placed around the tagme call:

<!--googleoff: all--> TAGME <!--googleon: all> 

-- TWiki:Main/ArthurClemens - 13 Feb 2007

Although useful for public sites, I think it does not fit the TWiki mission. Instead of adding this to the distribution, how about documenting this in the supplemental docs?

-- TWiki:Main.PeterThoeny - 14 Feb 2007

Yes, but why shouldn't we offer a package that is ready for the web?

-- TWiki:Main.ArthurClemens - 14 Feb 2007

Yes, that makes sense. We need to build up the infrastructure to easily generate more than one TWiki package, such as one for public sites that has a different registration form, different set of plugins (such as preinstalled BlackListPlugin), and this Google specific stuff.

-- TWiki:Main.PeterThoeny - 15 Feb 2007

The suggested solution only works for Google Appliance; results for Google web search are mixed. We have a different working solution for TagMePlugin.

-- TWiki:Main.ArthurClemens - 26 May 2007

ItemTemplate
Summary Prevent Google from indexing irrelevant page parts
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range TWiki-4.1.1, Fri, 09 Feb 2007, build 12817
AppliesTo Engine
Component

Priority Enhancement
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease minor
ReleasedIn

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-05-26 - TWikiUserMapping_ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback