Google Groups Home Help | Sign in
Discussions > Custom Search Suggestions and Feature Requests > No more explicit reload when using Linked CSE
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
hansfn  
View profile
(1 user)  More options Aug 8 2007, 10:07 am
From: hansfn
Date: Wed, 08 Aug 2007 07:07:22 -0700
Local: Wed, Aug 8 2007 10:07 am
Subject: No more explicit reload when using Linked CSE
As reported by Dean B  in
http://groups.google.com/group/google-custom-search-results/browse_fr...
you need to hit the back button twice (in Firefox) when using the
default Linked CSE setup. He also discovered, as I just did, that
turning off resizing, removed the extra page in the history ("var
googleSearchResizeIframe = false;"). I also discovered that this
problem isn't present in the standard/non-linked CSE - even if it
seems to use the same Javascript! I'm very reluctant to take the road
Dean B did, modifying my own copy of "show_afs_search.js". That breaks
badly when Google decides to add some new stuff ..

So my question/request is: Why do you need to have an explicit page
reload when resizing the iframe when using Linked CSE, but not in the
standard CSE? Please fix this issue ASAP. AFAIK it only affects
Firefox users (as noted by Dean B).

Test pages (which might be removed without notice):
http://home.himolde.no/~nordhaug/google-cse-reload-test.html
http://home.himolde.no/~nordhaug/google-cse-linked-reload-test.html
Requests (captured by the "Live HTTP Headers" extension for Firefox)
when first using the linked search and then the normal search (on the
two pages above):
http://home.himolde.no/~nordhaug/google-cse-reload-requests.txt
Notice the explicit reload for linked search.

Regards, Hans


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hansfn  
View profile
(1 user)  More options Aug 8 2007, 10:24 am
From: hansfn
Date: Wed, 08 Aug 2007 07:24:28 -0700
Local: Wed, Aug 8 2007 10:24 am
Subject: Re: No more explicit reload when using Linked CSE
PS! To test the searches, use "molde" for example.

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wynfred  
View profile
(1 user)  More options Aug 9 2007, 4:05 pm
From: wynfred
Date: Thu, 09 Aug 2007 20:05:50 -0000
Local: Thurs, Aug 9 2007 4:05 pm
Subject: Re: No more explicit reload when using Linked CSE
I also have noticed the behavior described, i.e.,
googleSearchResizeIframe seems to have no effect with a Linked CSE
setup. Setting a div height around the search results snippet isn't a
real solution, because the results area is never consistently the same
height -- especially if your chosen ad placement is above/below the
results. The problem seems to affect any browser.

On Aug 8, 10:24 am, hansfn wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
davidlw  
View profile
(1 user)  More options Aug 10 2007, 1:57 pm
From: davidlw
Date: Fri, 10 Aug 2007 10:57:19 -0700
Local: Fri, Aug 10 2007 1:57 pm
Subject: Re: No more explicit reload when using Linked CSE
Setting var googleSearchResizeIframe = false; worked for me,
thankfully

On Aug 8, 3:07 pm, hansfn wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sberrier  
View profile
 More options Aug 12 2007, 11:47 am
From: sberrier
Date: Sun, 12 Aug 2007 08:47:26 -0700
Local: Sun, Aug 12 2007 11:47 am
Subject: Re: No more explicit reload when using Linked CSE
i'm experiencing the same problem using my CSE with firefox.  i guess
my first question is what is the difference between "linked" and "non-
linked" CSE's?  i assume mine is "linked" as i'm having the same
problem using the browser's back button, but was curious what the
difference was.
and my next question is where do i put the code to turn off the
resizing?  i assume i just plug it into the results code?

thanks,
stephanie


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sberrier  
View profile
 More options Aug 12 2007, 1:17 pm
From: sberrier
Date: Sun, 12 Aug 2007 10:17:07 -0700
Local: Sun, Aug 12 2007 1:17 pm
Subject: Re: No more explicit reload when using Linked CSE

so, i added the code, and while it works in principle, the amount of
white space i'm getting at the bottom of ALL the pages is
unacceptable.  there's nothing in my stylesheet that i can see would
make it do that...

right now my search page is here:
http://www.boyleberrier.com/indextest.htm
with results here:
http://www.boyleberrier.com/results.htm

any suggestions would be greatly appreciated!

thanks,
stephanie


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hansfn  
View profile
 More options Aug 13 2007, 2:56 am
From: hansfn
Date: Sun, 12 Aug 2007 23:56:11 -0700
Local: Mon, Aug 13 2007 2:56 am
Subject: Re: No more explicit reload when using Linked CSE
Yes, setting "var googleSearchResizeIframe = false;" produce
unaccpetable white space for most site layouts. That's why I wrote
this post - http://groups.google.com/group/google-custom-search-creating-and-edit...

Hans

PS! Where is the CSE team? I would like at least comment on what we
can expect? If nothing will be fixed, we'll have to write our own
solutions using the AJAX search API.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anders_  
View profile
(1 user)  More options Aug 13 2007, 7:25 pm
From: Anders_
Date: Mon, 13 Aug 2007 16:25:45 -0700
Local: Mon, Aug 13 2007 7:25 pm
Subject: Re: No more explicit reload when using Linked CSE
Maybe the Firefox team can be contacted so they can modify the browser
code so that it works the same way as in Internet Explorer for the
future versions of Firefox?

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Custom Search Guide Google employee  
View profile
 More options Aug 17 2007, 2:03 pm
From: Custom Search Guide
Date: Fri, 17 Aug 2007 18:03:02 -0000
Local: Fri, Aug 17 2007 2:03 pm
Subject: Re: No more explicit reload when using Linked CSE
Hi all,

Thanks for reporting this issue, it looks like a bug having to do with
URL escaping. Your http header trace of the request showed the
culprit; the requests should have identical paths, but you can see
from these URL snippets that [ ~ ] is escaped in the first one as
[ %7E ] but isn't in the second one:

.../cse?cref=http%3A%2F%2Fhome.himolde.no%2F%7Enordhaug...

.../cse?cref=http%3A%2F%2Fhome.himolde.no%2F~nordhaug...

While we working on getting this fixed, you can try using paths that
don't contain a tilde. Sorry about the inconvenience - it's not ideal,
but it should allow you to work around this problem until we have
another solution.

Keep on escalating these issues!

- Christine


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sberrier  
View profile
 More options Aug 17 2007, 5:46 pm
From: sberrier
Date: Fri, 17 Aug 2007 14:46:53 -0700
Local: Fri, Aug 17 2007 5:46 pm
Subject: Re: No more explicit reload when using Linked CSE
perhaps i'm not completely understanding what you're saying, but i
don't use any tildes in my directory paths and i'm having the same
problems:
http://www.boyleberrier.com/indextest.htm
(i have now removed the extra code that was preventing the page
reload)

On Aug 17, 2:03 pm, Custom Search Guide wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sberrier  
View profile
 More options Aug 17 2007, 6:08 pm
From: sberrier
Date: Fri, 17 Aug 2007 15:08:15 -0700
Local: Fri, Aug 17 2007 6:08 pm
Subject: Re: No more explicit reload when using Linked CSE
i was just messing around with it some more and have noticed strange
things that seem to indicate there is a problem beyond the pages
simply reloading:

at http://www.boyleberrier.com/indextest.htm
if i search for "smith", it takes me to the results page and it takes
two clicks to get back.
if i do the search, then advance to the second page of results, i have
to hit the back button three or four times to get a response, at which
point it skips and takes me all the way back to the search page.  if i
then try the forward button, it will only go forward one page, to the
FIRST results page.  it exhibits a similar behavior if i advance to
the second results page, click on a results link, then try to go back
to the results: it goes back the first results page instead of the
second.

??????

On Aug 17, 5:46 pm, sberrier wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Custom Search Guide Google employee  
View profile
(1 user)  More options Aug 17 2007, 7:16 pm
From: Custom Search Guide
Date: Fri, 17 Aug 2007 23:16:21 -0000
Local: Fri, Aug 17 2007 7:16 pm
Subject: Re: No more explicit reload when using Linked CSE
Hi sberrier,

Sorry for the confusion - the refresh error can be caused by
characters other than the tilde. My fault for not making that clear.
We're still working on this.

The other issue you're describing has come up before in the Group, and
it's something that only occurs with certain CSE configurations, which
makes it tricky to pinpoint and solve. For more details, you can
review the following thread:

http://groups.google.com/group/google-custom-search-creating-and-edit...

- Christine


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of mess