• Resolved dncpax

    (@dncpax)


    Can′t make it work.

    A simple json here: https://sigims.edia.pt/wp_tabela.json

    It gets the json ok, but can’t make it work, always the same error:

    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!

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

    (@berkux)

    Hi,
    try this:

    [jsoncontentimporter url="https://sigims.edia.pt/wp_tabela.json" basenode="dados"]alqueva_data = {alqueva_data:datetime,d.m.Y, H:i:s,0}<br>
          alqueva_hora = {alqueva_hora:datetime,d.m.Y, H:i:s,0}<br>
          alqueva_cota = {alqueva_cota}<br>
          alqueva_volume = {alqueva_volume}<br>
          pedrogao_data = {pedrogao_data:datetime,d.m.Y, H:i:s,0}<br>
          pedrogao_hora = {pedrogao_hora:datetime,d.m.Y, H:i:s,0}<br>
          pedrogao_cota = {pedrogao_cota}<br>
          pedrogao_volume = {pedrogao_volume}<br>[/jsoncontentimporter]

    Use the JCI Free Gutenberg-Block to create a Shortcode like this or stick to the block: Just insert the URL and create a template in seconds…

    Bernhard

    • This reply was modified 8 months, 3 weeks ago by berkux.
    Thread Starter dncpax

    (@dncpax)

    Hey Bernhard, thanks! That did it.

    Plugin Author berkux

    (@berkux)

    Hey dncpax,

    great! Feel free to write a brief review. Thank you!
    Bernhard

    • This reply was modified 8 months, 3 weeks ago by berkux.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘We have a Problem with JSON here’ is closed to new replies.