Jerome,

first of all thanks for your help.

The gadget is in this link
http://www.google.com/ig/directory?url=hosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F100340698212334128022%2FatFilme.xml

It is under construction, so I tested it with default refresh and also
with 1. Same problem. And I tested with 2 different address locations
that are shown below. The first address is a custom search to the
brazilian tv provider to search for the schedule for that movie. The
second is the same thing but only for telecine.

My gadget first querys a feed that has a list of movies I want to
watch(this is working), maximum of 100 as it is a json. Then with this
list it querys telecine's website with the name of each movie. So
there are about 100 fetchs for telecine website changing only the
movie name, as shown on the address below. (I can use the telecine
website or the google custom search, I doesn't matter.). For this 100
fetchs only about 10 or 20 are resulting something. O the top right of
the gadget there is the number of bad returns, and if you click the
number it tries again for those that didn't fetch.

If you find out what I'm I doing wrong, and would much appreciate it.


http://ajax.googleapis.com/ajax/services/search/web?v=1.0&source=uds&cx=015295733804794401246%3A7iab6ga4o2a&start=0&hl=pt-BR&q=";<Movie
Name>"

http://telecine.globo.com/servicos/busca_resultado.asp?filme=";<Movie Name>"

Abraços,
André Tavares



On Tue, Jun 16, 2009 at 11:37 PM, Jerome (Guru)<[email protected]> wrote:
>
> Hi André,
>
> Sorry, I don't have suggestions on how to address your issue. The fact
> that you get good results 10% of the time is even more puzzling. Are
> you fetching with the default cache refresh option or are you
> specifying a very short time to live for the fetched data in the
> cache? Is the fetched content encoding correct, or are you dealing
> with a data feed which is not properly encoded?
>
> If you would like us to have a peak at the data and potentially help
> you troubleshoot, it would be very useful to have a link to the data
> feed, and a link to the test gadget as well. Without these data this
> is very difficult to provide targeted feedback.
>
> Thanks,
>
> Jerome
>
> On Jun 16, 8:02 am, André Tavares <[email protected]> wrote:
>> But it seams that the problem is not the time, because before 1sec it
>> returns empty. It is another problem. And my server is a google custom
>> search, so there should not be so many misses.
>>
>> Abraços,
>> André Tavares
>>
>> On Tue, Jun 16, 2009 at 10:39 AM, String<[email protected]> 
>> wrote:
>>
>> > On Jun 16, 1:48 pm, André Tavares <[email protected]> wrote:
>>
>> >> It makes sense, but how can solve this?
>>
>> > There's no way to control the timeout, as far as I know, so the only
>> > practical answer is to make sure your server is available and
>> > responding within the 5-10 seconds that you quote. I know that's often
>> > easier said than done, though.
>>
>> > Anyone else have other suggestions?
>>
>> > String
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to