• Resolved alaikke

    (@alaikke)


    Hey body!
    `I am trying to use the plugin but I have not yet succeeded.

    I need to show the last 10 publications from this link: https://www.fenae.org.br/portal/lumis/api/rest/fenaenoticias/lumgetdata/list.json?

    I need a template to show the following fields loops:

    Title: “titulo”
    Image: “href”
    Post Intro: “introducao”
    Content: “conteudo”

    If possible, I would also like a template to show the last 10 publications with the destination link in the title of each post.

    Can you help me with this templates?

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

    (@berkux)

    Hi,

    try this:

    [jsoncontentimporter url=https://www.fenae.org.br/portal/lumis/api/rest/fenaenoticias/lumgetdata/list.json urlgettimeout=60]
    {subloop-array:rows:4}
    {rows.conteudo:html}<br>
    {subloop:rows.imagemIntroducao:-1}
    <img src="{rows.imagemIntroducao.href}">
    {/subloop:rows.imagemIntroducao}
    <hr>
    {/subloop-array:rows}
    [/jsoncontentimporter]

    Bernhard

Viewing 1 replies (of 1 total)
  • The topic ‘JSON template’ is closed to new replies.