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

Add meta image tags (DT-1911) #471

Open
mgiraldo opened this issue Feb 7, 2018 · 5 comments · Fixed by #883
Open

Add meta image tags (DT-1911) #471

mgiraldo opened this issue Feb 7, 2018 · 5 comments · Fixed by #883

Comments

@mgiraldo
Copy link
Contributor

mgiraldo commented Feb 7, 2018

Add og:image, og:image:alt, and twitter:image:alt tags to all pages. This is for social media integration. Details are here: https://digitalpubliclibraryofamerica.atlassian.net/wiki/spaces/TECH/pages/122519660/HTML+Metadata+Tags+for+SEO+and+Social+Media

Creator: Audrey Altman
Reporter: Audrey Altman

@mgiraldo
Copy link
Contributor Author

mgiraldo commented Feb 7, 2018

Open graph requires full URLs (as opposed to relative URLs) so ideally we need a way to manage the base URL of the site without hard-coding it.

By: Audrey Altman

@samanthadpla
Copy link

Hi Team - just making a plug to move this up in priority -- it would be great to even just have the DPLA logo show up on links shared via social media instead of this default grey box/icon (Example tweet: https://twitter.com/dpla/status/1009135030394933249).

Not sure if this is a larger ask, but adding a short content snippet preview would also be great. (Example tweet: https://twitter.com/dpla/status/1007261461671022592)

@mgiraldo
Copy link
Contributor Author

@samanthadpla where do you suggest we take the content snippet? eg: “X characters from post description”

@mgiraldo
Copy link
Contributor Author

gonna use "The Digital Public Library of America brings together the riches of America’s libraries, archives, and museums, and makes them freely available to the world." for now (from Jira: https://digitalpubliclibraryofamerica.atlassian.net/wiki/spaces/TECH/pages/122519660/HTML+Metadata+Tags+for+SEO+and+Social+Media)

@samanthadpla
Copy link

@mgiraldo sorry for delay -- yes, ideally i would have said the except field for blog posts at least.

mgiraldo added a commit that referenced this issue Jun 27, 2018
* 👾 added page metadata image and description for twitter/seo / fixes #471

* 👾 added dpla logo

* 👾 added page description from wp to news/some pro/some about
mgiraldo added a commit that referenced this issue Jun 28, 2018
* 👾 added page metadata image and description for twitter/seo / fixes #471

* 👾 added dpla logo

* 👾 added page description from wp to news/some pro/some about

* 👾 making sure theres a twitter image
@mgiraldo mgiraldo reopened this Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants