-
Notifications
You must be signed in to change notification settings - Fork 1
Post Design
Adam Chao edited this page Dec 16, 2020
·
3 revisions
The Post data type should contain the following fields (not all will be visible to the user)
- Title
- Author
- Timestamp
- Post ID - MUST BE UNIQUE!
- OpenGraph tags
- Points
Link posts inherit base posts and include the additional qualities
- Link destination
- Tags (array)
Text posts inherit base posts but contain no links, only markdown in plaintext
- Tags (array)
- Body
Media posts inherit link posts but include an expando (method tbd)
- Thumbnail link (method tbd)
- Are there any additional post types? The idea is to keep the number of types small so that data storage would be easy. Is something missing?
- Any additional metadata fields missing from any of these types?