• Resolved sachinkarya

    (@sachinkarya)


    Hi, I use your plugin first time and when I placed shortcode but didn’t receiving output and getting this error

    “No URL defined: Check the shortcode – one typical error: is there a blank after url= ?”

    Here is the shortcode which I added to my page

    [jsoncontentimporter
    url=https://api.covid19india.org/raw_data3.json
    urlgettimeout=”5000″
    numberofdisplayeditems=””
    basenode=starting point of datasets, tha base-node in the JSON-Feed where the data is?
    oneofthesewordsmustbein=covid19india nobel corona virus
    oneofthesewordsmustbeindepth=1
    oneofthesewordsmustnotbein=””
    oneofthesewordsmustnotbeindepth=1
    ]
    [/jsoncontentimporter]

    Please help me regarding this issue

    Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    try this:
    [jsoncontentimporter url=https://api.covid19india.org/raw_data3.json basenode=raw_data]
    detecteddistrict: {detecteddistrict}: {numcases} numcases <br>
    [/jsoncontentimporter]

    Remove any linefeed in the shortcode itself, please.

    Bernhard
    Munich, Germany

    Thread Starter sachinkarya

    (@sachinkarya)

    Hello,
    Thank you for your reply, error is removed but its not showing as I wanted in that page.
    By the way thank you for your help.

    Regard

    Plugin Author berkux

    (@berkux)

    What Json-Field do you want to display?

    • This reply was modified 4 years, 10 months ago by berkux.
    Thread Starter sachinkarya

    (@sachinkarya)

    Hi,
    something like this website : https://www.covid19india.org/

    Regard,

    Plugin Author berkux

    (@berkux)

    This is a tough challange. Get familiar where in the json what Data is and try to create a Template for that. Not easy but no rocket science.

    Thread Starter sachinkarya

    (@sachinkarya)

    Hi,
    Thank you for your cooperation, I’ll try to find out the method.

    Regard,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Shortcode is not working for covid19india json api’ is closed to new replies.