Problems retrieving blog posts on IE9
Ciro Vivacqua <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
I've been trying to retrieve the latest post from several blogs in a single
web page without success on IE9. The code is described bellow.
function getBloggerInfo(lista) {
moment.locale('pt-br');
for (var i = 0; i < lista.length; i++) {
if (lista[i].BlogKey!= null && lista[i].BlogCode != null) {
$.ajax({
url: "https://www.googleapis.com/blogger/v3/blogs/" +
lista[i].BlogCode + "/posts?key=" + lista[i].BlogKey,
type: 'get',
cache: false,
async: false,
success: function (retorno) {
for (var a = 0; a < retorno.items.length; a++) {
lista[i].DataUltimaPublicacao =
moment(retorno.items[a].published).format('L');
lista[i].HoraUltimaPublicacao =
moment(retorno.items[a].published).format('LT');
lista[i].NmDescLastPost = retorno.items[a].content;
lista[i].NmLink = retorno.items[a].url;
break;
}
},
error: function (retorno) {
}
});
}
}
}
I've also tried to use the solution described here.
All of them seems to work on IE 10 and 11, but not on IE9. Inspecting the
variable 'retorno', it has status 0, without the expected response in both
cases.
I'm using API version 3.0. Can anybody help me?
--
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/d/optout.