Google seems to really want to show the results embedded on the same page as where the cse control is, or hosted on their result page, but as far as I know, it's not possible configure CSE itself to "display results on my page X", perhaps because of security concerns. However, what we can do, is that we have our own search form on the template that simply delegates processing to our search page. With just a bit of Javascript, we can pass the query parameters to the cse and execute the search. Alternatively, we can display search results somewhere on the template, but the layout doesn't lend itself well to that. Unless I hear objections, I'll implement the former.
Kalle On Fri, Jul 1, 2011 at 6:06 PM, Kalle Korhonen <[email protected]> wrote: > I'll take a whack, we have a similar, embedded, custom search on > tynamo.org and it works pretty well. There may be a problem though > since I don't think Apache confluence allows embedding arbitrary html > (not to mention javascript) and we may need to "adjust" certain things > to make it work. > > Kalle > > > On Fri, Jul 1, 2011 at 5:45 PM, Bob Harner <[email protected]> wrote: >> There's a nice empty spot waiting for it on the right side of the >> banner area. I've been meaning to put the search in there for months >> but keep getting distracted by other fun. But also there's the issue >> that the current https://tapestry.apache.org/search.html page uses >> Google's javascript (by necessity, I think) to render the search >> results onto the same page, and I think it will take some cleverness >> to make it work well. >> >> I gladly invite anyone else to jump in and do this, otherwise I'll try >> to get to it in a couple weeks or so. >> >> On Fri, Jul 1, 2011 at 8:04 PM, Howard Lewis Ship <[email protected]> wrote: >>> The custom search page is very useful ... and completely hidden. >>> Perhaps we can integrate it into the page border? >>> >>> -- >>> Howard M. Lewis Ship >>> >>> Creator of Apache Tapestry >>> >>> The source for Tapestry training, mentoring and support. Contact me to >>> learn how I can get you up and productive in Tapestry fast! >>> >>> (971) 678-5210 >>> http://howardlewisship.com >>> >>> --------------------------------------------------------------------- >>> 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] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
