internetarchive / fatcat-scholar

search interface for scholarly works
https://scholar.archive.org
Other
78 stars 14 forks source link

social "cards" when sharing links #62

Open bnewbold opened 3 years ago

bnewbold commented 3 years ago

At a minimum, should have a short blurb about the site when shared from the home page (with i18n based on lang prefix).

This is implemented via HTML meta tags. IIRC there is a pseudo-standard, but also a bunch of platform-specific tricks and rules. Sigh. Probably show the logo, some description.

For search URLs, could share the same card, or something custom that includes the query string.

For "exact match" search URLs, could show the thumbnail, if one exists?

Related, should try to opt-in to google "search box in search results" thing. I tried to do this with fatcat.wiki but have failed (so far), but it works for "internet archive": https://www.google.com/search?q=internet+archive