Sample Page

This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:

Hi there! I’m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin’ caught in the rain.)

…or something like this:

The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.

As a new WordPress user, you should go to your dashboard to delete this page and create new pages for your content. Have fun!

Welcome!
Click on this block and you see on the right side the Gutenberg-Block settings of the “JSON Content Importer Gutenberg Block”. Yet there is an example to show how it works. The Example-URL is
http://www.pendlewood.co.uk/wp-content/plugins/json-content-importer/json/gutenbergblockexample1.json
Some settings show you how the JSON-parser and display works. The example-template is (try to change it on the right):
start: {start}<br>{subloop-array:level2:-1}level2: {level2.key}<br>{subloop:level2.data:-1}id: {level2.data.id}, type: {level2.data.type}<br>{/subloop:level2.data}{/subloop-array:level2}
The result of combining JSON and this template gives us the output. Use this example to experiment: Type “level1” in the right basenode-field, please. This will change the output as now the JSON and the template fit together (without not…)
You may also open the lower right “JCI Advanced“-section. Insert at “One of these words must be displayed:” the word “bb”. And at “JSON-depth of the above displayed Words:” the number 3. Do you see the difference at once?
start:
level2:
id: , type:
[jsoncontentimporter url=”http://api.nytimes.com/svc/books/v3/lists/hardcover-fiction.json?api-key=sample-key” basenode=”results”]{subloop-array:books:5}{books.rank}. {books.title}{/subloop-array:books} [/jsoncontentimporter]
We have a Problem with JSON here:
Either we got no JSON from the API. Or the basenode-parameter is not ok.
Switch on the Debugmode of the Plugin!