https://catonrug.blogspot.com/feeds/posts/default/-/i?alt=json-in-script&redirect=false&start-index=1&max-results=100
Related:https://www.mybloggertricks.com/2015/10/parsing-json-in-javascript.html
function mbtlist(json) {
for (var i = 0; i < json.feed.entry.length; i++) {
var TotalPosts = json.feed.openSearch$totalResults.$t;
}
var listing = "Total = " + TotalPosts + " Posts";
document.write(listing);
}
https://catonrug.blogspot.com/feeds/posts/default/-/Zabbix%20MySQL?alt=json-in-script&redirect=false&start-index=1&max-results=1&&callback=mbtlist
No comments:
Post a Comment