Investigating Into Blogger Json Feed.
Budding my newest JSON-based widgets was done amongst loads of lawsuit together with error, lacking a proficient agreement of the JSON-format together with lacking noesis of how to admission the feed together with recall the data. So yesterday I did about investigate together with developed a small-scale javascript programme to seek the feeds. It is tech material, together with thus don't endure anxious if you lot don't empathize it.
I flora about documentation on the blogger JSON feed format, based on Google Calendar. A piddling afterward I discovered a uncomplicated tutorial on how to browse through JSON objects.
I tainted this into a recursive javascript function, that browses the consummate SON-feed-tree, together with displays all keys together with all values. You tin job is to interrogation whatsoever J SON-feed.
Create a uncomplicated blogger JSON feed format, based on Google Calendar. A piddling afterward I discovered a uncomplicated tutorial on how to browse through JSON objects.
I tainted this into a recursive HTML-page, using the next code.
<html>
<head>
<script type='text/javascript'>
function listkeys(feedobj,depth) {
for (key inward feedobj) {
for (var i=0; i<depth; i++) document.write('- ');
document.write(key+' = '+feedobj[key]+'<br/>');
listkeys(feedobj[key],depth+1);}
}
function showfeedcontent(json) {
listkeys(json,0);
}</script>
</head>
<body>
JSON FEED PARSER
<br/><br/>
<script src="http://blognucleus.com/feeds/posts/default?alt=json-in-
script&callback=showfeedcontent"></script>
</body>
</html>
In this code restore the blognucleus.com feed reference to your ain blog's feed.
