Pixel-Blogger-Template
Pixel-Blogger-Template copied to clipboard
API Issue
Hi @puikinsh,
Thanks for sharing this template. This is awesome and I learnt a lot from this. 👍
Two issues I found while using this template are below:
-
API Issue : Below GET API is returning 400 /feeds/posts/default/-/"+e+"?alt=json-in-script&max-results=3
and I changed this to below to resolve it /feeds/posts/default/"+e+"?alt=json-in-script&max-results=3 -
Second one is if a posts does not contain any " Label " then "RECENT" section does not show anything.
As your code is minified so to resolve this I have added below codes :
if(!t.feed.entry[l].hasOwnProperty("category")) continue; if(!a.feed.entry[s].hasOwnProperty("category")) continue;