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

Enable link previews #65

Closed
2 tasks done
NfNitLoop opened this issue Jul 28, 2021 · 3 comments
Closed
2 tasks done

Enable link previews #65

NfNitLoop opened this issue Jul 28, 2021 · 3 comments

Comments

@NfNitLoop
Copy link
Owner

NfNitLoop commented Jul 28, 2021

When someone shares a link to a FeoBlog post onto other social networks, it would be nice if they would get a preview.

  • title
  • text
  • any images if attached
  • Fallback image(?)

Seems like stuff uses this Open Graph Protocol https://ogp.me/ to pull that info.

  • Do I want to have a logo as a fallback? OGP seems to require an image. (Create a logo and/or icons #64)
  • Should probably add a "Share" button to copy the correct link, since the /client/#/... links don't actually exist server-side.
@NfNitLoop
Copy link
Owner Author

🧠 ⛈️: Maybe I could fall back to Profile photos (#27) once they exist, and then fall back to identicons. But that would mean I'd need to generate them server-side. I wonder if the identicon library I'm currently is a standard that has been re-implemented in Rust. 🤔

@NfNitLoop
Copy link
Owner Author

Do I want to have a logo as a fallback? OGP seems to require an image.

Yes. I added server-side identicons as a fallback if the post doesn't include any images.

This will be out in 0.6.

@NfNitLoop
Copy link
Owner Author

Released in v0.6.0

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

No branches or pull requests

1 participant