Re: Re: Intermittent 404 Error from Javascript/Jquery/Jsonp API call

Andrew M <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
All seems to be fine now. 

Thanks Brett - that must have been it - must just have taken a while for 
the change to take effect (or maybethe browser was caching the 404)

Cheers,

Andrew

On Monday, 16 September 2013 08:51:52 UTC+1, Andrew M wrote:
>
> Hi
>
> You are right - the ( feeds / custom / blog comments ) was switched off 
> for that blog, but it usually still worked!  (We tend to only have the 
> blog-comments feed enabled)
>
> I switched it on, however, I still get occasional failures (however it 
> worked most of then time when it was switched off)
>
> http://www.walkingclub.org.uk/swc/comments.shtml
> - Our authors use this page (tabs 1-2, and 3-10) which checks the "blog 
> comments" feed (using the feed API as above) for several blogs, so we can 
> see what's new on all of them in one place.
> - The occasional 404 errors show up in the javascript console output, you 
> can tell an error when a 'Loaded....' status message says on the screen 
> long enough to be readable. If I refresh the page several times, I get it
> - 9 times out of 10, it works fine, occasionally you get a 404 error, but 
> not always from the same blog 
> - Note, I'm not NOT using the V3 API (as it doesn't have the blog comments 
> feed).
>
> Thanks for looking at this, appreciated. Especially at its probably 
> something I've done, otherwise others would have reported it.
>
> Andrew
>  
>
> On Monday, 16 September 2013 08:02:42 UTC+1, Brett Morgan wrote:
>>
>> Hi Andrew,
>>
>> Did you turn off comments RSS feed in the Blogger Admin interface? I 
>> poked at the comments on one of your posts using the newer Blogger API v3, 
>> and it told me "Comments per post feed disabled".
>>
>> brett
>>
>>
>> On Mon, Sep 16, 2013 at 4:43 PM, Andrew M <[email protected]> wrote:
>>
>>> Hi
>>>
>>> It could be that the 'random number' jsonp callback name is causing the 
>>> request not to be cached & causing "rate limiting" issues.
>>>
>>> I used a jquery.ajax option to specify the callback name (rather than 
>>> use a random one).
>>>
>>> Seems better (also faster) but there are still some errors, e.g. got the 
>>> 404 error with 
>>>
>>> http://www.blogger.com/feeds/34834665/comments/default/?alt=json-in-script&callback=Where_to_Walk&max-results=50
>>>  
>>> This pages checks several blogs, maybe it could do with a timeout.
>>>
>>> BTW, there is (was) a differance between using 
>>> www.blogger.com/feeds/34834665 and* **this-weeks-walks.
>>> blogspot.com/feeds*<http://this-weeks-walks.blogspot.com/feeds/comments/default/?alt=json-in-script&callback=jQuery110208666548756882548_1379263597217&max-results=50>
>>> I think, from memory, if (you're logged in to blogger, and a blog 
>>> author), one returns what a blog author can see, the other returns the 
>>> public feed. Everyone else gets the public feed from both 
>>>
>>> On Sunday, 15 September 2013 18:27:50 UTC+1, Andrew M wrote:
>>>>
>>>>
>>>> It uses Javascript/JQuery/Jsonp to call the blogger API - example URL:  
>>>> http://this-weeks-walks.**blogspot.com/feeds/comments/**
>>>> default/?alt=json-in-script&**callback=**jQuery110208666548756882548_**
>>>> 1379263597217&max-results=50<http://this-weeks-walks.blogspot.com/feeds/comments/default/?alt=json-in-script&callback=jQuery110208666548756882548_1379263597217&max-results=50>
>>>>
>>>>
>>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Blogger Developer Group" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/bloggerdev.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> -- 
>>
>> Brett Morgan | Developer Relations Engineer, Google Maps | 
>> [email protected] | profiles.google.com/brettmorgan
>>  
>

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.