twig Date and time: Format, set Timezone and Language – twig-Attribute syntax

Format the date and time from a JSON-API. Also set the timezone and language.

If only simple formatting is required: see here.

Details for “dateformat”:
The twig-extension “dateformat” accepts three arguments:

  • The format of the date, see PHP strftime for that.
  • The second optional argument sets the Timezone, see PHP List of Supported Timezones for more. If empty the default value of the PHP-Installation is used.
  • The third optional argument sets the Language, see PHP Locale for more. If empty the default value of the PHP-Installation is used.

    In case of encodein problems add “.UTF-8” like this: {{JSONFIELD | dateformat(“%B %Y”, ‘Europe/Berlin’, ‘de_DE.UTF-8’)}}

Also note this syntax:
{{ attribute(c.definition.parkingRecord.parkingRecord, ‘@id’) }}
If a JSON-Node has a “special Name” like having special Chars or numbers you’re safe with such a syntax.


[jsoncontentimporterpro nameoftemplate="nottingham-parking.json"]


{% for c in carParks.carPark | slice(0,3) %}
{{ attribute(c.definition.parkingRecord.parkingRecord, '@id') }} - parkingRecordVersionTime: 
{{ c.status.parkingRecord.parkingRecordStatus.parkingStatusOriginTime  | dateformat('%A %m/%d/%y %H:%M:%S ', 'Europe/Berlin', 'nl_NL')}}
parkingSiteStatus: {{c.status.parkingRecord.parkingRecordStatus.parkingSiteStatus }}<br>
parkingSiteOpeningStatus: {{c.status.parkingRecord.parkingRecordStatus.parkingSiteOpeningStatus}}<br>
measurementOrCalculationTime: {{c.status.parkingRecord.parkingRecordStatus.parkingOccupancy.vehicleCountAndRate.vehicleRate.measurementOrCalculationTime | date("d.m.Y, H:i") }}<br>
fillRate: {{c.status.parkingRecord.parkingRecordStatus.parkingOccupancy.vehicleCountAndRate.vehicleRate.fillRate.vehicleFlowRate}}<br>
exitRate: {{c.status.parkingRecord.parkingRecordStatus.parkingOccupancy.vehicleCountAndRate.vehicleRate.exitRate.vehicleFlowRate}}<hr>
{% endfor %}

In Action:

12233069 - parkingRecordVersionTime: donderdag 03/12/20 16:28:18
parkingSiteStatus: spacesAvailable
parkingSiteOpeningStatus: open
measurementOrCalculationTime: 07.08.2020, 21:46
fillRate: 0
exitRate: 0
12233071 - parkingRecordVersionTime: maandag 03/09/20 13:17:42
parkingSiteStatus: spacesAvailable
parkingSiteOpeningStatus: open
measurementOrCalculationTime: 07.08.2020, 21:46
fillRate: 0
exitRate: 0
12233072 - parkingRecordVersionTime: vrijdag 03/13/20 13:21:07
parkingSiteStatus: spacesAvailable
parkingSiteOpeningStatus: open
measurementOrCalculationTime: 07.08.2020, 21:46
fillRate: 0
exitRate: 0

PRO: Simple twig loop


JSON locally stored at:

Shortcode (the twig-template is here inline in the shortcode. It’s way better to use JCI-Templates!):
“slice(2,5) means that the loops starts at item 2 and loops through 5 items

[jsoncontentimporterpro url= parser=twig332adj]
{% for item in _context | slice(2,5) %}
{{}} {{}} {{item.localized_name}}<br>
{% endfor %}

In Action:

3 npc_dota_hero_bane Bane
4 npc_dota_hero_bloodseeker Bloodseeker
5 npc_dota_hero_crystal_maiden Crystal Maiden
6 npc_dota_hero_drow_ranger Drow Ranger
7 npc_dota_hero_earthshaker Earthshaker

twig: Sorting JSON

The PRO Version can sort JSON by using a JCI-twig-extension.

This is done like this:

{% for item in JSONArray | sortbyjsonfield("fieldA##fieldB,desc##fieldC,,num") %}
fieldA: {{item.fieldA}}  / fieldB: {{item.fieldB}} / fieldC: {{item.fieldC}}
{% endfor %}


