[jsoncontentimporterpro parser=twig id=7 url=https://api.meetup.com/2/open_events?lat=48.1250724792&lon=11.5571479797&key=... urlparam=no]twig template:
no of found meetups: {{meta.total_count}}<br> {% set noonpage = 20 %} {% set noofpages = (meta.total_count/noonpage) | round(0, 'ceil') %} show on {{noofpages}} pages: {% for i in 1..noofpages %} {% if i==urlparam.no %} <b>this is page: {{urlparam.no}}</b> {% else %} <a href=?no={{i}}>{{i}}</a> {% endif %} {% endfor %}<br> {% set start = noonpage *(urlparam.no-1)+1 %} {% set end= noonpage *(urlparam.no) %} {% if start <1 %} {% set start = 1 %} {% set end = noonpage %} {% endif %} show {{start}} to {{end}} <hr> {% if meta.total_count==0 %} No meetup found {% endif %} <ul> {% for event in results %} {% if loop.index0< end+1 and loop.index0>start-1 %} <li> <b> {{loop.index0}} <a href="{{event.event_url}}" target=_"blank">{{event.name}}</a></b> <br> {% set realtime= event.time %} {% set shortts = realtime |slice(0,10) %} {% if shortts|date("H:i")=="00:00" %} {{shortts|date("d.m.Y") }} {% else %} {{shortts|date("d.m.Y, H:i") }} Uhr {% endif %} {% if event.venue.city!="" %} , <a href="https://www.google.de/maps/place/{{event.venue.lat}},{{event.venue.lon}}" target="_blank">{{event.venue.name}}, {{event.venue.address_1}}, {{event.venue.city}}</a> {% endif %} {% endif %} {% endfor %} </ul> <hr>Example in action: no of found meetups: 404
show on 21 pages: this is page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
show 1 to 20
-
1 Künstliche Intelligenz bei der Deutschen Telekom
25.04.2018, 13:30 Uhr , CMD+O - Open Workspace for Open Minds, Marienplatz 22, München -
2 Cloud Native Night: Istio, Machine API
25.04.2018, 16:00 Uhr , QAware GmbH, Aschauer Str. 32, 81549, München -
3 CodingDojo bei Philotech
25.04.2018, 16:00 Uhr , Philotech Systementwicklung und Software GmbH, Eschenstrasse 2, Taufkirchen -
4 Test your Javascript with Mocha and Chai
25.04.2018, 16:00 Uhr , Virtual Identity AG, Isarwinkel 16, München -
5 31 . München Ukulele Meetup - Thema: Better together ✌
25.04.2018, 16:00 Uhr , Riff Raff, Tegernseer Landstraße 96, München -
6 Das Kanbunny erklärt Kanban und die Engpasstheorie
25.04.2018, 16:30 Uhr , it-agile GmbH München, Nyphenburgerstraße 86, München -
7 The Lightning Network: Introduction and Deep-Dive
25.04.2018, 16:30 Uhr , Innovator Space e.V., Münchner Freiheit 7, München -
8 Cloud Native Night: Istio, Machine API
25.04.2018, 16:30 Uhr , QAware GmbH, Aschauer Str. 32, 81549, München -
9 Amazon GameOn
25.04.2018, 16:30 Uhr , Amazon Deutschland Services GmbH, Domagkstraße 28, 80807 , München -
10 Slow Evening Run
25.04.2018, 16:30 Uhr , Diana Tempel, Hofgarten, Odeonsplatz, München -
11 Start Coding with Ruby on Rails
25.04.2018, 16:30 Uhr , Experteer, Lenbachpl. 3, 80333 München, München -
12 Swift Meetup Munich X
25.04.2018, 16:30 Uhr , AutoScout24 (new office), Bothestraße 11 - 15, München -
13 Let us meet at 'Cafe Mariandl' in central Munich
25.04.2018, 16:30 Uhr -
14 SBMM #8 | Bar Camp | by relaio & Hochschule Macromedia
25.04.2018, 16:30 Uhr -
15 Introduction to Lightning Network
25.04.2018, 16:30 Uhr , Innovator Space e.V., Münchner Freiheit 7, München -
16 Cashflow Abend München 25.04.2018
25.04.2018, 16:45 Uhr , Gerhard Aulbach , Schlossstrasse 12, Ismaning -
17 Neos CMS und Flow Meetup München - April 2018
25.04.2018, 17:00 Uhr , mindscreen, Nymphenburger Str. 147, München -
18 Deutschsprachiger Stammtisch
25.04.2018, 17:00 Uhr , Parkcafé, Am Wörth 23, Freising -
19 ArtMasters - Painting Party - Fashion Illustration
25.04.2018, 17:00 Uhr , Hausfreund, Buttermelcherstr. 17, München -
20 Aufstellungsabend: wir üben achtsam sein
25.04.2018, 17:00 Uhr , FreiRaum64, Heimeranstraße 64, München
The code-magic behind this (also used at www.digimuc.de):