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

    (@berkux)

    Hi,

    Yet the url-parameter in the shortcode is static.
    One way would be pass GET and POST Variables to the Url / plugin. Like {param} inside the shortcode-param.
    This is a good option for future versions of the plugin.

    You wrote that javascript gives you the url. As the json-import and parsing is done before executing javascript i do not see how to do this…

    Plugin Author berkux

    (@berkux)

    The pro-version has a dynamic parameter now, see
    https://json-content-importer.com/compare/

    Hi Berkux — we just bought the pro version of your plugin and it is working quite well. I could not find an example of using a dynamic URL in the short code. I want to do this:

    [jsoncontentimporterpro url=’https://aaa/?myid=”XXX” basenode=””]

    where XXX is the value of a paramater passed from the current page.

    Can we do something like this:

    [jsoncontentimporterpro url=’https://aaa/” dynparam=”myid” basenode=””]

    so that the value of “myid” gets appended as a parameter to the json feed URL?

    I think this is what you meant by “dynamic parameter” but I can’t see how to make it work.

    Thanks
    Rod

    Plugin Author berkux

    (@berkux)

    Hi Rod,

    thank you for using my plugins.
    “dynamic parameter” meant using {{param1}} in the Template-Text, where param1 is a shortcode-value.
    The “dynparam” will be part of PRO version 2.0.4 and will be called “urlparam”.

    2.0.4 will be online today or tomorrow.

    Bernhard

    Plugin Author berkux

    (@berkux)

    Now it’s 2.04. time, see
    https://json-content-importer.com/compare/
    “Passing GET-Parameter to JSON-Feed by special Shortcode-Parameter “urlparam””

    Bernhard

    Thanks Bernhard, I updated to 2.04 and your enhancement worked perfectly.

    Rod

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘URL with parameters’ is closed to new replies.