7 messages in com.googlegroups.google-enterprise-developerRe: can metatag data appear in snippets?| From | Sent On | Attachments |
|---|---|---|
| viacoh | 18 Feb 2007 18:24 | |
| Pablo Solera | 19 Feb 2007 03:18 | |
| viacoh | 19 Feb 2007 13:05 | |
| Pablo Solera | 20 Feb 2007 04:02 | |
| viacoh | 20 Feb 2007 08:45 | |
| viacoh | 20 Feb 2007 08:48 | |
| viacoh | 20 Feb 2007 08:52 |
| Subject: | Re: can metatag data appear in snippets?![]() |
|---|---|
| From: | Pablo Solera (pabl...@gmail.com) |
| Date: | 02/20/2007 04:02:36 AM |
| List: | com.googlegroups.google-enterprise-developer |
Well,
You could use the replace_string template, searching for the $query and replacing it with "<b>$query</b>.
This would need some testing anyway.
Hope this helps,
Pablo Solera www.sitesa.com
viacoh wrote:
Thanks Pablo,
Is there any way to get the strings that caused the hit to be highlighted inside the metatags? For example a search for "foo" will return documents with the word "foo" in bold in the snippet like so:
<b>foo</b> blahdy blahdy <b>foo</b><b>foo</b>
I want to be able to display hits in meta tags the same way.
Is that possible inside the appliance?
Thanks, Mark
On Feb 19, 6:19 am, "Pablo Solera" <pabl...@gmail.com> wrote:
You can modify your stylesheet to display the metatags.
First you should request them using getfields=(name of meta) or getfields=* Then you should turn on the variable "show_meta_tags"
HTH
On Feb 19, 3:24 am, "viacoh" <mcoh...@gmail.com> wrote:
I have some metadata that I want to attach to some actual web pages for search purposes only. I've done this using an incremental metadata-and-url feed. I have two questions:
1) My metadata is a single blob of text much longer than the 320 byte limit on a single meta tag in the feed. I've broken the blob up to fit into multiple meta tags so I can get all of the data into the feed properly. Is there another way to do this? 2) Can/Will the appliance generate the "snippet" for results display from a custom meta tag? In my case, the meta tag from the feed has the text most closely matching the query, but the snippet is still text from the actual web page.
Thanks!- Hide quoted text -
- Show quoted text -




