• Resolved wsanford

    (@wsanford)


    Need a little help formatting my shortcode.

    JSON is being imported correctly:

    {“matchMax”:10,”notes”:null,”phase”:”Seeding”,”numScores”:16,”scores”:[{“rank”:1,”teamNo”:106,”team”:”G Middle”,”matchLast”:9,”score”:2000},{“rank”:1,”teamNo”:107,”team”:”K Middle”,”matchLast”:8,”score”:2000},{“rank”:2,”teamNo”:101,”team”:”B High”,”matchLast”:7,”score”:1896},{“rank”:3,”teamNo”:100,”team”:”A High”,”matchLast”:7,”score”:1850},{“rank”:4,”teamNo”:109,”team”:”J High”,”matchLast”:9,”score”:1285},{“rank”:5,”teamNo”:104,”team”:”E High”,”matchLast”:9,”score”:1203},{“rank”:6,”teamNo”:105,”team”:”F High”,”matchLast”:8,”score”:1098},{“rank”:7,”teamNo”:102,”team”:”C Middle”,”matchLast”:7,”score”:989},{“rank”:8,”teamNo”:108,”team”:”I High”,”matchLast”:9,”score”:897},{“rank”:9,”teamNo”:103,”team”:”D Middle”,”matchLast”:7,”score”:789},{“rank”:10,”teamNo”:113,”team”:”N High”,”matchLast”:10,”score”:520},{“rank”:11,”teamNo”:115,”team”:”P High”,”matchLast”:10,”score”:450},{“rank”:12,”teamNo”:111,”team”:”L Middle”,”matchLast”:10,”score”:400},{“rank”:13,”teamNo”:114,”team”:”O High”,”matchLast”:10,”score”:300},{“rank”:14,”teamNo”:112,”team”:”M High”,”matchLast”:8,”score”:180},{“rank”:15,”teamNo”:110,”team”:”H Middle”,”matchLast”:8,”score”:120}]}

    But shortcode below produces errors:

    [jsoncontentimporter url=http://www.bestinc.org/apps/public/scores.php?hubId=Robotics basenode=scores urlgettimeout=20 debugmode=10]team: {team}[/jsoncontentimporter]

Viewing 1 replies (of 1 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    I copypasted the JSON to my server. This works as it should:
    [jsoncontentimporter url=http://wptest.kux.de/extra/json/matchMax.json basenode=scores urlgettimeout=20 debugmode=10]team: {team}[/jsoncontentimporter]

    What error do you get?

    Bernhard

Viewing 1 replies (of 1 total)

The topic ‘basenode-param problem?’ is closed to new replies.