RFC-001: Event Data Structure & Storage #26
Pinned
ashleemboyer
started this conversation in
RFCs
Replies: 2 comments 1 reply
-
This looks great! I think the data structure needs a bit more defining to it. For instance: id/slug format, datetime format, title/description length recommendations. Just want to set standards so it's scalable. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Great job. I agree that this way of storing the data, instead of storing it in a database, will be easier for onboarding new contributors in the future. I learned something new today -- Open Graph protocol :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1. Summary
Use Markdown files and YAML Front Matter for describing the group's calendar events and store the files in the
website
repository.2. Related Issues / PRs
3. Goals
4. Proposal
4a. Data Structure
To start, Events will need to have the following attributes:
<title>
,<h1>
, and Open Graph title'2024-05-31T17:30:00.000Z'
90
4b. Data Storage
Each Event's data will be stored in a single Markdown file within the website repository.
All attributes except the full description will be stored in the Markdown file's YAML Front Matter. The full description will be stored in the body of the file. This enables the Event pages to easily have rich text content with links, lists, and multiple paragraphs. These have been used in past Event pages on Meetup.com, so we want to make sure to retain that functionality.
5. Alternatives
longDescription
property in a JSON object, but it's not as easy to do so in comparison to writing it in a Markdown file.6. Resources & Terms
a. What is Serialization? | freeCodeCamp
b. Data Serialization | The Hitchhikers's Guide to Python
c. Data Serialization | Devopedia
a. Front Matter | Jekyll
b. Using YAML frontmatter | GitHub
c. Front Matter | DEV Editor Guide
a. Markdown | Daring Fireball
b. What Is Markdown? | Codecademy
c. MarkdownGuide.org
d. Markdown Cheat Sheet | freeCodeCamp
a. The Open Graph protocol
b. What is Open Graph and how can I use it for my website? | freeCodeCamp
c. Open Graph and Twitter Images | Next.js
a. YAML.org
b. What is YAML? The YML File Format | freeCodeCamp
c. What’s the Difference Between YAML and JSON | AWS
Beta Was this translation helpful? Give feedback.
All reactions