Support » Plugin: JSON Content Importer » How to make second json url in json data?

  • Resolved imadige

    (@imadige)


    I will extract information from within a json on the website. I pull all the information. But the image path in json is in the form of url, in json and base64 format. Is there a solution for this?

    I’m sorry I made a bad translation.

    Sample link: JSON File Link

    https://prnt.sc/v5awsp

    Base64 image link redirected:
    https://mebis.ankaramedipol.edu.tr/EgitimKadrosu/KisiResmiJson?key=%23jcb%7CGwWP125Rm7iylj6YLK%7CcC81G4sC%7Cy%7CXvie_xDYU%3D

    • This topic was modified 5 months, 3 weeks ago by imadige.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author berkux

    (@berkux)

    Hi

    you can usde the JSON-given data with html like this for a red dot:
    Red dot
    <hr>

    So something like this:

    [jsoncontentimporter url="https://mebis.ankaramedipol.edu.tr/EgitimKadrosu/KisiResmiJson?key=WHATEVER_KEY" debugmode=10]
    <img src="{Resim}" />
    [/jsoncontentimporter]

    unfortunately here the SSL-certificate of this server is not ok, so a
    “SSL certificate problem: unable to get local issuer certificate” is thrown and the request fails. So either this is fixed or switched of (a pro plugin feature).

    The pro plugin can solve this, switch to
    https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no
    for any further questions on that.
    No pro questions will be answered here.

    Best
    Bernhard

    • This reply was modified 5 months, 3 weeks ago by berkux.
    Thread Starter imadige

    (@imadige)

    I know you have a certificate problem, we will solve it. But the problem here is;

    [jsoncontentimporter url="https://mebis.ankaramedipol.edu.tr/EgitimKadrosu/KisiResmiJson?key=WHATEVER_KEY" debugmode=10]
    <img src="{Resim}" />
    [/jsoncontentimporter]

    Specifying a variable like this, it directs it directly to the json page;

    https://mebis.ankaramedipol.edu.tr/EgitimKadrosu/KisiResmiJson?key=%23jcb%7CGwWP1268BELN3PCphAFEEEJukP5ATirVmDfc7Yw%3D

    Do you have any suggestions, if there will be a solution to this problem, we will get a pro version.
    Thanks for the plugin, by the way.

    Plugin Author berkux

    (@berkux)

    Hi,

    see
    http://wptest.kux.de/base64-img/

    red dot: <img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />

    The image is done the same way, but with the pro plugin switching off the certificate problem.

    Bernhard

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.