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

Press Page Redesign #386

Open
katalinadeaven opened this issue Feb 26, 2025 · 1 comment
Open

Press Page Redesign #386

katalinadeaven opened this issue Feb 26, 2025 · 1 comment
Assignees
Labels

Comments

@katalinadeaven
Copy link

I was thinking we can utilize the tile design we have throughout the site and create something similar to the mapbox in the news section: https://www.mapbox.com/newsroom

Can we pull photos from the preview tiles of the pages we're linking to? We would want text fields for article title, news outlet, and date.

@luukee
Copy link
Contributor

luukee commented Feb 28, 2025

This is excellent to see Kat! Page examples are the best way for us to advance our site, thank you for sharing the mapbox.com link.

When it comes to grabbing photos and preview tiles from websites we're linking to, we run into a bunch of roadblocks. Most sites these days have all sorts of protections in place - they block automated requests, use weird code structures, or just flat-out refuse connections from other domains. Even WordPress's built-in tools struggle with this stuff, which means we'd end up with a pretty broken-looking page design.

I think the best approach is to:

  1. Attempt an embed (paste in the link)
  2. If the embed does not work we use manually pulled content.

More on this coming.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants