Configure OpenGraph metatags #177
Labels
No labels
A11y
Automated Testing
Contributable
Contributed
Decision
Design
Development
Drutopia
Feature Request
IndieWeb
Infrastructure
Marketing
Needs documentation
status::Abandoned
status::Blocked
status::Deploy
status::Doing
status::Done
status::In Review
status::Needs Clarification
status::Test
status::To Do
type::Bug
type::Task
type::User Story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: agaric/agaric-coop#177
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
Despite the fact that it's technically possible for Facebook and Twitter to properly pull from basic metatags they undermine open protocols by insisting on using OpenGraph. This is an issue to appease the social media giants and give them OpenGraph metadata. 😠
Work Required
changed milestone to %8
mentioned in merge request !52
assigned to @mlncn and unassigned @cedewey
closed via merge request !52
mentioned in commit
a441a260ae
reopened
@mlncn this should stay open until it's deployed. Can you deploy it or assign it to someone who can? Thanks!
@cedewey this is deployed and doing what you expect? I know Twitter has a tool for testing what pages look like to it; does Facebook have a similar tool— could you add them to this issue?
assigned to @cedewey and unassigned @mlncn
marked the checklist item Enable OpenGraph Metatag module as completed
@mlncn not entirely. There are two bugs in the Metatag module.
However, this token does work [node:field_image:entity:url]
changed the description
mentioned in merge request !62
closed via commit
3b7a8b7ff1
closed via merge request !62
mentioned in commit
3b7a8b7ff1
This is at least somewhat working on twitter!
Should we be getting the summary not just the title in there? And/or maybe author names?
@mlncn summary is busted since we're not using the default body field. There's an open issue for this. So for now we need to put in our summary text manually. I did set the site's twitter account as @agaric, but the individual twitter account needs to be filled in manually per each post since authors vary.
It's also worth considering setting up image styles that crop and scale images to match what Twitter wants.
@cedewey I meant aspirationally as far as what we wanted in there, but we wouldn't want to use the summary token but the token for our description anyway, not so long as we have an explicit summary field.
So i'm giving
[node:field_summary]
a try.I was wondering about just putting normal text human names in addition to the summary, i wasn't thinking about twitter handles.
What does setting the site's twitter account do? Ah ok it says it will be added to the bottom of the card. It was not set that i could see but i set it now. There's a separate 'creator' twitter account but that's not so important.
Note that setting up the image style isn't enough — it would just give the same cropping Twitter does — we need to give the editor ability to set the crop or at least the focus for that style, too.
And finally i had meant to reopen this issue when i commented before but actually i think we're done here. Sweet.
marked the checklist item Configure sensible defaults as completed
marked the checklist item Remove [node:summary] default value from description metatags as completed
marked the checklist item Remove [site:name] from title metatag (it makes our page titles too long) as completed
marked the checklist item Update image metatag default value to [node:field_image:entity:url] as completed
mentioned in commit
ff600a4cdb