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

sched.com integration #1

Open
cjyabraham opened this issue Feb 15, 2019 · 7 comments
Open

sched.com integration #1

cjyabraham opened this issue Feb 15, 2019 · 7 comments
Assignees
Labels
nice to have Not required for deployment

Comments

@cjyabraham
Copy link
Collaborator

cjyabraham commented Feb 15, 2019

Request from @dankohn:
Could you please examine how we are embedding sched.com into our events pages, such as: https://events.linuxfoundation.org/events/open-networking-summit-north-america-2019/program/schedule/
I think it looks fine, but I always right-click on the mobile app logo, open in a new tab, and then delete the path to come up with https://onsna19.sched.com/
What I like about using sched.com directly is that I get stateful URLs, such as https://onsna19.sched.com/overview/type/Tutorials
Could you please look into whether it would be possible to make the stateful URLs within the embed.

@dankohn dankohn added the enhancement New feature or request label Feb 15, 2019
@cjyabraham
Copy link
Collaborator Author

@dankohn can I have the login credentials for this site? I think I'll contact their support team about it.

@cjyabraham
Copy link
Collaborator Author

We have requested this as a feature with sched.com but they don't know when it will be implemented.

@cjyabraham
Copy link
Collaborator Author

@cjyabraham cjyabraham reopened this May 10, 2019
@cjyabraham
Copy link
Collaborator Author

The difficulty with doing this is that we need to use js in the browser to access the contents of the iframe. Actually, as it is, we'll need to access the contents of an iframe inside of an iframe, since that's what sched injects into a page.

This can be done but not for an iframe that comes from a different domain since we run into CORS. This is show here:
Screen Shot 2019-05-11 at 12 04 14 PM

One workaround is to ask sched.com to allow CORS. They do this by setting the header Access-Control-Allow-Origin: * . I'm not sure if they'd be amenable to this.

@cjyabraham cjyabraham added nice to have Not required for deployment and removed enhancement New feature or request labels May 11, 2019
@cjyabraham
Copy link
Collaborator Author

cjyabraham commented May 16, 2019

Another idea is that we could have a menu external to the embedded iframe that changes which page the embed starts on and stores that in the url. The embed can be started on a specific page:
"You can also embed specific views of your schedule (simple, expanded, grid) or directory (speakers, sponsors, exhibitors)."

This would give you some ability to bookmark a specific view of the embed. What do you think @dankohn ? I don't think it would allow you to go down to a particular talk however.

Thanks to @andycochran for the idea.

@dankohn
Copy link
Contributor

dankohn commented May 16, 2019 via email

@dankohn
Copy link
Contributor

dankohn commented Nov 27, 2019

What I'm envisioning is that as the URL of the iFrame changes, JavaScript on the parent page would note the change and change the parent URL accordingly.

https://stackoverflow.com/questions/42642139/how-to-inherit-url-fragment-from-parent-inside-an-iframe seems to do the opposite but the same approach might work.

When I go to https://events19.linuxfoundation.org/events/kubecon-cloudnativecon-north-america-2019/schedule/ and click Community, I'm imagining that the parent URL could change to https://events19.linuxfoundation.org/events/kubecon-cloudnativecon-north-america-2019/schedule/#overview/type/Community as the embed changes to https://kccncna19.sched.com/overview/type/Community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nice to have Not required for deployment
Projects
Status: Later
Development

No branches or pull requests

2 participants