Skip to content

Add schema.org Event serializer for Meetings#13406

Merged
alecslupu merged 5 commits intodevelopfrom
feature/schema-org-meetings
Sep 20, 2024
Merged

Add schema.org Event serializer for Meetings#13406
alecslupu merged 5 commits intodevelopfrom
feature/schema-org-meetings

Conversation

@andreslucena
Copy link
Copy Markdown
Member

@andreslucena andreslucena commented Sep 17, 2024

🎩 What? Why?

This PR implements the schema.org Event specification in Meetings, so it's easier for external tools and services (such as Google) to interpret this data.

I followed is in https://developers.google.com/search/docs/appearance/structured-data/event?hl=en

Note that there are a few warnings of optional fields:

  • performer: it does not apply to Decidim use case
  • offers: it does not apply to Decidim use case
  • image: I implemented it but even if I add attachments images, it still gives a warning as the URL is invalid in localhost.

📌 Related Issues

Testing

  1. Create three meetings of different types: in person, online and hybrid
  2. Check out the source code of the page and search for "ld+json"
  3. Copy the code and paste it in the "Rich Results Test": https://search.google.com/test/rich-results

Example of the rich results: https://search.google.com/test/rich-results/result/r%2Fevents?id=xmfa3OtCoI2dlGCPFUnViw

📷 Screenshots

Source code
Rich Results Test
Rich Results Test (details)

♥️ Thank you!

github-actions[bot]
github-actions bot previously approved these changes Sep 17, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 17, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 18, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 18, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 18, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 18, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 19, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 19, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 20, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 20, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 20, 2024
@alecslupu alecslupu added this to the 0.30.0 milestone Sep 20, 2024
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alecslupu alecslupu merged commit 97dc4e5 into develop Sep 20, 2024
@alecslupu alecslupu deleted the feature/schema-org-meetings branch September 20, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

Implement the Event schema.org for Meetings

2 participants