7 messages in com.googlegroups.google-enterprise-developerRe: Overwriting document title with feed
FromSent OnAttachments
Robert Crowe10 Jun 2007 10:55 
Colin Neale10 Jun 2007 13:33 
tm10 Jun 2007 22:41 
Robert Crowe11 Jun 2007 09:08 
Colin Neale11 Jun 2007 15:58 
Colin Neale11 Jun 2007 16:06 
John Bailey12 Jun 2007 09:36 
Subject:Re: Overwriting document title with feed
From:Robert Crowe (rob@ourwebhome.com)
Date:06/11/2007 09:08:42 AM
List:com.googlegroups.google-enterprise-developer

Thanks Colin! We'll give that a try and report back. Could we also simply include a "*T*" element in the feed itself, and if so, which would take precedence; the one from the feed, or the one from tha document parser?

On Jun 10, 1:34 pm, "Colin Neale" <neal@gmail.com> wrote:

Hi Robert,

You can create your own front end, and edit the stylesheet to add your own meta title in place of the default one (which I think is simply "*T*").

The change you will need to make to the stylesheet is around line 2290. Change the line to look something like this.

*<xsl:with-param name="orig_string" select="MT[@N='METAFIELD']/@V"/>*

Replace METAFIELD with your own meta name.

You will also need to enable metatags by setting the *show_meta_tags*variable to " *1*" and use the *&getfields=* parameter in the search url to ensure they fields you want are returned from the search.

Note: The change is needed to a part of the stylesheet that Google say do not customise, but if you create your own front end and use that, there should be no problems and you can always restore the default at any time anyway.

Regards Colin..

On 11/06/07, Robert Crowe <rob@ourwebhome.com> wrote:

We're feeding documents (.doc, .pdf, .ppt, .xls) and specifying a title. The problem i'm seeing is that the appliance is parsing the title out of the document properties and using that to replace the title we give it in the feed. This is a problem because the title in the document properties is usually different, and usually wrong, and then searches using intitle: don't work right.

Is there a way to cause the appliance to use the title we give it instead?