Pixel-Blogger-Template icon indicating copy to clipboard operation
Pixel-Blogger-Template copied to clipboard

API Issue

Open mayukhsaha opened this issue 6 years ago • 0 comments

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:

  1. 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

  2. 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;

mayukhsaha avatar May 13 '18 12:05 mayukhsaha