Skip to content

[Specification proposal] Webcal subscription #41

@onokatio

Description

@onokatio

Some calendar app and caldav support external calendar subscription.
It can save an URL for icalendar resource (.ics) on web.
for example: webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics

I have two idea for specification.

  • type A: decsribe one collection. similar to contacts-calendars.
  • type B: describe two collection. simple and distributed keys.

Draft type A

Path

DecSync
├── webcals
│   └── colID12345
│       ├── local
│       │   ├── appId1
│       │   │   ├── info
│       │   │   └── sequences
│       │   └── appId2
│       │       ├── info
│       │       └── sequences
│       └── v2
│           ├── appId1
│           │   ├── info
│           │   └── sequences
│           └── appId2
│               ├── info
│               └── sequences

Mappings

["info"]

  • key: "name"; value: String, name of the collection.
  • key: "url"; value: String, pointing a webcal address.
  • ley: "subscription"; value: Boolean, indicating the subscription status of the feed.
  • key: "color"; value: String with format "#rrggbb", indicating the color of the calendar.

Draft type B

Path

DecSync
├── webcals
│   ├── local
│   │   ├── appId1
│   │   │   ├── info
│   │   │   └── sequences
│   │   └── appId2
│   │       ├── info
│   │       └── sequences
│   └── v2
│       ├── appId1
│       │   ├── info
│       │   ├── 00
│       │   └── sequences
│       └── appId2
│           ├── info
│           ├── 00
│           └── sequences

Mappings

["names"]

  • key: String, URL of the webcal.
  • value: String, Name of the webcal.

["subscriptions"]

  • key: String, URL of the webcal.
  • value: Boolean, indicating the subscription status of the feed.

["color"]

  • key: String, URL of the webcal.
  • value: String, value: String with format "#rrggbb", indicating the color of the calendar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions