Trouble getting json to display from Google Sheets
-
I’m building a model from Google Sheets to power my web app. I publish the data to a json feed here: https://spreadsheets.google.com/feeds/list/1t5pVBpnxYhq0HmJIdTxJ7ZJ_0tl0L1nVvF2MUdTGp5E/od6/public/basic?alt=json
I’ve tried getting JSON Content Importer to work on the very simple example above but I think I’m doing something wrong. The JSON that Google Sheets exports isn’t super clean but it is valid JSON.
Here is what I tried:
Very simple: [jsoncontentimporter url=”https://url” basenode=”entry”}]{$t}[/jsoncontentimporter]
Here I also tried {title} and {content} with no success, just blank display.I then thought maybe I should add the basenode because of the junk at the top of the feed:
[jsoncontentimporter url=”https://url” basenode=”entry”]
{$t}
[/jsoncontentimporter]No luck. Any tips?
BTW great plugin. The opportunities for using Google Sheets to power WordPress are awesome!
- The topic ‘Trouble getting json to display from Google Sheets’ is closed to new replies.