• Resolved chaeks88

    (@chaeks88)


    I am finding the plugin JSON Content Importer very useful – thank you, but have a few isues:

    1. Some of the data although listed in the API does not display on my page. Two items that I cannot get to display correctly are: {pens.avgSpeed} and {pens.riders.club.name}
    2. If you check my page you will also see that the Time and Gap columns display time as seconds and milliseconds. the first example is in the Time column 2086.72 which is 34min 46.720 seconds. Is there a way for me to convert the number 2086.72 directly to the correct time (34:46.720) in the subloop {subloop-array:pens.riders:-1}?

    API URL: https://www.zwiftracing.app/api/results/4233450

    The page I need help with: [log in to see the link]

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

    (@berkux)

    Hi,

    try this for Question 1: With the JCI Free Block you can create a Template with all the data to be displayed.

        {subloop-array:pens:-1}<br>
              name = {pens.name}<br>
            {subloop:pens.points:-1}
                  avgSpeed = {pens.points.avgSpeed}<br>
          {/subloop:pens.points}
            riders:<br>
              {subloop-array:pens.riders:-1}<br>
                    name = {pens.riders.name}<br>
                  {subloop:pens.riders.club:-1}
                        name = {pens.riders.club.name}<br>
                {/subloop:pens.riders.club}
                    avgSpeed = {pens.riders.avgSpeed}
              {/subloop-array:pens.riders}<br>
        {/subloop-array:pens}

    <<Is there a way for me to convert the number 2086.72 directly to the correct time (34:46.720) in the subloop {subloop-array:pens.riders:-1}>>
    Unfortunately, no, not with the free JCI plugin.

    Thread Starter chaeks88

    (@chaeks88)

    Thank you! Question 1 is now resolved, much appreciated.

    If I buy the paid PRO plugin will I be able to resolve Question 2?

    Plugin Author berkux

    (@berkux)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issues with Data’ is closed to new replies.