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

Add support for externally hosted calendars #519

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

stefanv
Copy link
Member

@stefanv stefanv commented Oct 30, 2023

  • Use a different compile path for local and remotely stored calendars
  • Render external links on the calendar download page, but use internal links for JS calendar displayt
  • Add Pandas's calendar

@melissawm This is the alternative pathway I had in mind for scientific-python/yaml2ics#71 and #246

The one problem with this approach (and any approach, in fact) is that our calendar rendering won't update when pandas changes their ICS. I tried to make the widget render from the remote URL, but that causes CORS problems.

Given that their calendar may frequently be out of date, does it make sense to host it here—or at least, include it in the calendar widget? Is there a reason why they don't want to use the YAML infrastructure provided?

@netlify
Copy link

netlify bot commented Oct 30, 2023

Deploy Preview for scientific-python-org ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0b4da12
🔍 Latest deploy log https://app.netlify.com/sites/scientific-python-org/deploys/65402aae1249e500084c9657
😎 Deploy Preview https://deploy-preview-519--scientific-python-org.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 72
Accessibility: 98
Best Practices: 100
SEO: 89
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

- Use a different compile path for local and remotely stored calendars
- Render external links on the calendar download page, but use
  internal links for JS calendar displayt
- Add Pandas's calendar
@stefanv stefanv force-pushed the build-external-calendars-too branch from 8d92254 to 0b4da12 Compare October 30, 2023 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant