Add to Calendar: hand phones the .ics file instead of a Google link

On a phone the Google Calendar app claims calendar.google.com links and opens
its own home screen, dropping the event. The pop-up now offers one "Add to
Calendar" button that goes to the calendar file on iOS/Android (served inline
so the phone hands it to its calendar) and to the Google event editor on
desktop, with the other route as the second button either way. The .ics is
also folded to RFC 5545 line lengths so Outlook accepts it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-22 06:26:21 -05:00
parent 9249ae6368
commit 2c6b116e9a
3 changed files with 19 additions and 5 deletions
+1 -1
View File
@@ -28,5 +28,5 @@
<a class="btn btn-primary" href="/my">Open the dashboard</a>
</div>
</main>
<script src="/app.js"></script> <script src="/announce.js?v=20260916a"></script>
<script src="/app.js"></script> <script src="/announce.js?v=20260922a"></script>
</body></html>