Hi, See http://marc.theaimsgroup.com/?l=turbine-user&m=103008672127247&w=2 for details on why Google does not index pages from Turbine.
I am using T2.3-dev from CVS on 10th June in ...\WEB_INF\lib, not T2.2. I have since realised that this will only encode query pairs as the items in the list added have to be URIParams. All addPathInfo methods need the name=vaue pair it looks like. Therefore can I just use this then? public class GoogleTemplateLink extends TemplateURI { public void setTemplate(String t) {super.setTemplate(t+",r,w"); } } Regards David -----Original Message----- From: Henning P. Schmiedehausen [mailto:[EMAIL PROTECTED] Sent: 23 June 2003 23:47 To: [EMAIL PROTECTED] Subject: Re: Extending TurbineURI to allow Google to include site "David Wynter" <[EMAIL PROTECTED]> writes: >Hi, >I used a subclass of TemplateLink from T2.1 to add the /c/c to the end of my >path that gets me picked up by Google. (c can be any character). Hi, [OT: I didn't ever hear about this. Can you explain a little more? ] >I switched this to a subclass of TemplateURI to achieve the same effect. >I use >"tool.request.link=co.uk.roamware.rwsite.util.template.GoogleTemplateLink" >in my TR.props >Here tis; >public class GoogleTemplateLink extends TemplateURI { > public void setTemplate(String t) { > super.setTemplate(t); > List googleext = new ArrayList(); > googleext.add("r"); > googleext.add("w"); > add(0, googleext); > } >} >But I get this exception. >Horrible Exception: java.lang.NoSuchMethodError: >org.apache.turbine.Turbine.getDefaultServerData()Lorg/apache/turbine/util/S e >rverData; Ugh. This means that you seem to have compiled your class with the CVS HEAD of Turbine but deploy on Turbine 2.2. So your class is looking for a method in Turbine.class with simply isn't there. Solution: Make sure that the jars that you compile with and the jars that you deploy with are the same versions. Regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ Java, perl, Solaris, Linux, xSP Consulting, Web Services freelance consultant -- Jakarta Turbine Development -- hero for hire --- Quote of the week: "It is pointless to tell people anything when you know that they won't process the message." --- Jonathan Revusky --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]