• Resolved Adriders

    (@adriders)


    First question:

    I want to show the image from the json:

    [jsoncontentimporter url=”https://data.sportlink.com/clubgegevens?client_id=52Yog8PrgF” numberofdisplayeditems=”30″ basenode=”gegevens”]
    {logo.image}
    [/jsoncontentimporter]

    any idea why it is not showing?

    Question 2:

    Is it possible to have to 2 json cals in a loop? We have a main request, with id’s in it in the second json the detail data is shown.

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

    (@berkux)

    Try
    [jsoncontentimporter url=https://data.sportlink.com/clubgegevens?client_id=52Yog8PrgF numberofdisplayeditems=30 basenode=gegevens]
    {informatie} {logo}
    [/jsoncontentimporter]

    The Problem was the wrong “…

    <<Is it possible to have to 2 json cals in a loop? We have a main request, with id’s in it in the second json the detail data is shown.>>
    This should work with the pro-version by nesting shortcodes.

    • This reply was modified 8 years, 5 months ago by berkux.
    Thread Starter Adriders

    (@adriders)

    Hi,

    I tried:

    [jsoncontentimporter url=https://data.sportlink.com/clubgegevens?client_id=52Yog8PrgF numberofdisplayeditems=30 basenode=gegevens]
    {informatie} {logo}
    [/jsoncontentimporter]

    But I don’t see the image. Can you check this, we need this for more feeds.

    If it works with nested shortcodes we will buy the plugin. Do you have an example how this works?

    Plugin Author berkux

    (@berkux)

    Hi,

    it works like this (pro-settings: “first third-party-Shortcodes, 2nd: JSONContentImporter-Shortcode”). Yet the plugin can nest jsoncontentimporterpro – jsoncontentimporter.
    If needed I remove the jsoncontentimporterpro – jsoncontentimporterpro nesting, which is yet not possible du to avoid infinite loops when using it in the wrong way.

    [jsoncontentimporterpro url=https://data.sportlink.com/clubgegevens?client_id=52Yog8PrgF numberofdisplayeditems=30 basenode=gegevens]
    informatie: {informatie} <br>[jsoncontentimporter url="otherurl...."]...[/jsoncontentimporter]
    <img src="image/jpeg;base64,{logo}" />
    [/jsoncontentimporterpro]

    see https://wptest.kux.de/sportlink/

    Bernhard

    • This reply was modified 8 years, 5 months ago by berkux.
    • This reply was modified 8 years, 5 months ago by berkux.
    • This reply was modified 8 years, 5 months ago by berkux.
    • This reply was modified 8 years, 5 months ago by berkux.
    • This reply was modified 8 years, 5 months ago by berkux.
    Thread Starter Adriders

    (@adriders)

    Very nice! We will go for the pro version!

    I tried to show the image and get this fault in the console:

    /image/jpeg;base64,iVB…6MEA+Sc5rlSq0CO+XEmRSm19otLWguJHrA40b5OwbQ/w/KLMjzxFOU9wAAAABJRU5ErkJggg== 414 (Request-URI Too Large)

    Any idea?

    • This reply was modified 8 years, 5 months ago by Adriders.
    Plugin Author berkux

    (@berkux)

    <<I tried to show the image and get this fault in the console:>>
    It’s a quite unusual way to enclose the image-binaray-code into JSON.
    Can you post or mail me the URL where this happens?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show image + 2 json resquest’ is closed to new replies.