Title: Json Baseheader
Last modified: August 22, 2016

---

# Json Baseheader

 *  Resolved [dtbcinci](https://wordpress.org/support/users/dtbcinci/)
 * (@dtbcinci)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/)
 * The Json display from Udemy does not seem to have a baseheader.
 * Example:{“__class”:”course”,”id”:”11670″,”title”:”Sell Ebooks on Amazon Kindle
   and Global Retailers”,”numLectures”:22,
 * Using __class or course do not seem to work.
 * What can I do with your plugin to pull this Json feed into my site.
 * Thanks,
 * David
 * [https://wordpress.org/plugins/json-content-importer/](https://wordpress.org/plugins/json-content-importer/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714537)
 * Thank you for your post.
    I’ll check this.
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714562)
 * Hi David,
 * thank’s for your post.
    JSON of this type can’t be processd by this Version of
   the JSON Content Importer. Reason: There was no need for me 😉
 * In the next version this will be possible.
    I’d like to collect some posts here
   to put all the remarks into the next version. Is this ok for you?
 * Best
    Bernhard
 *  Thread Starter [dtbcinci](https://wordpress.org/support/users/dtbcinci/)
 * (@dtbcinci)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714566)
 * Yes that would be fine but sounding rude how long do you think it will take for
   the next version?
 * The Udemy data I am working with has over 8000 course entries and I really need
   something like this to import that data so that I do not have to do it by hand.
 * I am also getting this error when it tries to load my Json info: Warning: Invalid
   argument supplied for foreach() in /home/frazzin/public_html/wp-content/plugins/
   json-content-importer/class-json-content-importer.php on line 106
 * I will be more than will to take a beta version or anything to help.
 * Thanks
 * David
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714580)
 * Hi David,
 * the reason for the error is the unsupported matching of this json-structure to
   the wp-shortcode-syntax.
    With solving your issue this will be fixed.
 * Next version: I can do this within the next days.
 * In return you could help me. I’ll contact you via facebook.
 * Best
    Bernhard
 *  Thread Starter [dtbcinci](https://wordpress.org/support/users/dtbcinci/)
 * (@dtbcinci)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714581)
 * Thanks very much and I will be looking forward to hearing from you soon.
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714729)
 * Try [https://downloads.wordpress.org/plugin/json-content-importer.1.0.3.zip](https://downloads.wordpress.org/plugin/json-content-importer.1.0.3.zip)
 * To display
    [http://www.reiseliste.de/extra/tmp/1.json](http://www.reiseliste.de/extra/tmp/1.json)
   use the following shortcode: [jsoncontentimporter url=”[http://www.reiseliste.de/extra/tmp/1.json”%5D](http://www.reiseliste.de/extra/tmp/1.json”%5D){
   title} {__class} {id} {numLectures} [/jsoncontentimporter]
 *  Thread Starter [dtbcinci](https://wordpress.org/support/users/dtbcinci/)
 * (@dtbcinci)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714731)
 * Works great!!!
 * Thanks a million.
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714732)
 * Thank you too.
 *  [web_line](https://wordpress.org/support/users/web_line/)
 * (@web_line)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714758)
 * Hi,
 * thanks for the great PlugIn – unfortunately I run into an error when there is
   no named base element (Version 1.0.5 of your PlugIn) – the JSON I tried is valid:
 * [jsoncontentimporter url=”[http://sampleurl.com/wp-json/posts/144″%5D](http://sampleurl.com/wp-json/posts/144″%5D)
   {
   title} [/jsoncontentimporter]
 * Undefined offset: 1 in /var/www/vhosts/myurl/wp-content/plugins/json-content-
   importer/class-json-parser.php on line 155 Notice: Undefined offset: 2 in /var/
   www/vhosts/myurl/wp-content/plugins/json-content-importer/class-json-parser.php
   on line 156 Notice: Undefined offset: 1 in /var/www/vhosts/myurl/wp-content/plugins/
   json-content-importer/class-json-parser.php on line 160 Catchable fatal error:
   Object of class stdClass could not be converted to string in /var/www/vhosts/
   myurl/wp-content/plugins/json-content-importer/class-json-parser.php on line 
   244
 * If you need it – I can send you the URL to the sample JSON in a private mail.
 * Thanks, Detlef
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714763)
 * Hi Detlef,
 * let me know the JSON: blog @ kux . de
 * Bernhard
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714800)
 * Hi Detlef,
 * I’ll mail you.
 * Best
    Bernhard
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714813)
 * Should work with version 1.1.1
 *  [rodpotter](https://wordpress.org/support/users/rodpotter/)
 * (@rodpotter)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714827)
 * Hi there. Your plugin has huge potential and is mostly working for me. My valid
   JSON feed does not have a basenode but still partly works. But in the example
   below, “{content:html}” does not render. Is there a limit to how deep it can 
   parse? It does not seem to work if I try to parse more than 1 level down.
 * [jsoncontentimporter url=”[http://…&#8221](http://…&#8221); urlgettimeout=”5″
   numberofdisplayeditems=”-1″ basenode=””]
 * {subloop:PUBLICATIONS:1}
    {subloop:selected:1} {subloop:publication1:1} {content:
   html} {/subloop:publication1} {/subloop:selected} {/subloop:PUBLICATIONS}
 * {subloop:CONTACTINFO:1}{firstname} {lastname}{/subloop:CONTACTINFO}
    {subloop:
   OVERVIEW:1} <p>Summary: {profilesummary:html}</p> <p>Appointments: {appointments}
   </p> {/subloop:OVERVIEW}
 * {subloop:PROJECTS:1}
    {subloop:project3:1} <p>{summary}</p> {/subloop:project3}{/
   subloop:PROJECTS}
 * [/jsoncontentimporter]
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714828)
 * Hi,
 * there’s no depth-limit, besides the RAM of the webserver and runtime.
    One reason
   might be the encoding.
 * May I have the JSON? Do you have an URL here or via blog at kux.de

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Json Baseheader’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

## Tags

 * [content](https://wordpress.org/support/topic-tag/content/)
 * [importer](https://wordpress.org/support/topic-tag/importer/)
 * [json](https://wordpress.org/support/topic-tag/json/)

 * 14 replies
 * 4 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/json-baseheader/#post-5714828)
 * Status: resolved