PRO: Create Maps with Markers

Situation: You have a JSON with Marker-Data you can use on Maps like Openstreeptmap.Example: http://api.json-content-importer.com/extra/json/mapmarker.php Such a JSON can be created out of other JSON by the JCI-PRO Plugin: See here how this is done for an RSS-Feed. In Action: Solution: Create a new JCI-Tempalte with: URL: http://api.json-content-importer.com/extra/json/mapmarker.php Twig-Code:

generate-meetup-blueprint

this is the blueprint-page for the meetup-pagesmeetup-description: ##description##meetup-date: ##date##venue: ##venue##

Formatting of date

Here you see how date from JSON can be formatted by twig.Example of JSON with dates: http://api.json-content-importer.com/extra/json/date.php For that create a JCI-Template with: URL: http://api.json-content-importer.com/extra/json/date.phpName: dateformattingtwig-code:See https://www.php.net/manual/en/function.date.php for the Syntax in date(“…”) Then add time: 1660799766 time-formatted: Thursday 18.08.2022 date: 2022-10-06T00:00:00.000+0000 date-formatted: Thursday 06.10.2022 otherdate: Thu, 18 Aug 22 07:16:06 +0200 otherdate-formatted: Thursday 18.08.2022 05:16:06 … Continue reading “Formatting of date”

API-Examples

Here you find some examples on how to use some APIs: