diff --git a/cal.php b/cal.php index 846dcd2..eb5df7d 100755 --- a/cal.php +++ b/cal.php @@ -31,12 +31,14 @@ echo "END:VTIMEZONE\r\n"; // Generate VEVENTS foreach ($events as $event) { - $uid = uniqid() . "@yourdomain.com"; + $uid = uniqid() . "@homelabbrisbane.com.au"; $dtstart = date("Ymd\THis", strtotime($event["start"])); $dtend = date("Ymd\THis", strtotime($event["end"])); $summary = htmlspecialchars($event["title"]); $location = htmlspecialchars($event["location"]); + $description = isset($event["description"]) ? htmlspecialchars($event["description"]) : ''; + echo "BEGIN:VEVENT\r\n"; echo "UID:$uid\r\n"; @@ -45,9 +47,10 @@ foreach ($events as $event) { echo "DTEND;TZID=Australia/Brisbane:$dtend\r\n"; echo "SUMMARY:$summary\r\n"; echo "LOCATION:$location\r\n"; + echo "DESCRIPTION:$description\r\n"; echo "END:VEVENT\r\n"; } // End of calendar echo "END:VCALENDAR\r\n"; -?> \ No newline at end of file +?> diff --git a/events.json b/events.json index 65f41cc..7e9c440 100755 --- a/events.json +++ b/events.json @@ -3,6 +3,7 @@ "start": "2025-06-10T19:00:00", "end": "2025-06-10T21:00:00", "title": "June 2025 Online Catch Up", + "description": "Getting started with meshtastic", "location": "Jitsi" }, {