sortbyjsonfield(STRING) with a special string like “fieldname” (sort field as string from A to Z)

  • “fieldname,desc” (sort field as string from Z to A)
  • “fieldname,,num” (sort field as number from -infinity to infinity)
  • “fieldname,desc,num” (sort field as number from infinity to -infinity)
  • “fieldname,,date” and “fieldname,desc,date” (sort field as date)

“,” and “##” are delimiters (if those are part of the fieldname this won’t work – contact developer in this case to make the delimiter dynamic).

Here we use it like this:

{% for i in Offers | sortbyjsonfield("Refnum,desc,") | slice(0,5) %}
    {{i.Refnum}}: {{i.Arraptname}}<br>
{% endfor %}

In action:

WEBPCK1919-276: Tenerife, Sur Int.(Reina Sofia
WEBPCK1919-275: Tenerife, Sur Int.(Reina Sofia
WEBPCK1919-274: Tenerife, Sur Int.(Reina Sofia
WEBPCK1919-273: Lanzarote (Arrecife) Int.
WEBPCK1919-272: Lanzarote (Arrecife) Int.

PRO: Send authentication data in http-header

Website:, API:

Create new JCI.Template:

  • Name of template: veezi
  • URL: (local storage)
  • Method: CURL-GET
  • twig-template:
{% for item in _context %}{% if item.Id != false %}
{{item.OpeningDate | date("d.m.Y") }}<br>
<b>Title: {{item.Title}}</b><br>
<ul>{% for p in item.People %}
{% endfor %}</ul>
{% endif %}
{% endfor %}


[jsoncontentimporterpro nameoftemplate="veezi"]

In Action:

Title: Cinema Paradiso
Cinema Paradiso will welcome patrons back, paying tribute to cinematic art and its impact on individuals and community. Former documentary filmmaker Giuseppe Tornatore “has plugged into something vital about the hold movies have on us,” says Rolling Stone. “The film recreates a time when people gathered in shoe-box theaters, like this village's Cinema Paradiso, to watch flickering images that could conjure up the whole world.” “Its child's-eye view of the world—a view bursting with wonder, curiosity and longing...” remarks the New York Times. “Early in the movie, Alfredo (the projectionist) sternly declares to Salvatore (his young protege): ‘Life isn't like it is in the movies. Life is harder.’ Cinema Paradiso achingly wishes that weren't so.” And it’s a fitting salute to Ennio Morricone, the composer of this and so many other movie scores (The Good the Bad and the Ugly, and the Oscar-winning The Hateful Eight), who the New York Times memorialized as “a magician of sound” after his July 6 passing.

    Title: Breakfast at Tiffany's
    A young New York socialite becomes interested in a young man who has moved into her apartment building, but her past threatens to get in the way.

      Title: Back to the Future
      A young man is accidentally sent 30 years into the past in a time-traveling DeLorean invented by his friend, Dr. Emmett Brown, and must make sure his high-school-age parents unite in order to save his own existence.
      • Lloyd
      • Thompson
      • Fox
      • Glover
      • Zemeckis

      Title: Event Blocking

        Title: Monty Python and the Holy Grail
        King Arthur and his knights embark on a low-budget search for the Grail, encountering many, very silly obstacles.
        • Palin
        • Idle
        • White
        • Chapman
        • Cleveland
        • Forstater
        • Booth
        • Innes
        • Cleese
        • Jones
        • Gilliam

        Title: Do the Right Thing
        On the hottest day of the year on a street in the Bedford-Stuyvesant section of Brooklyn, everyone's hate and bigotry smolders and builds until it explodes into violence.
        • L. Jackson
        • Lee
        • Perez
        • Esposito
        • Faison
        • Aiello
        • Dee
        • Davis
        • Lee
        • Lawrence
        • Turturro

        Title: Random Movie In The Future

          Title: Test One
          This is Test One

            Title: Test Film 2
            This is Test Film 2

              Title: CiMS

                Title: Video Game Blocking

                  Title: House Will Call
                  Will Call

                    Title: Elvis
                    From Oscar-nominated visionary filmmaker Baz Luhrmann comes Warner Bros. Pictures’ drama “Elvis,” starring Austin Butler and Oscar winner Tom Hanks. The film explores the life and music of Elvis Presley (Butler), seen through the prism of his complicated relationship with his enigmatic manager, Colonel Tom Parker (Hanks). The story delves into the complex dynamic between Presley and Parker spanning over 20 years, from Presley’s rise to fame to his unprecedented stardom, against the backdrop of the evolving cultural landscape and loss of innocence in America. Central to that journey is one of the most significant and influential people in Elvis’s life, Priscilla Presley (Olivia DeJonge). Starring alongside Hanks and Butler, award-winning theatre actress Helen Thomson (“Top of the Lake: China Girl,” “Rake”) plays Elvis’s mother, Gladys, Richard Roxburgh (“Moulin Rouge!” “Breath,” “Hacksaw Ridge”) portrays Elvis’s father, Vernon, and DeJonge (“The Visit,” “Stray Dolls”) plays Priscilla. Luke Bracey (“Hacksaw Ridge,” “Point Break”) plays Jerry Schilling, Natasha Bassett (“Hail, Caesar!”) plays Dixie Locke, David Wenham (“The Lord of the Rings” Trilogy, “Lion,” “300”) plays Hank Snow, Kelvin Harrison Jr. (“The Trial of the Chicago 7,” “The High Note”) plays B.B. King, Xavier Samuel (“Adore,” “Love & Friendship,” “The Twilight Saga: Eclipse”) plays Scotty Moore, and Kodi Smit-McPhee (“The Power of the Dog”) plays Jimmie Rodgers Snow. Also in the cast, Dacre Montgomery (“Stranger Things,” “The Broken Heart Gallery”) plays TV director Steve Binder, alongside Australian actors Leon Ford (“Gallipoli,” “The Pacific”) as Tom Diskin, Kate Mulvany (“The Great Gatsby,” “Hunters”) as Marion Keisker, Gareth Davies (“Peter Rabbit,” “Hunters”) as Bones Howe, Charles Grounds (“Crazy Rich Asians,” “Camp”) as Billy Smith, Josh McConville (“Fantasy Island”) as Sam Phillips, and Adam Dunn (“Home and Away”) as Bill Black. To play additional iconic musical artists in the film, Luhrmann cast singer/songwriter Yola as Sister Rosetta Tharpe, model Alton Mason as Little Richard, Austin, Texas native Gary Clark Jr. as Arthur Crudup, and artist Shonka Dukureh as Willie Mae “Big Mama” Thornton. Oscar nominee Luhrmann (“The Great Gatsby,” “Moulin Rouge!”) directed from a screenplay by Baz Luhrmann & Sam Bromell and Baz Luhrmann & Craig Pearce and Jeremy Doner, story by Baz Luhrmann and Jeremy Doner. The film’s producers are Luhrmann, Oscar winner Catherine Martin (“The Great Gatsby,” “Moulin Rouge!”), Gail Berman, Patrick McCormick and Schuyler Weiss. Courtenay Valenti and Kevin McCormick executive produced. The director’s behind-the-scenes creative team includes director of photography Mandy Walker (“Mulan,” “Australia”), Oscar-winning production designer and costume designer Catherine Martin (“The Great Gatsby,” “Moulin Rouge!”), production designer Karen Murphy (“A Star Is Born”), editors Matt Villa (“The Great Gatsby,” “Australia”) and Jonathan Redmond (“The Great Gatsby”), Oscar-nominated visual effects supervisor Thomas Wood (“Mad Max: Fury Road”), music supervisor Anton Monsted (“Australia,” “Moulin Rouge!”) and composer Elliott Wheeler (“The Get Down”).
                    • Berman
                    • Mittman
                    • Samuel
                    • Montgomery
                    • DeJonge
                    • Weiss
                    • Martin
                    • McCormick
                    • Butler
                    • Mason
                    • Luhrmann
                    • Hanks

                    Title: Top Gun: Maverick
                    After more than thirty years of service as one of the Navy’s top aviators, Pete “Maverick” Mitchell (Tom Cruise) is where he belongs, pushing the envelope as a courageous test pilot and dodging the advancement in rank that would ground him. When he finds himself training a detachment of Top Gun graduates for a specialized mission the likes of which no living pilot has ever seen, Maverick encounters Lt. Bradley Bradshaw (Miles Teller), call sign: “Rooster,” the son of Maverick’s late friend and Radar Intercept Officer Lt. Nick Bradshaw, aka “Goose”. Facing an uncertain future and confronting the ghosts of his past, Maverick is drawn into a confrontation with his own deepest fears, culminating in a mission that demands the ultimate sacrifice from those who will be chosen to fly it.
                    • Powell
                    • Hamm
                    • McQuarrie
                    • Teller
                    • Kosinski
                    • Bruckheimer
                    • Ellison
                    • Goldberg
                    • Ramirez
                    • Pullman
                    • Ellis
                    • Granger
                    • Parnell
                    • Salahuddin
                    • Barbaro
                    • Davis
                    • Cheung
                    • Cruise
                    • Harris
                    • Connelly
                    • Kilmer

                    Title: Minions: The Rise of Gru
                    Next summer, from the biggest animated franchise in history and global cultural phenomenon, comes the untold story of one 12-year-old’s dream to become the world’s greatest supervillain, in Minions: The Rise of Gru. In the heart of the 1970s, amid a flurry of feathered hair and flared jeans, Gru (Oscar® nominee Steve Carell) is growing up in the suburbs. A fanboy of a supervillain supergroup known as the Vicious 6, Gru hatches a plan to become evil enough to join them. Luckily, he gets some mayhem-making backup from his loyal followers, the Minions. Together, Kevin, Stuart, Bob, and Otto—a new Minion sporting braces and a desperate need to please—deploy their skills as they and Gru build their first lair, experiment with their first weapons and pull off their first missions. When the Vicious 6 oust their leader, legendary fighter Wild Knuckles (Oscar® winner Alan Arkin), Gru interviews to become their newest member. It doesn’t go well (to say the least), and only gets worse after Gru outsmarts them and suddenly finds himself the mortal enemy of the apex of evil. On the run, Gru will turn to an unlikely source for guidance, Wild Knuckles himself, and discover that even bad guys need a little help from their friends. Teeming with Illumination’s signature subversive humor, pop-culture sophistication, full-hearted emotion, bold music sensibility, and over-the-top action, Minions: The Rise of Gru features a thrilling new cast of stars, including, as members of the Vicious 6, Taraji P. Henson as cool and confident leader Belle Bottom, Jean-Claude Van Damme as Jean Clawed, Lucy Lawless as Nunchuck, Dolph Lundgren as Svengeance and Danny Trejo as Stronghold. The film also features Russell Brand as Dr. Nefario, an aspiring mad scientist, Michelle Yeoh as Master Chow, an acupuncturist with mad Kung Fu skills, and Oscar® winner Julie Andrews as Gru’s maddeningly self-absorbed mom. Steered by the franchise’s original creators, Minions: The Rise of Gru is produced by visionary Illumination founder and CEO Chris Meledandri and his longtime collaborators Janet Healy and Chris Renaud. The film is directed by returning franchise filmmaker Kyle Balda (Despicable Me 3, Minions), co-directed by Brad Ableson (The Simpsons) and Jonathan del Val (The Secret Life of Pets films), and features the iconic voice of Pierre Coffin as the Minions and a killer ʼ70s soundtrack courtesy of legendary Grammy-winning music producer Jack Antonoff.
                    • Lawless
                    • Henson
                    • Balda
                    • Coffin
                    • Renaud
                    • Yeoh
                    • Healy
                    • Meledandri
                    • Trejo
                    • Van Damme
                    • Lundgren
                    • Del Val
                    • Ableson
                    • Florinda
                    • Andrews
                    • Arkin
                    • Carell
                    • Brand

                    Title: Wordpress film creation tracking
                    Haunted by his mysterious past, a devoted high school football coach leads a scrawny team of orphans to the state championship during the Great Depression and inspires a broken nation along the way.
                    • Shaw
                    • Lofland
                    • De Luca
                    • Williams
                    • Knight
                    • Roberts
                    • Hill
                    • Dylan
                    • Bryan
                    • De Luca
                    • Walker
                    • DuVall
                    • Wilson
                    • Sheen

                    Title: Thor: Love and Thunder
                    The film finds Thor (Chris Hemsworth) on a journey unlike anything he’s ever faced – a quest for inner peace. But his retirement is interrupted by a galactic killer known as Gorr the God Butcher (Christian Bale), who seeks the extinction of the gods. To combat the threat, Thor enlists the help of King Valkyrie (Tessa Thompson), Korg (Taika Waititi) and ex-girlfriend Jane Foster (Natalie Portman), who – to Thor’s surprise – inexplicably wields his magical hammer, Mjolnir, as the Mighty Thor. Together, they embark upon a harrowing cosmic adventure to uncover the mystery of the God Butcher’s vengeance and stop him before it’s too late.
                    • Pratt
                    • Gillan
                    • Hemsworth
                    • Waititi
                    • Thompson
                    • Feige
                    • Damon
                    • Portman
                    • Bale

                    Title: Where The Crawdads Sing
                    From the best-selling novel comes a captivating mystery. Where the Crawdads Sing tells the story of Kya, an abandoned girl who raised herself to adulthood in the dangerous marshlands of North Carolina. For years, rumors of the “Marsh Girl” haunted Barkley Cove, isolating the sharp and resilient Kya from her community. Drawn to two young men from town, Kya opens herself to a new and startling world; but when one of them is found dead, she is immediately cast by the community as the main suspect. As the case unfolds, the verdict as to what actually happened becomes increasingly unclear, threatening to reveal the many secrets that lay within the marsh.
                    • Dickinson
                    • Gabler
                    • John Smith
                    • Hyatt
                    • Newman
                    • Warner Smith
                    • Dillahunt
                    • Edgar-Jones
                    • O'Reilly
                    • Williams
                    • Macer Jr.
                    • Regina
                    • Dunster
                    • Siminoff
                    • Neustadter
                    • Witherspoon
                    • Strathairn

                    Title: Avatar: The Way of Water
                    Set more than a decade after the events of the first film, AVATAR 2 begins to tell the story of the Sully family (Jake, Neytiri, and their kids), the trouble that follows them, the lengths they go to keep each other safe, the battles they fight to stay alive and the tragedies they endure.
                    • Worthington
                    • Saldana
                    • Weaver
                    • Lang
                    • Chaplin
                    • Falco
                    • Moore
                    • Landau
                    • Curtis
                    • Winslet
                    • Cameron
                    • Ribisi
                    • Thewlis

                    Title: Mrs. Harris Goes to Paris
                    In partnership with the House of Dior, MRS. HARRIS GOES TO PARIS tells the story of a widowed cleaning lady in 1950s London who falls madly in love with a couture Dior dress, and decides that she must have one of her own. After she works, starves and gambles to raise the funds to pursue her dream, she embarks on an adventure to Paris which will change not only her own outlook, but the very future of the House of Dior.
                    • Manville
                    • Wilson
                    • Benski
                    • Chancellor
                    • Williams
                    • Halperyn
                    • Kresmery
                    • Fabian
                    • Fabian
                    • Marchand
                    • Bravo
                    • Baptista
                    • Hooks
                    • Huppert
                    • Isaacs

                    Title: Brian and Charles
                    BRIAN AND CHARLES follows Brian, a lonely inventor in rural Wales, who spends his days building quirky, unconventional contraptions that seldom work. Undeterred by his lack of success, Brian attempts his biggest project yet. Three days, a washing machine, and various spare parts later, he’s invented Charles, an artificially intelligent robot who learns English from a dictionary and has an obsession with cabbages. What follows is a humorous and entirely heartwarming story about friendship, family, finding love, and letting go. A breakout hit at the Sundance Film Festival, the film was directed by, the film was directed by Jim Archer, written by David Earl and Chris Hayward and produced by Rupert Majendie for Mr Box Productions. It stars David Earl, Chris Hayward, Louise Brealey, James Michie and Nina Sosanya. Archer, who also edited the film, developed and co-funded the film with Film4 and the BFI. The executive producers are Damian Jones, Mary Burke for the BFI, and Lauren Dark and Ollie Madden for Film4. This marks Archer’s feature directorial debut after cutting his teeth shooting comedy sketches with friends before writing and directing several short films culminating in winning gold at the Young Director Awards in Cannes for the short film version of Brian and Charles.
                    • Michie
                    • Earl
                    • Hayward
                    • Brealey
                    • Izzard
                    • Izzard
                    • Archer
                    • Majendie

                    Title: OCAP WEDNESDAY!!! DON'T FORGET!

                      Title: Movers Ultimate
                      Two best bros must get off work in time to make it to their 10 year high school reunion and reconnect with the girls that got away.

                        Title: Bullet Train
                        In Bullet Train, Brad Pitt stars as Ladybug, an unlucky assassin determined to do his job peacefully after one too many gigs gone off the rails. Fate, however, may have other plans, as Ladybug's latest mission puts him on a collision course with lethal adversaries from around the globe – all with connected, yet conflicting, objectives – on the world's fastest train...and he's got to figure out how to get off. From the director of Deadpool 2, David Leitch, the end of the line is only the beginning in a wild, non-stop thrill ride through modern-day Japan.
                        • Shannon
                        • King
                        • Henry
                        • McCormick
                        • Beetz
                        • Taylor-Johnson
                        • Leitch
                        • Lerman
                        • Sanada
                        • Oka
                        • Koji
                        • Samick
                        • Bunny
                        • A Martínez Ocasio
                        • Pitt
                        • Bullock
                        • Fuqua

                        Title: Nope
                        Oscar® winner Jordan Peele disrupted and redefined modern horror with Get Out and then Us. Now, he reimagines the summer movie with a new pop nightmare: the expansive horror epic, Nope. The film reunites Peele with Oscar® winner Daniel Kaluuya (Get Out, Judas and the Black Messiah), who is joined by Keke Palmer (Hustlers, Alice) and Oscar® nominee Steven Yeun (Minari, Okja) as residents in a lonely gulch of inland California who bear witness to an uncanny and chilling discovery. Nope, which co-stars Michael Wincott (Hitchcock, Westworld) and Brandon Perea (The OA, American Insurrection), is written and directed by Jordan Peele and is produced by Ian Cooper (Us, Candyman) and Jordan Peele for Monkeypaw Productions
                        • Peele
                        • Kaluuya
                        • Yeun
                        • Cooper
                        • Palmer
                        • Wincott
                        • Perea

                        Title: Amsterdam
                        Set in the '30s, it follows three friends who witness a murder, become suspects themselves, and uncover one of the most outrageous plots in American history.
                        • Shannon
                        • Saldana
                        • Riseborough
                        • Robbie
                        • Nivola
                        • Washington
                        • Malek
                        • Schoenaerts
                        • Milchan
                        • Swift
                        • Taylor-Joy
                        • Russell
                        • Katagas
                        • Budman
                        • De Niro
                        • Bale
                        • Myers
                        • Rock
                        • Olyphant

                        Title: Shrek
                        When a green ogre named Shrek discovers his swamp has been 'swamped' with all sorts of fairytale creatures by the scheming Lord Farquaad, Shrek sets out with a very loud donkey by his side to 'persuade' Farquaad to give Shrek his swamp back. Instead, a deal is made. Farquaad, who wants to become the King, sends Shrek to rescue Princess Fiona, who is awaiting her true love in a tower guarded by a fire-breathing dragon. But once they head back with Fiona, it starts to become apparent that not only does Shrek, an ugly ogre, begin to fall in love with the lovely princess, but Fiona is also hiding a huge secret.
                        • Lithgow
                        • Jenson
                        • Williams
                        • Katzenberg
                        • Warner
                        • Dennis
                        • Diaz
                        • Murphy
                        • Myers
                        • Cassel
                        • Adamson

                        Title: Boom and Bust

                          Title: The Hong Konger

                            Title: Best of 48hr Film Project 2022
                            2022 Pittsburgh 48 Hour Film Project Best Of! Sunday 8/14 @ 7:00pm FREE screening

                              Title: Fire Of Love
                              Intrepid scientists and lovers Katia & Maurice Krafft died in a volcanic explosion doing the very thing that brought them together: unravelling the mysteries of volcanoes by capturing the most explosive imagery ever recorded. A doomed love triangle between Katia, Maurice and volcanoes, told through their archival footage
                              • July
                              • Fichman
                              • Dosa
                              • Boris
                              • Krafft
                              • Krafft

                              Title: Hallelujah: Leonard Cohen, A Journey, A Song
                              HALLELUJAH: Leonard Cohen, A Journey, A Song is a definitive exploration of singersongwriter Leonard Cohen as seen through the prism of his internationally renowned hymn, “Hallelujah.” This feature-length documentary weaves together three creative strands: The songwriter and his times; the song’s dramatic journey from record label reject to chart-topping hit; and moving testimonies from major recording artists for whom “Hallelujah” has become a personal touchstone. Approved for production by Leonard Cohen just before his 80th birthday in 2014, the film accesses a wealth of never-before-seen archival materials from the Cohen Trust including Cohen’s personal notebooks, journals and photographs, performance footage, and extremely rare audio recordings and interviews.
                              • Davis
                              • Dylan
                              • Carlile
                              • Hansard
                              • Wainwright
                              • Spektor
                              • Cohen
                              • Collins
                              • Cale
                              • Geller
                              • Geller
                              • Goldfine
                              • Goldfine

                              PRO: API

                              Local stored JSON:

                              {% for i in _context %}
                              {% if>0 %}
                              {{}} {{i.localteam_name}} - {{i.visitorteam_name}} at {{i.venue_city}}
                              {% for e in %} {{e.minute}} {{e.type}}: {{e.player}} {% endfor %}
                              {% endif %}
                              {% endfor %}

                              In Action:

                              2056759 Lorient – Rennes at Lorient 21 yellowcard: A. Mvuemba 28 goal: M. Ciani 32 goal: G. Sio
                              2056760 Lille – Caen at Villeneuve d’Ascq 13 goal: Eder 24 goal: N. Sliti 31 goal: J. Feret

                              PRO: API

                              API:, Example:

                              Local stored JSON:


                              [jsoncontentimporterpro nameoftemplate="bikereg"]


                              <ul>{% for me in MatchingEvents | slice(0,3) %}
                              <li><a href={{me.EventPermalink}} target=_blank>{{me.EventName}}</a>
                              {{me.EventCity}}, {{me.EventState}}, 
                              {% set dateofevent = me.EventDate | slice(6, 10) %}
                              {{dateofevent | date("d.m.Y H:i") }}</li>
                              {% endfor %}</ul>

                              In Action:

                              PRO: API

                              This pages shows you how simple you can loop through a JSON-feed.

                              locally stored at

                              {% for item in _context %}
                              {{item.unique_name}}: rating: {{item.rating}}, countries: 
                                  {% for co in item.countries %}
                                  {% endfor %}
                              {% endfor %}

                              In Action:

                              char..maq: rating: 8.96999988556, countries: AU
                              danny: rating: 0, countries: AU
                              dtellu: rating: 0, countries: NZ
                              d.josey: rating: 0, countries: IE
                              : rating: , countries:

                              PRO: Pagination by twig – 1 feed, many pages

                              This page demonstrates how you can paginate data. All data comes in 1 feed (see here for data in several feeds)

                              Create a new JCI-Template for that:

                              {% set noonpage = 20 %}
                              {% set noofitems = ( days | length ) %}
                              {% if %}{% set selno = %}{% else %}{% set selno = 1 %}{% endif %}
                              number of data-items: {{ noofitems  }} at <a href="" target="_blank"></a><br>
                              {% set noofpages = (noofitems /noonpage) | round(0, 'ceil') %} show on {{noofpages}} pages:
                              {% set start = noonpage *(selno-1) %}
                              {% set end= start + noonpage %} 
                              {% for i in 1..noofpages %} 
                              {% if i==selno %} 
                              <b>this is page: </b> {{selno}} ({{start+1}} - {{end}})
                              {% else %} 
                              <a href=?no={{i}}>{{i}}</a>
                              {% endif %} 
                              {% endfor %}
                              {% if noofitems ==0 %} No data-items found {% endif %} 
                              {% for day in days | slice(start, noonpage) %} 
                              {% set currno = start + loop.index0+1 %} {{currno}}. {{day.FORENAMES}} {{day.SURNAME}}
                              {% endfor %} 


                              [jsoncontentimporterpro parser=twig nameoftemplate=pagination]

                              Example in action:

                              number of data-items: 165 at
                              show on 9 pages: 1 2 3 4 5 6 7 this is page: 8 (141 - 160) 9
                              • 141. Delgado Valdez
                              • 142. Pena Rios
                              • 143. Douglas Sandoval
                              • 144. Barrett Hopkins
                              • 145. Keller Guerrero
                              • 146. Stanley Bates
                              • 147. Alvarado Beck
                              • 148. Ortega Wade
                              • 149. Estrada Contreras
                              • 150. Barnett Caldwell
                              • 151. Santiago Lambert
                              • 152. Powers Chambers
                              • 153. Nunez Craig
                              • 154. Leonard Lowe
                              • 155. Rhodes Byrd
                              • 156. Gregory Shelton
                              • 157. Frazier Becker
                              • 158. Maldonado Fleming
                              • 159. Vega Sutton
                              • 160. Cohen Jennings

                              PRO: Basic JSON-/Twig-Usage with “_context” or “_parent”


                              If your JSON starts with “[{” try this:


                              _context : {{_context | json_encode }}<br>
                              {% for item in _context %}
                              item {{loop.inxes}}: {{item | json_encode}}<br>
                              {% endfor %}
                              {% for item in _parent %}
                              _parent : {{_parent | json_encode }}<br>
                              item {{loop.inxes}}: {{item | json_encode}}<br>
                              {% endfor %}


                              [jsoncontentimporterpro nameoftemplate="contextparent"]

                              twig defines some Global Variables

                              • _self: references the current template name;
                              • _context: references the current context;
                              • _charset: references the current charset.

                              _parent is almost the same as _context but:
                              note the differnce of _context and _parent loops

                              In Action:

                              _context : {"0":{"id":1696,"title":"1Experiment Your Way Through Change","type":14},"1":{"id":2696,"title":"2Experiment Your Way Through Change","type":24},"urlparam":{"no":"8"}}
                              item : {"id":1696,"title":"1Experiment Your Way Through Change","type":14}
                              item : {"id":2696,"title":"2Experiment Your Way Through Change","type":24}
                              item : {"no":"8"}
                              item : {"0":{"id":1696,"title":"1Experiment Your Way Through Change","type":14},"1":{"id":2696,"title":"2Experiment Your Way Through Change","type":24},"urlparam":{"no":"8"}}

                              _parent : {"0":{"id":1696,"title":"1Experiment Your Way Through Change","type":14},"1":{"id":2696,"title":"2Experiment Your Way Through Change","type":24},"urlparam":{"no":"8"}}
                              item : {"id":1696,"title":"1Experiment Your Way Through Change","type":14}
                              _parent : {"0":{"id":1696,"title":"1Experiment Your Way Through Change","type":14},"1":{"id":2696,"title":"2Experiment Your Way Through Change","type":24},"urlparam":{"no":"8"}}
                              item : {"id":2696,"title":"2Experiment Your Way Through Change","type":24}
                              _parent : {"0":{"id":1696,"title":"1Experiment Your Way Through Change","type":14},"1":{"id":2696,"title":"2Experiment Your Way Through Change","type":24},"urlparam":{"no":"8"}}
                              item : {"no":"8"}

                              Free & PRO: API Stadt Köln open-data


                              JSON stored locally:

                              In Action:

                              Free Plugin (show the first four items)

                              [jsoncontentimporter url=]STRASSE:AUSLASTUNG
                              {subloop-array:features:4}{subloop:features.attributes:-1}{NAME}: {AUSLASTUNG}
                              Ost-West-Achse - Deutzer Brücke bis Innere Kanalstraße: 16
                              Ost-West-Achse - Innere Kanalstraße bis Deutzer Brücke: 0
                              Nord-Süd-Fahrt - Ebert Platz bis Cäcilienstraße: 0
                              Düsseldorfer Straße - Flittard bis Mülheimer Zubringer: 16

                              PRO-Plugin (show only >0 values and only 6 items):


                              {% set numb = 0 %}
                              found features: {{features| length}}<br>
                              {% for f in features %}
                              {% if (f.attributes.auslastung>0) and (numb<6) %}
                                  {% set numb = numb  + 1 %}
                                  {{numb}}. {{}}: {{f.attributes.auslastung}}<br>
                              {% endif %}
                              {% endfor %}
                              found features: 113
                              1. Ost-West-Achse - Deutzer Brücke bis Innere Kanalstraße: 16
                              2. Riehlerstraße - Mülheimer Brücke (Schanz) bis Zoobrücke: 16
                              3. Siegburger Straße - A4 - Ausfahrt Poll bis Severinsbrücke: 16
                              4. Rheinufer - Ubierring bis Theodor-Heuss-Ring: 1
                              5. Dürener Straße - Gürtel bis A1 - Ausfahrt Frechen: 16
                              6. Olpener Straße - A4 - Ausfahrt Refrath bis A4 - Ausfahrt Merheim: 16