You can reformat the search results however you see fit, depending on  
how you're applying the API.  For instance, if you're using the  
default search control, it would probably be easiest to override the  
searcher's createResultHtml method with one of your own.  The problem  
is, there can be a good amount of obfuscated code in that little  
method to decipher and replace, depending on which of the searcher's  
your using.  If you built your own search control, you can just use  
the searcher's setNoHtmlGeneration method and then build your own  
custom html in your search complete callback.

All of that said, it is imperative to remember that, while you can  
rearrange how the results are formatted, where the links are, ect.,  
the TOU explicitly forbid altering the actual content of the results  
in any way.  So, for instance, you can't modify the summary or tweak  
the title.  All of that must be left intact.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[EMAIL PROTECTED]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!




On Oct 17, 2008, at 9:58 PM, indiecookbooks.com wrote:

>
> is there a way to reformat each search result title to remove the
> embedded url?
>
> conversely is there add an embedded url to another result element
> (other than the title)
>
> eg,
>
> African Lions in the Washington DC Zoo (title: plain text)
>
> This result is for the new exhibit at the Zoo, join us as we welcome
> Simba and Zoomba to our new Zoo (description: with embedded url)
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to