Support » Plugin: JSON Content Importer » Dont disply values

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

    (@berkux)

    Hi,

    try this:

    [jsoncontentimporter url=https://syndicationtest%40autotrader.co.za:Lqqui8QRkRXnkxp@services.exdev.autotrader.co.za/api/syndication/v1.0/listings]
    variant: {variant}, id: {id}, description: {description}<br>
    {subloop-array:imageUrls:10}<img src="{0}">{/subloop-array:imageUrls}<br>
    {subloop:dealerContactInformation:10}dealerContactInformation.name: {dealerContactInformation.name}{/subloop:dealerContactInformation}<hr>
    [/jsoncontentimporter]

    Bernhard

    ultramel1987

    (@ultramel1987)

    Hi @berkux – How would this content being pulled from the jsoncontent importer be used? For example in a car sales wordpress theme? How would you go about “linking” the vehicles to the data pulled from the above JSON FILE? it would need to update 10 times per hour

    Plugin Author berkux

    (@berkux)

    Hi @ultramel1987,

    <<How would this content being pulled from the jsoncontent importer be used? For example in a car sales wordpress theme?>>
    If the page build with the theme offers inserting a Shortcode, that’S the way. If not: I dont know what a car sales theme is offering.

    << How would you go about “linking” the vehicles to the data pulled from the above JSON FILE? >>
    There is no data in the JSON-URL. It’S not clear to me what you want to achieve.

    <<it would need to update 10 times per hour>>
    The JSON-Plugin is asking the JSON every time it’s called. If you activate caching for 10 hours the API will use the locally stored JSON until the 10 hours are over.

    Bernhard

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