Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] webcal link from leagueathletics.com does not seem to work #6

Closed
geoffbeier opened this issue Sep 28, 2022 · 3 comments
Closed
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@geoffbeier
Copy link

Linkal looks like just what I've been thinking about building for myself.

When I try to set it up with a calendar hosted on leagueathletics.com, I can't get it to work.

Here's my configuration

❯ cat calendars.json
{
  "calendars": {
    "webcal://www.LeagueAthletics.com/Feeds/ICal/?teams=1031498&org=arlingtonlittleleague.org": {
      "name": "Fall 2022 Majors Royals"
    }
  }
}

When I then start linkal by running

❯ cargo run -- --calendar-file calendars.json
    Finished dev [unoptimized + debuginfo] target(s) in 0.26s
     Running `target/debug/linkal --calendar-file calendars.json`

it appers to start with no errors. When I connect to it with the Mac OS calendar program, it tells me no calendars are available, and cadaver tells me

❯ cadaver http://localhost:8443/
dav:/> ls
Listing collection `/': collection is empty.

No further messages are printed to linkal's stdout/stderr.

I suspect I'm either missing something that should be obvious to me or just trying to use this for the wrong thing altogether.

@JulienMalka
Copy link
Owner

Hi, the problem you're facing here is that the calendar you've specified is not a caldav calendar, it is simply a website serving ical files. In the short term, what we should do about it is adding a check when parsing the json config file so that linkal complains loudly if the calendar specified do not correspond with a caldav endpoint. In the long term it would be interesting to also support these endpoints that just serve ical files, it would make Linkal more general.

@JulienMalka JulienMalka added bug Something isn't working enhancement New feature or request labels Sep 29, 2022
@geoffbeier
Copy link
Author

Thank you. I think I assumed it was a caldav calendar because the site in question (along with two similar other sites which use different software AFAICT) also offers a separate endpoint for just downloading an ICS file. I guess certain clients must behave better if they get the ical data from a "webcal" URL.

@JulienMalka
Copy link
Owner

I'll close this as I opened relevant feature requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants