neuropoly / neuro.polymtl.ca

NeuroPoly's Website
https://neuro.polymtl.ca
3 stars 5 forks source link

Use google slides instead of slideshare #56

Open jcohenadad opened 2 years ago

jcohenadad commented 2 years ago

Pros:

See example: https://lukas-snoek.com/NI-edu/section_intros/2_glm.html

kousu commented 2 years ago

This change makes these slides inaccessible to people using ad-blockers, like me, who don't want google tracking them in the normal course.

I'm okay connecting to docs.google.com if it's a direct connection where I'm consenting to it, but an embed isn't something I can consent to. My adblocker brings that consent back, but gives a stuttered experience to anyone using one. Embedding the PDFs avoided this.

jcohenadad commented 2 years ago

This change makes these slides inaccessible to people using ad-blockers, like me, who don't want google tracking them in the normal course. I'm okay connecting to docs.google.com if it's a direct connection where I'm consenting to it, but an embed isn't something I can consent to. My adblocker brings that consent back, but gives a stuttered experience to anyone using one. Embedding the PDFs avoided this.

wow, good to know. I wasn't aware you could not see the files with your ad-blocker. I am also using an ad-blocker and I can see the slides. Maybe because I'm using chrome? or because of the settings of the ad-blocker..?

image

jcohenadad commented 2 years ago

ah! I'm connecting in incognito mode and observed this behaviour: image

So yes, I agree with @kousu that relying on live-fetching of google content for our website might not be the best idea... Also considering countries where google content is less accessible.

EDIT 2022-07-25 19:10:18: After changing permissions (https://github.com/neuropoly/neuro.polymtl.ca/issues/56#issuecomment-1194750173) this issue is solved

kousu commented 2 years ago

I'm using uMatrix, which is maybe stricter than most adblockers, so maybe I'm an odd-duck out here, but when I migrated the site I tried to reduce the amount of third-party content to just make sure there were as few problems as possible, and also to make sure the site itself is as portable as possible -- it should render the same anywhere no matter whether we're looking at a local build, hosting on a demo site on readthedocs, on github pages, on godaddy, etc.

It actually took me quite a while to extract the PDFs from Slideshare -- since I didn't have the credentials to the Slideshare account. Once I finally found them I was embedding them locally in the site. But IMO the portability win made it worth it.

This arrangement does mean making edits to the PDFs requires three steps: 1. edit; 2. export; 3. upload them here to github under the right _media/ subfolder.

Maybe the edits you want to make to those PDFs could become pages on the site instead?

kousu commented 1 year ago

I just got this error page on the Google Slides version:

Screenshot_20220725_190014

jcohenadad commented 1 year ago

@kousu I've changed the permissions-- is it working now?

kousu commented 1 year ago

Yes, it's back now.

Are you open to the idea of putting the PDFs back? They're more reliable because they make the site self-contained: it would look the same on GitHub Pages, GoDaddy, locally, and from Canada, Iran, China, or Australia, etc.