Kode JSON feed API Blogger
Feb 26, 2016 14:11:25 GMT 7
Post by weblen on Feb 26, 2016 14:11:25 GMT 7
Blogger sudah menyediakan API untuk dengan membaca feed blog menggunakan JSON dan JavaScript.
Object - (Description)
json.feed.id.$t (Show blog ID)
json.feed.updated.$t (Last update of a blog)
json.feed.category[] (Categories / label array of a blog)
json.feed.category[i].term (Show the i-th category Blogger)
json.feed.title.$t (Show blog name )
json.feed.subtitle.$t (Show description of a blog )
json.feed.author[] (Array of blog authors )
json.feed.author[i].name.$t (Show the i-th blog author name )
json.feed.author[i].uri.$t (Show the i-th profile author uri )
json.feed.openSearch$totalResults.$t (Show total posts )
json.feed.entry[] (Posts array of a blog)
json.feed.entry[i].id.$t (Show the i-th post ID )
json.feed.entry[i].title.$t (Show the i-th post title )
json.feed.entry[i].published.$t (Show time published of the i-th post )
json.feed.entry[i].updated.$t (Show when the i-th post is updated )
json.feed.entry[i].category[] (Show array of post categories)
json.feed.entry[i].category[x].term (Show the x-th category of the i-th post )
json.feed.entry[i].summary.$t (Show post summary )
json.feed.entry[i].content.$t (Show post content )
json.feed.entry[i].link[] (Links array of a post
json.feed.entry[i].link[x].href (Show the x-th link of the i-th post )
json.feed.entry[i].author[] (Array of post authors)
json.feed.entry[i].author[x].name.$t (Name of the x-th author on the i-th post)
json.feed.entry[i].author[x].uri.$t (Show uri author profile)
json.feed.entry[i].author[x].gd$image.src (Image uri of the x-th author profile on the i-th post)
json.feed.entry[i].media$thumbnail.url (Show image on the i-th post)
json.feed.entry[i].thr$total.$t (Show total threaded comments)