Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,16 @@ If you are using a different Statamic collection, update it in the addon setting

### ICS Downloads

ICS downloads use the following fields if they exist:
ICS downloads read the following entry fields when present:

- `address`
- `coordinates`
- `description`
| ICS property | Source |
|---|---|
| `LOCATION` | `address`, falling back to `location` — only when the value is a string |
| `URL` | `link`, falling back to `location` when that string is a URL |
| `GEO` | `coordinates` (`latitude` / `longitude`) |
| `DESCRIPTION` | `description` |

A URL-valued `location` (with no separate `address` / `link`) currently emits **both** `LOCATION:` and `URL:`.

The `coordinates` field must be a keyed array:

Expand Down Expand Up @@ -262,7 +267,4 @@ Generates an ICS download link.
**Parameters:**
- `date` date get occurrences to download

Includes:
- `location`
- `description`
- `link`
Includes the fields documented under [ICS Downloads](#ics-downloads).
Loading