tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kalle Korhonen <kalle.o.korho...@gmail.com>
Subject Re: Google Custom Search
Date Sun, 03 Jul 2011 04:49:35 GMT
FYI, we are in business with the search. No template changes were
needed, it's all in the confluence pages (navigation & search).
Perhaps we should move it a bit more left (currently it's float:right
with a small margin) but does the job.

Kalle


On Sat, Jul 2, 2011 at 6:45 AM, Kalle Korhonen
<kalle.o.korhonen@gmail.com> wrote:
> On Sat, Jul 2, 2011 at 4:15 AM, Bob Harner <bobharner@gmail.com> wrote:
>> In answer to your earlier comment, Confluence has the {html} tag which
>> lets you include arbitrary HTML into a wiki page. See the "Index"
>> (Home) page and its included pages as examples, where Katia used it
>> extensively.
>
> Yeah, I saw it in the source of the search wiki page - it's useful but
> in most Confluence installations turned off because of security
> issues. Good for us though.
>
> Kalle
>
>
>> On Sat, Jul 2, 2011 at 3:36 AM, Kalle Korhonen
>> <kalle.o.korhonen@gmail.com> wrote:
>>> 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
>>> <kalle.o.korhonen@gmail.com> 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 <bobharner@gmail.com> 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 <hlship@gmail.com>
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: dev-unsubscribe@tapestry.apache.org
>>>>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>>>>
>>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message